VB6 Equivalent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • romcab
    New Member
    • Sep 2007
    • 108

    VB6 Equivalent

    Hi guys,

    I have an application created in VB.NET but I have to rewrite it on VB6. This is my first time to use VB so I don't have an idea what are the equivalent of the object below in VB6.

    1) MenuStrip
    2) openfiledialog
    3) richtextbox
    4) reading a file per line
    5) sockets

    Hope you can help me guys.
    Last edited by Killer42; Nov 29 '07, 12:22 AM.
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    2) openfiledialog - Use FilesystemObjec t and/or the MS Common Dialog control
    3) richtextbox - Same
    4) reading a file per line - What is the question?

    Comment

    • romcab
      New Member
      • Sep 2007
      • 108

      #3
      Originally posted by Killer42
      2) openfiledialog - Use FilesystemObjec t and/or the MS Common Dialog control
      3) richtextbox - Same
      4) reading a file per line - What is the question?
      Hi,

      Thanks...I already solved reading a file. Can you show me simple example of MS Common Dialog control or FileSystemObje? I tried common dialog control but it doesnt work.

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by romcab
        Thanks...I already solved reading a file. Can you show me simple example of MS Common Dialog control or FileSystemObje? I tried common dialog control but it doesnt work.
        Have a look at http://www.thescripts.com/forum/thread697284.html.

        As for Common Dialogue control, sorry I don't have time to come up with a sample right now. I hope someone else can.

        Comment

        • romcab
          New Member
          • Sep 2007
          • 108

          #5
          Originally posted by Killer42
          Have a look at http://www.thescripts.com/forum/thread697284.html.

          As for Common Dialogue control, sorry I don't have time to come up with a sample right now. I hope someone else can.
          Thanks,

          I was able to create and use FileSystemObjec t but unlike OpenFileDialog it does not show a dialog box which contains the files? Is there a way to do this? Any idea?

          Comment

          • Killer42
            Recognized Expert Expert
            • Oct 2006
            • 8429

            #6
            Originally posted by romcab
            Thanks,

            I was able to create and use FileSystemObjec t but unlike OpenFileDialog it does not show a dialog box which contains the files? Is there a way to do this? Any idea?
            FilesystemObjec t is just an object you use in your code to work with the file system. The Common Dialog control is the one which gives you access to the Windows common dialogues (such as colour selection, file selection, printer selection, etc.)

            Comment

            Working...