Here is the situation...
I have stored a AVI / MPG File Name in a SQL Column... Upon retrieval of the File name from the database and subsequent storage of the path and File into a String Variable, I would like to open the file in the media player that has been set as the default for the PC running the VB.NET windows application.
What would be the VB.NET Code to open the file in the default media player? In effect the same thing that happens when you double click the file in an explorer window...
I think I could open the file with a shell command supplying windows media player as the chosen application, but this would limit my options to windows media player and require the exact location of the media player application...
Any Help is Greatly Appreciated... Thanks!!!
I have stored a AVI / MPG File Name in a SQL Column... Upon retrieval of the File name from the database and subsequent storage of the path and File into a String Variable, I would like to open the file in the media player that has been set as the default for the PC running the VB.NET windows application.
What would be the VB.NET Code to open the file in the default media player? In effect the same thing that happens when you double click the file in an explorer window...
I think I could open the file with a shell command supplying windows media player as the chosen application, but this would limit my options to windows media player and require the exact location of the media player application...
Any Help is Greatly Appreciated... Thanks!!!