This is a hard one =)

Which hub software is the best? Where can I find script XXX? Discuss it here...(no, this is not for advertising your hub...)

Moderator: Moderators

Locked
Sid
Posts: 56
Joined: 2003-01-07 18:13
Contact:

This is a hard one =)

Post by Sid » 2003-02-10 04:23

Code: Select all

For Each objControl In frmHub.Controls
            If objControl.Name = "HubScripts" And UCase(sService) = UCase(objControl.Tag) Then
               If objControl.Procedures.Count <> 0 Then
                  objControl.Reset
                  sStatus = CStr(sService) + " has been stoped."
               Else
                  sStatus = "Error:  " + CStr(sService) + " has already been stoped."
               End If
               
               Exit For
            End If
         Next
ok that is the code i have so far wich stops a script just lick clicking the stop button. Now this works all fine and good until you goto restart the script. This is where i try using the objControl.AddCode function and it seems to restart the script but the script nolong executes. Any one have any ideas?
Sid

[email protected]
http://www.1stleg.com
[url=dcHub://Greed.1stleg.com]dcHub://Greed.1stleg.com[/url]

Locked