Help with VB4 Savesetting in Win95 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 
Author Message
 Help with VB4 Savesetting in Win95 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Can anyone tell me how I can ave the date of when somebody registers my prog
to a label caption using the save setting command in the windows 95 registry

e.g. this code in form unload

dim strdate as string
strdate = date
savesetting "appname", "startup", "date", strdate

then this code in form load
dim strx as string
strx = getsetting("appname", "startup", "date", date)
label1.caption = strx

the label.caption = strx makes the label say the last recorded date. the
trouble is every day the program in loaded and unloaded the date is put into
the label! and I want the very first recorded date to be in the labels
caption permanently! how can i accomplish this?!

any help is welcome!?

Thanks in advance




Thu, 17 Aug 2000 03:00:00 GMT  
 Help with VB4 Savesetting in Win95 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



Quote:
>dim strdate as string
>strdate = date
>savesetting "appname", "startup", "date", strdate

>then this code in form load
>dim strx as string
>strx = getsetting("appname", "startup", "date", date)
>label1.caption = strx

I don';t use the SaveSetting & getSetting but I can tell you why your
label is every day the current date: you have mistyped it

Quote:
>strx = getsetting("appname", "startup", "date", date)

strx = getsetting("appname", "startup", "date", strdate)

gr. walther

http://pi1438.kub.nl:2080/Frankrijk/



Fri, 18 Aug 2000 03:00:00 GMT  
 Help with VB4 Savesetting in Win95 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Check to see If it is populated first

Quote:

>Can anyone tell me how I can ave the date of when somebody registers my
prog
>to a label caption using the save setting command in the windows 95
registry

>e.g. this code in form unload

>dim strdate as string
>strdate = date
>savesetting "appname", "startup", "date", strdate

>then this code in form load
>dim strx as string
>strx = getsetting("appname", "startup", "date", date)
>label1.caption = strx

>the label.caption = strx makes the label say the last recorded date. the
>trouble is every day the program in loaded and unloaded the date is put
into
>the label! and I want the very first recorded date to be in the labels
>caption permanently! how can i accomplish this?!

>any help is welcome!?

>Thanks in advance





Sat, 19 Aug 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. help,help,help,help,help,help,help,help,help,help,help,help,help,

2. DIRE NEED OF HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

3. HELP!!!!!!!!!!!!!!!HELP!!!!!!!!!!!!!!!!!!HELP!!!!!!!!!!!!!!!!!!!!HELP!!!!!!!!!!!!!!!!!!!!

4. VB4/16-bit and SaveSetting

5. VB4 SaveSetting into Registry

6. SaveSetting in VB4.0 (16-bit)

7. Help,Help,Help,Help,Help,Help,Help,Help,Help,Help,Help,Help,Help,Help,Help,Help,Help,Help,

8. Formatting Submitted Text HELP PLEASE URGENT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

9. HIDDEN FILE....PS..................................................................................................

10. HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

11. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!ATTENTION!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

 
Powered by phpBB® Forum Software