|
-
Aug 10th, 2002, 02:51 AM
#1
Thread Starter
Fanatic Member
files
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
-
Aug 10th, 2002, 03:08 AM
#2
PowerPoster
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.
-
Aug 10th, 2002, 06:08 AM
#3
PowerPoster
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.
-
Aug 10th, 2002, 06:42 AM
#4
-
Aug 10th, 2002, 02:23 PM
#5
Thread Starter
Fanatic Member
thanks but I need more
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?
-
Aug 10th, 2002, 02:25 PM
#6
The picture isn't missing
Private Sub Form_Load()
MsgBox Command$
End Sub
Command will return the path
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Aug 10th, 2002, 02:26 PM
#7
Thread Starter
Fanatic Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|