DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Load a document into the Main form

  1. #1
    Keflavik Guest

    Load a document into the Main form


    How do you load a document into the main form as the program first starts
    up. This would not involve a click to open process...

    Thx.. K

  2. #2
    Jonathan Wood Guest

    Re: Load a document into the Main form

    Why not just do it from the form's Load event?

    --
    Jonathan Wood
    SoftCircuits Programming
    http://www.softcircuits.com
    Keflavik <arclemons@excel.com> wrote in message
    news:3960bebf$1@news.devx.com...
    >
    > How do you load a document into the main form as the program first starts
    > up. This would not involve a click to open process...
    >
    > Thx.. K




  3. #3
    Jonathan Wood Guest

    Re: Load a document into the Main form

    Why not just do it from the form's Load event?

    --
    Jonathan Wood
    SoftCircuits Programming
    http://www.softcircuits.com
    Keflavik <arclemons@excel.com> wrote in message
    news:3960bebf$1@news.devx.com...
    >
    > How do you load a document into the main form as the program first starts
    > up. This would not involve a click to open process...
    >
    > Thx.. K




  4. #4
    Scott Stanaland Guest

    Re: Load a document into the Main form

    Keflavik

    You need to pass the the path of the file you want to open on the
    command line.

    in the form load event use the command() function to retrieve the
    command line
    parameters.

    HTH

    Scott



    Keflavik <arclemons@excel.com> wrote in message
    news:3960bebf$1@news.devx.com...
    >
    > How do you load a document into the main form as the program first starts
    > up. This would not involve a click to open process...
    >
    > Thx.. K




  5. #5
    Scott Stanaland Guest

    Re: Load a document into the Main form

    Keflavik

    You need to pass the the path of the file you want to open on the
    command line.

    in the form load event use the command() function to retrieve the
    command line
    parameters.

    HTH

    Scott



    Keflavik <arclemons@excel.com> wrote in message
    news:3960bebf$1@news.devx.com...
    >
    > How do you load a document into the main form as the program first starts
    > up. This would not involve a click to open process...
    >
    > Thx.. K




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