Application.ExecutablePath not recognisze by studio express 2005

  • Thread starter Thread starter gs
  • Start date Start date
G

gs

I do want the path and the filename of the executable. However, visual
studio .net basic express 2005 rejects
Application.ExecutablePath
Error 1 Name 'Application' is not declared. .....

question what should I import or what prefix I should use?
 
I think I got around the problem with

appPathFn = My.Application.Info.DirectoryPath & "\" &
My.Application.Info.AssemblyName

I hope there is a simpler way.
 
gs,

Please don't restart your questions in new threads, this is misleading for
those who try to help you, while it is very bad for searching this
newsgroup. It seems than if threads are not completely answered.

Thanks in advance.

Cor
 
Back
Top