-
I need to write a module that will register my application as securely as possible. Once downloaded the application goes back to the web to authorise itself, and if successful must store the fact that it is now registered internally such that noone can (easily) edit it. Can VB modify its object code in such a fashion? Can anyone tell me how, or point me somewhere where there are more resources? Regards, James.
-
In short, VB cannot modify its own code.
But one thing you might want to consider (and this is just a brainstorm right off the top of my head) is that you compile a DLL that contains your registration parts in... then when you connect to the web and register your application uses the INet control to download a "registered" version of that DLL to replace the existing one....
OR
Your program can only do so much without a specific DLL that is only downloaded when you register online.
Other than that the only options you have available to you are resource files inside VB, using the registry or an ini file. Plenty of resources on the web regarding those.