I need to get the computername / Servername for the computer where the vfp exe was run from.
I will have a directory where I will be storing pictures. The directory will not change and will be on the computer where the exe is run from. The dir structure will be as follows main directory with the exe and dbc and dbf's under the main directory I will have a picture directory under the main directory. What I want to do is capture the computersname and main directory as soon as the exe is run, store it into a public variable so I can create a unc path to the picture directory to use with the program when need to retreive or store pictures. The computername and main directory will change depending on where the person has installed the system.
Paul
I will have a directory where I will be storing pictures. The directory will not change and will be on the computer where the exe is run from. The dir structure will be as follows main directory with the exe and dbc and dbf's under the main directory I will have a picture directory under the main directory. What I want to do is capture the computersname and main directory as soon as the exe is run, store it into a public variable so I can create a unc path to the picture directory to use with the program when need to retreive or store pictures. The computername and main directory will change depending on where the person has installed the system.
Paul