Can someone explain...

VB Program Runonce

Page 1 of 1

3 Replies - 530 Views - Last Post: 23 November 2008 - 07:03 PM Rate Topic: -----

#1 Jaalenn  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 1
  • View blog
  • Posts: 105
  • Joined: 17-November 08

Can someone explain...

Posted 23 November 2008 - 11:15 AM

Does anyone have any idea on how to write a Runonce code for program startup? I am wanting a disclaimer to popup the first time they use the program, but never again. I've hit a proverbial wall on this one. I can't seem to find an answer anywhere else and yes, I did search the forum before asking this.
Is This A Good Question/Topic? 0
  • +

Replies To: Can someone explain...

#2 jens  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 67
  • View blog
  • Posts: 430
  • Joined: 09-May 08

Re: Can someone explain...

Posted 23 November 2008 - 03:40 PM

I don't have a solution, but maybe a cople of ideas.
1) Write a file in the apps directory first time it runs and check for it later.
2) Write somthing to the registry the first time...
/Jens
Was This Post Helpful? 0
  • +
  • -

#3 Jaalenn  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 1
  • View blog
  • Posts: 105
  • Joined: 17-November 08

Re: Can someone explain...

Posted 23 November 2008 - 05:17 PM

Thanks a lot Jens. I'll try that out and let you know how it worked.
Was This Post Helpful? 0
  • +
  • -

#4 thava  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 180
  • View blog
  • Posts: 1,606
  • Joined: 17-April 07

Re: Can someone explain...

Posted 23 November 2008 - 07:03 PM

make a file and encrypt your counter and write the file with out the file you cant run your program

go to code project there you find the self destroying exe
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1