Opening a file in my application from File Explorer

Question :

Opening a file in my application from File Explorer,

Answer :

I’ve created my own application in VB.NET that saves its documents into a file with it’s own custom extension (.eds).

Assuming that I’ve properly associated the file extension with my application, how do I actually handle the processing of the selected file within my application when I double click on the file in File Explorer?

Do I grab an argsc/argsv variable in my Application.Load() method or is it something else?

,

Try but short answer is My.Application.CommandLineArgs

That’s the answer Opening a file in my application from File Explorer, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Read More  Is there an ASP.NET pagination control (Not MVC)?

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you