Results 1 to 4 of 4

Thread: [2005] run any type of file

  1. #1

    Thread Starter
    Addicted Member Zaid's Avatar
    Join Date
    Apr 2006
    Posts
    152

    [2005] run any type of file

    hi
    i want code for run any type of file ,,
    i mean code to open any type of file ,, if it is picture it will open in acdsee or it is text it will be open in notepad ,,
    i mean i want like you do double click on it ,,
    i hope you understand me
    thank you

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [2005] run any type of file

    VB Code:
    1. process.start([i]filename here[/i])

    this is basically equal to double clicking the file, it will open it using its default program (ie if notepad is the default for a .txt file, it will open the file in notepad)

  3. #3
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: [2005] run any type of file

    Check out the Process class, mainly .Start

  4. #4

    Thread Starter
    Addicted Member Zaid's Avatar
    Join Date
    Apr 2006
    Posts
    152

    Re: [2005] run any type of file

    thnak you all

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