File association?

Hercules
09-07-2003, 06:36 PM
I know how to associate the file type with my software... but how do I get my program to recognize that a file type has called it? So let's say I made a text editor, and when you open a text file, it launches my program. The text file should be open inside it, right? How do I make that happen?

Thanks!

manavo
09-07-2003, 06:45 PM
After you create the file association you need to check in the form_load event the value of Command$. If a file association exists for your program then the filepath will be in Command$. For creating the file association look here : http://www.visualbasicforum.com/search.php?searchid=289845

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum