run programme

  • Thread starter Thread starter FERHAT AÇICI
  • Start date Start date
F

FERHAT AÇICI

hi everyone...I want to run any programme or file with my
programme.example any file or programme, like this "xxx.ncn".I want If
users double click this xxx.ncn this file can run by my
programme.please help!!!!
 
hi everyone...I want to run any programme or file with my
programme.example any file or programme, like this "xxx.ncn".I want If
users double click this xxx.ncn this file can run by my
programme.please help!!!!

Hi Ferhat,
I've asked the same thing in a post and that helped:

http://groups.google.com/group/micr...read/thread/7b550a154ca711a0#586c82d053334a98

You need to use command line arguments to have the path of file:

Put this code inside your form1_load event, Sample code:

Dim cla As String() = Environment.GetCommandLineArgs()


' Do what you want, eg: show path in msgbox
Msgbox(cla(0))
 
Hi,

read the last sentence he wrote. He wants to open his application
when a user clicks on a specific file that is registered with his
application. Your exampe just fetchs the command lines given
with the application,...

Regards

Kerem

--
 
Hi,

read the last sentence he wrote. He wants to open his application
when a user clicks on a specific file that is registered with his
application. Your exampe just fetchs the command lines given
with the application,...

Regards

Kerem

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space:http://kerem-g.spaces.live.com/
Latest Open-Source Projects:http://entwicklung.junetz.de

Kerem Bey Bilgilendirmeniz Ýçin Çok Teþekkür
Ederim...Saygýlarýmla...FERHAT AÇICI
 
Sayin Ferhat Bey,

bir þey deðil...

Please write/answer in english, due this is a
english newsgroup,...


Kind Regards

Kerem


--
 
Back
Top