|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Associated File TypeI have a file extension that is associated to my application. Opening
a file with that extension starts my application OK, but how do I get it to start with that selected file open? With thanks Dave >I have a file extension that is associated to my application. Opening If the file association is set up correctly the file name will be>a file with that extension starts my application OK, but how do I get >it to start with that selected file open? passed on the command line. Use a parameterized Main method Shared Sub Main(ByVal CmdArgs As String()) or call System.Environment.GetCommandLineArgs to retrieve the file path. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. Thank you Mattias
You have set me off in the right direction Best regards Dave
VB.NET events creates a hidden delegate, but how do I access it?
Console app no accessible 'Main' method with an app... CurrencyManager Question current function / sub name ? How to use the httpwebrequest with Cookies in "GET" method Cal Dll was written by VC++ in VB why are there still COM controls in VS.Net 2005? receiving data over socket datagridview cell - get row/column info for updating data- how? Converting IP Address as string to MyIP as IPAddress |
|||||||||||||||||||||||