"Diarmuid" <di******@deadspam.com> schrieb:
How would I get the path of my program?
Either add a reference to "System.Windows.Forms.dll" and import the
'System.Windows.Forms' namespace in order to use 'Application.StartupPath'
or use the code below:
\\\
Imports System.IO
Imports System.Reflection
..
..
..
Private Function ApplicationPath() As String
Return _
Path.GetDirectoryName([Assembly].GetEntryAssembly().Location)
End Function
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>