-
Aug 11th, 2020, 04:46 AM
#1
Thread Starter
New Member
How to save My.Settings even when the exe application is copied
Using My.Settings I made some buttons disabled if my exe application was used 100 times.
This works well but if the user copies the exe file again, he can reuse the application 100 times.
How to prevent it?
How to save My.Settings even when the application is copied?
-
Aug 11th, 2020, 05:00 AM
#2
Re: How to save My.Settings even when the exe application is copied
There is no way. User-scoped setting are stored in an XML file under the user's personal folder. They don't even need to copy the EXE; they can just delete that file. If you want to implement a trial version of your app or the like then use technology that was designed for that purpose, which My.Settings is not.
-
Aug 11th, 2020, 08:39 AM
#3
Thread Starter
New Member
Re: How to save My.Settings even when the exe application is copied
OK.
Is there any reliable open-source trial project in vb.net (for exe that can be used limited times, or something similar) that is available, even if it is not free of charge?
I'm probably not the first to need it.
To simplify, if the user successfully passes the trial form, then Form2 opens where my code is added.
-
Aug 11th, 2020, 08:49 AM
#4
Re: How to save My.Settings even when the exe application is copied
Use registry key or file placed somewhere in \Windows subdirectories to save the information you need. You may set hidden attribute of the file so regular users can't "see" it with default file explorer settings.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|