DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2005

    Typical File open, file save, etc in VB

    I am just getting into VB and I am used to programming in C++.

    Visual C has a class called CFileOpen for handling the selection of a file on the hard drive for opening and reading and closing.

    Do I have to do all that from scratch in VB? Do I have create my own form that mirrors the one you see when a user wants to open a file?

  2. #2
    Join Date
    Nov 2003
    Alameda, CA
    Press Ctrl+T to open the Components dialog. In the list, select

    Microsoft Common Dialog 6.0 (SP3)

    or whatever service pack you have. Drop the control in your form and use the ShowOpen or ShowSave methods to display the standard file dialog

    "There are two ways to write error-free programs. Only the third one works."

Similar Threads

  1. Save Image to Field
    By Chicho in forum VB Classic
    Replies: 11
    Last Post: 10-01-2003, 12:00 AM
  2. Open a file in Altris EB from MS Excel in VB
    By Joel in forum VB Classic
    Replies: 0
    Last Post: 12-05-2002, 08:27 PM
  3. Replies: 1
    Last Post: 06-20-2002, 11:33 AM
  4. Replies: 3
    Last Post: 08-04-2000, 06:07 AM
  5. An Open Source VB?
    By Mark Alexander Bertenshaw in forum Talk to the Editors
    Replies: 20
    Last Post: 07-25-2000, 12:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.