PC Review


Reply
Thread Tools Rate Thread

App First Run Issue

 
 
Michael O'S
Guest
Posts: n/a
 
      23rd Nov 2004
Hello,
I have seen applications that run a "special" program when they are run for
the first time. I need to allow the user to choose a file location the
FIRST time they run the app. I am not sure how to do this. Any help would
be greatly appreciated!
Michael


 
Reply With Quote
 
 
 
 
Doug Bell
Guest
Posts: n/a
 
      24th Nov 2004
Hi Michael,
You could write a key to the registry after the "RunOnce" Application has
been run.
So when you start, check the registry, if no entry then run your App, if you
have an entry then then just continue.

Doug

"Michael O'S" <(E-Mail Removed)> wrote in message
news:O4Qod.27160$(E-Mail Removed)...
> Hello,
> I have seen applications that run a "special" program when they are run

for
> the first time. I need to allow the user to choose a file location the
> FIRST time they run the app. I am not sure how to do this. Any help

would
> be greatly appreciated!
> Michael
>
>



 
Reply With Quote
 
Hal Rosser
Guest
Posts: n/a
 
      24th Nov 2004
You can do as Doug said - or - have the program check if a file (you name
it) exists on startup
if the file does not exist run the special part of the program - then have
the program to create the file.
the next time it runs, the file will exist and so it will skip the special
program

"Michael O'S" <(E-Mail Removed)> wrote in message
news:O4Qod.27160$(E-Mail Removed)...
> Hello,
> I have seen applications that run a "special" program when they are run

for
> the first time. I need to allow the user to choose a file location the
> FIRST time they run the app. I am not sure how to do this. Any help

would
> be greatly appreciated!
> Michael
>
>



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.799 / Virus Database: 543 - Release Date: 11/19/2004


 
Reply With Quote
 
Michael O'S
Guest
Posts: n/a
 
      24th Nov 2004
Thanks! I knew it would be something simple! I kept trying to make it
harder than it really is!
Michael
"Doug Bell" <dug@bigpond> wrote in message
news:(E-Mail Removed)...
> Hi Michael,
> You could write a key to the registry after the "RunOnce" Application has
> been run.
> So when you start, check the registry, if no entry then run your App, if
> you
> have an entry then then just continue.
>
> Doug
>
> "Michael O'S" <(E-Mail Removed)> wrote in message
> news:O4Qod.27160$(E-Mail Removed)...
>> Hello,
>> I have seen applications that run a "special" program when they are run

> for
>> the first time. I need to allow the user to choose a file location the
>> FIRST time they run the app. I am not sure how to do this. Any help

> would
>> be greatly appreciated!
>> Michael
>>
>>

>
>



 
Reply With Quote
 
Michael O'S
Guest
Posts: n/a
 
      24th Nov 2004
Thanks! I knew it would be something simple! I kept trying to make it
harder than it really is!
Michael
"Hal Rosser" <(E-Mail Removed)> wrote in message
news:feSod.50649$(E-Mail Removed)...
> You can do as Doug said - or - have the program check if a file (you name
> it) exists on startup
> if the file does not exist run the special part of the program - then have
> the program to create the file.
> the next time it runs, the file will exist and so it will skip the special
> program
>
> "Michael O'S" <(E-Mail Removed)> wrote in message
> news:O4Qod.27160$(E-Mail Removed)...
>> Hello,
>> I have seen applications that run a "special" program when they are run

> for
>> the first time. I need to allow the user to choose a file location the
>> FIRST time they run the app. I am not sure how to do this. Any help

> would
>> be greatly appreciated!
>> Michael
>>
>>

>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.799 / Virus Database: 543 - Release Date: 11/19/2004
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless issue? DNS issue? MS Update issue? WORLDe Windows XP General 1 14th Jan 2009 10:47 PM
Outlook 2007 issue on Windows Vista - Exchange connection issue NA Microsoft Outlook Installation 5 3rd Sep 2008 07:28 AM
Windows Vista mouse issue.. Possibly ease of use type issue? Malakie Windows Vista Hardware 0 10th Jul 2008 10:30 PM
[New Issue] Home Computer Magazine - Issue 06 - April 2005 Mel Freeware 5 5th May 2005 06:09 PM
Is my case a Network Issue or database optimization issue -- which one to assign more significance? Avi Microsoft Windows 2000 Networking 0 14th May 2004 05:17 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:01 PM.