Open my app from an associated file

  • Thread starter Thread starter Doug Bell
  • Start date Start date
D

Doug Bell

Hi,
Recently I asked how to write code to open an App from its associated file.
I got assistance from Ken show me the Process.Start command.

I would now like to start the App that I have built from its associated file
type.

Could someone advise me on how I make my App aware of the specific
(associated) file that has started it.

Thanks

Doug
 
Doug Bell said:
Recently I asked how to write code to open an App from its associated
file.
I got assistance from Ken show me the Process.Start command.

I would now like to start the App that I have built from its associated
file
type.

Could someone advise me on how I make my App aware of the specific
(associated) file that has started it.

\\\
Public Module Program
Public Function Main(ByVal Args() As String) As Integer
For Each Arg As String In Args
MsgBox(Arg)
Next Arg
Application.Run(...)
End Function
End Module
///

Select 'Sub Main' as startup object in the project properties.
 
Back
Top