hi,
I am trying to make my vb program find the path of the msn messenger application (I want this to be done automatically on which ever computer it is downloaded).
The code I use is returning the wrong path: that of the vb executable itself.
Here's my code:
Dim fso
Dim newpath As String
Set fso = CreateObject("Scripting.FileSystemObject"
newpath = fso.GetAbsolutePathName("MSNMSGR.EXE"
Print newpath 'to check if it's working
any suggestions?
Thanks
Hala
I am trying to make my vb program find the path of the msn messenger application (I want this to be done automatically on which ever computer it is downloaded).
The code I use is returning the wrong path: that of the vb executable itself.
Here's my code:
Dim fso
Dim newpath As String
Set fso = CreateObject("Scripting.FileSystemObject"
newpath = fso.GetAbsolutePathName("MSNMSGR.EXE"
Print newpath 'to check if it's working
any suggestions?
Thanks
Hala