Open with

SphinCorp

Member
Joined
Jun 8, 2008
Messages
5
Programming Experience
1-3
Not sure where to post this so here goes:
I need to have way to open a filetype with my program.
(if they double click on a .wap file it opens my app and runs the sub funct_call, after setting com to :
call filename.wap
 
You have to register the extension in registry. This can be done with Setup project (not ClickOnce) or by setting the registry keys through code. When such file is doubleclicked you get the path from My.Application.CommandLineArgs or Environment.GetCommandLineArgs.
 
hmm...
it always gives system.collections.objectmodel.readonlycollection'1[system.string]
can you post some example code to use this??
 
Back
Top