Open a file associated with a VB Application

MrBoo

New member
Joined
Sep 18, 2013
Messages
2
Programming Experience
10+
Hello, Duayne here.
I can usually find what I am looking for by searching, but haven't been able to find this one. I have a VB.net 2005 application designed to handle MP3 files. I would like to be able to associate this application with the MP3 extension and play the MP3 with the app from Windows explorer. The difficult part is the app is already running and I do not want to open a new session. I want the currently loaded app to process the external request. I know it is possible, as most music players are able to do this very thing. Any help would be appreciated!

Thanks!

PS, I now see there is a VB.NET forum. Please move this if that is a more appropriate place.
 
Last edited:
Set your app as "single instance" in project properties, and handle application StartupNextInstance Event where you read e.CommandLine to get the path and process it in your app.
 
Back
Top