What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Skype & Live Messenger » Custom Name Back Up (Made a progy)

Custom Name Back Up (Made a progy)
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. RE: RE: Custom Name Back Up (Made a progy)
quote:
Originally posted by Huuf
Private Function progy_load()
z = GetSetting("cnBackup", "TimesRun", "1")
If z = "" Then
SaveSetting "cnBackup", "TimesRun", "1", 1
Else
SaveSetting "cnBackup", "TimesRun", "1", z + 1
End If


change that bit and it will work




nice try, but when you dont specify a variable type, its automatically variant accepting both string and numbers........ so your wrong there , and the reg file is a dos registry ment for exporting and importing and deleting keys so it does work


anyways i found where the error was...
code:
Private Sub Form_Load()
Set ontop = New clsOnTop
    Call progy_load
    size = "Size of CustomNameBackUp " & z & ".reg is: "
End Sub
Private Sub Form_Activate()
    ontop.MakeTopMost hWnd
End Sub


the form was activating and trying to be set as always on top but the variable was yet to be declared on some computers...

so i changed it to....
code:
Private Sub Form_Load()
Set ontop = New clsOnTop
    Call progy_load
    size = "Size of CustomNameBackUp" & z & ".reg is: "
    ontop.MakeTopMost Me.hWnd
End Sub


This post was edited on 09-17-2003 at 05:42 PM by matty.
09-17-2003 05:33 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Custom Name Back Up (Made a progy) - by matty on 09-06-2003 at 08:38 PM
RE: Custom Name Back Up (Made a progy) - by lylesback2 on 09-06-2003 at 10:15 PM
RE: Custom Name Back Up (Made a progy) - by matty on 09-06-2003 at 10:20 PM
RE: RE: Custom Name Back Up (Made a progy) - by Leif on 09-11-2003 at 06:06 PM
RE: RE: RE: Custom Name Back Up (Made a progy) - by Sk3tch on 09-11-2003 at 06:11 PM
RE: Made a program to back up custom names - by lylesback2 on 09-06-2003 at 11:43 PM
RE: Custom Name Back Up (Made a progy) - by matty on 09-12-2003 at 04:40 AM
RE: Custom Name Back Up (Made a progy) - by DaNieLiTo on 09-12-2003 at 04:46 AM
RE: RE: RE: Custom Name Back Up (Made a progy) - by xsRush on 09-12-2003 at 05:04 AM
RE: Custom Name Back Up (Made a progy) - by matty on 09-12-2003 at 06:01 PM
RE: RE: Custom Name Back Up (Made a progy) - by Leif on 09-12-2003 at 06:28 PM
RE: Custom Name Back Up (Made a progy) - by matty on 09-12-2003 at 06:03 PM
RE: Custom Name Back Up (Made a progy) - by reisyboy on 09-12-2003 at 08:32 PM
RE: Custom Name Back Up (Made a progy) - by xsRush on 09-13-2003 at 03:56 AM
RE: Custom Name Back Up (Made a progy) - by Pipish on 09-13-2003 at 04:52 AM
RE: Custom Name Back Up (Made a progy) - by matty on 09-13-2003 at 04:56 AM
RE: Custom Name Back Up (Made a progy) - by Huuf on 09-17-2003 at 04:55 PM
RE: RE: Custom Name Back Up (Made a progy) - by matty on 09-17-2003 at 05:33 PM
RE: Custom Name Back Up (Made a progy) - by Huuf on 09-17-2003 at 06:32 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On