CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: vb setup

  1. #1
    Join Date
    Sep 2007
    Posts
    5

    vb setup

    hi all,

    i want to know how to make a vb application setup that will run/install only time.
    if some one try to install again in same pc or another pc it will not run.

    thanks

  2. #2
    Join Date
    Aug 2000
    Location
    Essex, Uk
    Posts
    1,214

    Re: vb setup

    Have a look at this link and follow it through. Hopefully this will get you started. An entry in the registry or an ini file would be an easy way to go.

    http://visualbasic.freetutes.com/lea...n%27s-dep-file
    If you find my answers helpful, dont forget to rate me

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: vb setup

    That can be very hard to do. If someone wants to break it, there is usually a way.

    Your program can write a file somewhere, and look for it, or write a date in the registry.

    The other way is thru hacking the code. VB6 isn't real secure anyways.

    You could have it phone home, and check your site to authenticate installs.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Tags for this Thread

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

Featured