How to start An Unassosiated Process??


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to start An Unassosiated Process??

  1. #1
    Join Date
    Aug 2006
    Posts
    84

    How to start An Unassosiated Process??

    Hi friends, i know how to start a process which is assosiated with some application. But can any one tell me if some file is not assosiated with any application then how to display the open with dialogbox and let the user choose the application and then run with that application??? Can any one please guide me in this.... Thanks In Advance....

  2. #2
    Join Date
    Sep 2007
    Posts
    86
    Hello,

    You could simply use the OpenFileDialog API to provide a box to select the process.

    Then you can use Process.Start API to launch the application.


    John Wiese
    ISV Architect Evangelist - Microsoft
    http://blogs.msdn.com/usisvde

Similar Threads

  1. Windowless process
    By dariomac in forum .NET
    Replies: 5
    Last Post: 05-31-2007, 08:42 PM
  2. Getting results from a Process in VB.NET
    By ecaslake in forum .NET
    Replies: 6
    Last Post: 04-20-2005, 10:23 AM
  3. Turn InStr(w, x, y, z) into InStr(w, x1, y1, vbBinaryCompare) ?
    By Joe \Nuke Me Xemu\ Foster in forum VB Classic
    Replies: 8
    Last Post: 12-21-2001, 07:21 PM
  4. help memory
    By kathy in forum Java
    Replies: 0
    Last Post: 11-02-2001, 04:22 PM
  5. Replies: 5
    Last Post: 07-07-2000, 02:04 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
 
 
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