ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
World List in VB (Bots)
World List in VB // BotsbaronFeb 18, 2001, 7:59am
Just call sdk.AwWorldList and use sdk_EventWorldInfo to add the worlds to the listbox. For example:
Private Sub cmdWorldList_Click() If sdk.AwWorldList Then MsgBox "Unable to query world list" End If End Sub Private Sub sdk_EventWorldInfo() Select Case sdk.AwWorldListStatus Case AW_WORLDSTATUS_PUBLIC List1.AddItem "Public : " & sdk.AwWorldListUsers & " " & sdk.AwWorldListName Case AW_WORLDSTATUS_PRIVATE List1.AddItem "Private: " & sdk.AwWorldListUsers & " " & sdk.AwWorldListName Case Else List1.AddItem "Unknown: " & sdk.AwWorldListUsers & " " & sdk.AwWorldListName End Select End Sub [View Quote] lanezeriFeb 18, 2001, 1:24pm
That gives you a unever line.. u shouldn't use a " " u should use
vbTab andrasFeb 18, 2001, 4:18pm
First - who the *** are you to decide that a bot-related question doesn't belong to this ng.
Second - Nobody asked if you know or you don't. If you don't know it - don't respond. This is not a chat. Andras <waiting impatiently for Lanezeri's citizenship to expire because he promised not to renew it> [View Quote] lanezeriFeb 18, 2001, 8:08pm
Who the fuck am I to decide? Well it has to do with the AW VB SDK dipshit..
it goes in SDK.. seconds.. I was just sayin I didnt know so he'd know.. and you know something.. I think I am gonna renew my cit.. just to piss you off.. j b e l lFeb 18, 2001, 8:29pm
god both of you.. shut up.. your worse then a married couple...
-- J B E L L http://platinum.awjbell.com G O I N G P L A T I N U M [View Quote] the derekFeb 19, 2001, 6:41pm
use the world info event
listbox.additem sdk.awworldlistname [View Quote] > In VB.. How do I get all the worlds in a Listbox?? |