Asim Zia

Asim Zia

  • NA
  • 3
  • 0

My.Application.Info.Directorypath wrong path

Apr 16 2007 10:10 AM
Hi there ,

I have used app.path in VB6.0 and it gives me exact location of my VB Application that is on client pc normally it is C:\Program Files\ProductName and on my PC it is C:\Development\VB.
Using VS 2005 (VB) i am getting this kind of path :

C:\Documents and Settings\azia\Local Settings\Application Data\assembly\dl3\30YRGKJ9.HZC\74ELH8JC.ZZX\2722e3ac\e67c828d_2b80c701


and my application is trying to find a particular file and obviously it won't be able to find this file in there.

and i actually wanted to get the exact location of the VB application (VS2005)

can anyone please help me in order to provide the similar thing like app.path (VB 6.0) in VB.NET

Thanks,
Asim.