Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opening a file in my application from File Explorer

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?

like image 571
Dillie-O Avatar asked Nov 05 '22 23:11

Dillie-O


1 Answers

Try this article but short answer is My.Application.CommandLineArgs

like image 62
JamesSugrue Avatar answered Nov 14 '22 23:11

JamesSugrue