I just need to know how from code i can get the current path of the current app (sorta like me.path) and also how to get the current version of windows that the program is running under (winnt or win98 etc..)
Printable View
I just need to know how from code i can get the current path of the current app (sorta like me.path) and also how to get the current version of windows that the program is running under (winnt or win98 etc..)
To get the current path it's just app.path
I am not sure about how to get the OS version though
sorry.
~goddess
Here is a link to a good class module to get the OS version.
http://www.freevbcode.com/ShowCode.Asp?ID=986
Goddess is right on the app path.
Do it like this:
dim strAppPath as string
'get The Application Path
strAppPath = App.Path