DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How to load an external file

  1. #1
    Conor Pollock Guest

    How to load an external file


    I want to be able to load an external file, but I want the load to look like
    that of a microsoft program load (i.e. Notepad) If someone can email me on
    how to do this, I would be a very happy person. Thanks.


  2. #2
    Robert Gelb Guest

    Re: How to load an external file

    This cannot be done in VB.

    --
    Robert Gelb

    "Conor Pollock" <012463@appleby.on.ca> wrote in message
    news:38fd1f55$1@news.devx.com...
    >
    > I want to be able to load an external file, but I want the load to look

    like
    > that of a microsoft program load (i.e. Notepad) If someone can email me on
    > how to do this, I would be a very happy person. Thanks.
    >




  3. #3
    Robert Gelb Guest

    Re: How to load an external file

    Just kidding. Look up Common Dialog control samples that come with VB and
    also tons of them on the MS Knowledge base. Here is a quicky:

    with CommonDialog1
    .CancelError = true
    on error resume next
    .ShowOpen
    if err = 0 then
    'user selected a file
    msgbox .FileName
    else
    'user pressed cancel
    end if
    end with

    --
    Robert Gelb

    "Robert Gelb" <robertgelbNOSPAMFORME@zdnetonebox.com> wrote in message
    news:38fd474d$1@news.devx.com...
    > This cannot be done in VB.
    >
    > --
    > Robert Gelb
    >
    > "Conor Pollock" <012463@appleby.on.ca> wrote in message
    > news:38fd1f55$1@news.devx.com...
    > >
    > > I want to be able to load an external file, but I want the load to look

    > like
    > > that of a microsoft program load (i.e. Notepad) If someone can email me

    on
    > > how to do this, I would be a very happy person. Thanks.
    > >

    >
    >




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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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