Results 1 to 6 of 6

Thread: [RESOLVED] Open multiple files into MDI application from Windows Explorer

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2006
    Location
    London, UK
    Posts
    816

    Resolved [RESOLVED] Open multiple files into MDI application from Windows Explorer

    Is it possible to select a number of files in windows explorer that have a common associated extension and have them all open into a single MDI application?

    Currently each of the files opens into a seperate instance of the application.

    Edit: forgot to mention that the application is built in VB6 if that makes any difference.
    Last edited by sgrya1; Nov 8th, 2008 at 01:15 PM.

  2. #2
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,123

    Re: Open multiple files into MDI application from Windows Explorer

    What kind of file are we talking about here?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2006
    Location
    London, UK
    Posts
    816

    Re: Open multiple files into MDI application from Windows Explorer

    Hi dee-u.
    They are just a text files with extensions that have an association with the app.

  4. #4
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,123

    Re: Open multiple files into MDI application from Windows Explorer

    I'd think they can be fitted with an MDI or perhaps using one form where you could just instantiate per file...
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2006
    Location
    London, UK
    Posts
    816

    Re: Open multiple files into MDI application from Windows Explorer

    I found this page which seems to be in the right direction but it's all new to me.

    Somehow I need to tell the existing instance the path of the new txt file and ask it to load it somehow.

    Anyone with experience in doing this?

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Sep 2006
    Location
    London, UK
    Posts
    816

    Re: Open multiple files into MDI application from Windows Explorer

    Sorry. The answer seems to be there.
    Checking for a prev instance.
    "Poking" the new filename into a textbox in the prev instance which has a .change event to trigger a new form.
    Closing the new instance.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width