hi ive made a script, however it creates a frame on the hub software, with the sliders and text boxes etc on there, i have mad a listbox for powerops a addpower.txt box and 2 button add + remove.
however how do i do my button. this is what i wrote:
sub cmdadd_click()
If txtpower.Text = "" Then
MsgBox "Please enter some text!!", 16
txtpower.SetFocus
Else
lstPower.AddItem .Text
lstPower.ListIndex = lstAdd.ListCount - 1
End If
End sub
but it seems _click() dont work
anyone have any answers to this pleeze
TA
help me with button
Moderator: Moderators
help me with button
ashes to ashes, dust to dust, if the dope dont get you. The acid must
form and controls events are not available to the script
For the newest release of MulTiBoT visit www.cwain.dk
thanks
well knowing that ive decided that i will use a database to save the settings, and my powerops adding, deleting and list will be in a seperate none dll dependant application that uses same database, im sure that is possible right?????????????
lol
lol
ashes to ashes, dust to dust, if the dope dont get you. The acid must
-
- Posts: 210
- Joined: 2003-01-23 17:24
- Location: Nevada
- Contact:
Actually vbs has a few native commands that allow you to directly work with textfiles (aka textstream objects). So yes, it's possible to save a bunch of stuff and call them back.. not only the hub's startup but also during runtime =)
That's actually what Zeus does for the mentor file, the username-based permbans, etc etc
You can also work with a database file, but then it becomes a bit more hungry on the resources, and you have to declare them and explain the poor vbs engine how to access them and all.. If you plan on going down that path, let me know first; need to invest in a few aspirin companies on the stock market first =p But it is definitely possible, no worries.
That's actually what Zeus does for the mentor file, the username-based permbans, etc etc
You can also work with a database file, but then it becomes a bit more hungry on the resources, and you have to declare them and explain the poor vbs engine how to access them and all.. If you plan on going down that path, let me know first; need to invest in a few aspirin companies on the stock market first =p But it is definitely possible, no worries.