I have been making an .exe to empty the OLK folder created by outlook
at the minute the folder location is hard written into the code
e.g C:\Documents And Settings\Luke\L ocal Settings
Is it possible to create a string variable and assign it the path based on a registry key so it would work on any pc not just on mine with my login?
the folder name and path can be obtained from HKEY-CURRENT-USER\Software\M icrosoft.......
User Profile
Collapse
-
need to get a path/folder name from the registry
-
yeah thats the problem - ctrl-alt-del and then finding the process is about as much effort as opening the folder manually I'll try that now
thanks -
closing an exe
I haven't really used VB much before to create .exes only in access
I have made an exe that empty's a given folder so i can just click it and erase the contents.
somewhat of an embarrassing problem though, the exe wont stop running without me closing the form but i want the form to be invisible
any help would be gratefully received
No activity results to display
Show More
Leave a comment: