Results 1 to 2 of 2

Thread: Software registration - self modifying code

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2000
    Location
    Christchurch, New Zealand
    Posts
    10
    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.
    Network Solution Provider

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    461
    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width