i want attach a specified filetype to my own program. so if i doubleclick on a file from that type, it should open my program, an i should be able to use the content of that file in my program
How can I do this? please help me
Printable View
i want attach a specified filetype to my own program. so if i doubleclick on a file from that type, it should open my program, an i should be able to use the content of that file in my program
How can I do this? please help me
I think *scratches head* that you set your file association during the Installation process (eg with Wise or Installshield). Havent had to do this yet but maybe there is another way.
do you mean just YOU want to be able to do it on your machine or do you mean that you want users of your distributed app to be able to do it? If distributed, then beachbum has it right. if just YOU, then use windows explorer to set the file type association on your pc.
Thanks already guys, I can already use some of your stuff
But what I also wanted to know is: If File1.rob is a file that is attached to my program and I open that File, then it opens my program. But how can the program know that it is opened by doubleclicking on that file, and not on another file or that the program itsself has been opened?
I just need the path of the file which opened the prgram.
can you also help me with that? :(
Private Sub Form_Load()
MsgBox Command$
End Sub
Command will return the path
thanks, I'll try that.