Archived

This topic is now archived and is closed to further replies.

.NET how do I load a custom file?

This topic is 5010 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, I have written a program in .NET and am now stuck on using the deployment solution. When a user double clicks on one of my custom files I want my program to launch and load it in. I have created an association in the FileTypes section. But it looks like I have to set a verb to get the program to load it in. At the moment the application starts but doesn''t load the file. I have a function LoadLevel(String filename) which is the one I want to use. Does anyone know how to start this function with the specified filename in this FileType editor? Cheers DRb2k2

Share this post


Link to post
Share on other sites
Cheers Arild,
Have found this little nugget though

Dim Command As String = Microsoft.VisualBasic.Command()

when this is put in Main() it gets the arguments
Cheers
DRb2k2

Share this post


Link to post
Share on other sites