Thread

World List in VB (Bots)

World List in VB // Bots

1  |  

knight rider

Feb 17, 2001, 10:16pm
In VB.. How do I get all the worlds in a Listbox??

lanezeri

Feb 17, 2001, 11:11pm
First off.. this goes in "sdk" NG.. next.. I dont know..

baron

Feb 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]

lanezeri

Feb 18, 2001, 1:24pm
That gives you a unever line.. u shouldn't use a " " u should use
vbTab

andras

Feb 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]

lanezeri

Feb 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 l

Feb 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]

kah

Feb 19, 2001, 4:15pm
LOL

KAH
[View Quote]

the derek

Feb 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??

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn