Re: Get Application Folder
how about using App.Path?
This variable contains the complete path to the folder where your exe file resides in.
Re: Get Application Folder
App.Path I imagine would return the full path. This would always be different depending on where the user installs the Client. The app folder would always be the same, ie Carbon Street BBS.
What I am trying to do is create a simple Anti-Theft code. Once my app is downloaded to the client, it would not be hard for another sysop to use the exe file. But then it would be downloaded from their server to their BBS folder under the client dir and not execute since their working folder would not compare to my hard coded BBS folder.
Thanks,
Phil