\\\
Imports System.IO
Imports System.Reflection
..
..
..
Private Function ApplicationPath() As String
Return _
Path.GetDirectoryName([Assembly].GetExecutingAssembly().Location)
End Function
///
Thank you for the code snippet there. That will be something I will play
around with tonight.
Speaking of dll's have you tried loading a dll remotely into a windows form
application? I thought this might be the answer to some "theft" issues I was
dealing with but it seems the framework strips the permissions of a dll
loaded in this manner rendering it pretty powerless.