Results 1 to 40 of 40

Thread: tell how many times app is run (resolved)

Hybrid View

  1. #1
    Fanatic Member space_monkey's Avatar
    Join Date
    Apr 2005
    Location
    神と歩くこと
    Posts
    573

    Re: tell how many times app is run

    You'd probably have to store that information outside of your program in a text file or better the registry.
    Using VB6 or VB.net 2008 with .net 3.5
    "Life... death... either way I'll be confined to a small cubicle!" - Hermes Conrad

  2. #2

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: tell how many times app is run

    that's what i was also thinking but i was hopping there was another way thanks anyway

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: tell how many times app is run

    Quote Originally Posted by space_monkey
    You'd probably have to store that information outside of your program in a text file or better the registry.
    A text file would be too easy to delete or modify, so I'd go with the registry.

    Of course, each time your program ran, it would have to read this information and make a determination on whether it should continue. This would require that you have some limit hardcoded into your FormLoad event with which it can make a comparison.

  4. #4

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: tell how many times app is run

    thanks for the input guys. [LGS]Static, the code worked perfect thank you

  5. #5
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: tell how many times app is run

    Quote Originally Posted by dark_shadow
    thanks for the input guys. [LGS]Static, the code worked perfect thank you
    Is this for a demo of a program that you hope to market and sell?

    If so, good luck!

  6. #6

    Thread Starter
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: tell how many times app is run

    i dunno yet the thing is that when i give my freinds any little prog i make i tell then not 2 go and give it 2 people and what do they do ...they give it 2 people so its kinda a security that after so many times it will stop working and they will have 2 talk me about it

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