|
How do you remove avatar session numbers from a list? (Bots)
How do you remove avatar session numbers from a list? // Bots
May 18, 2001, 7:32pm
To:All Avid Users Of AW,
I can remove avatar names from a list, but how do you remove avatar session
numbers? I tried changing the mini loop code to remove avatar numbers,
instead of avatar names, but all I get is a type mismatch error. Help!
Sincerly,
Barbarossa 315942. Feel Free To Telegram Me!
May 18, 2001, 7:48pm
I just told you in your other post what a type mismatch means ... surely you
can work this out for yourself! Go and find out about listboxes from the
MSDN Library that comes with VB6 and understand them before you try to use
them. How many of these "Oh no ... it gave me an error" questions will there
be?
.... and like I said only yesterday, put this stuff in the SDK newsgroup will
ya !!
Grims
[View Quote]barbarossa <empbarbarossa at excite.com> wrote in message
news:3b0594e8 at server1.Activeworlds.com...
> To:All Avid Users Of AW,
> I can remove avatar names from a list, but how do you remove avatar
session
> numbers? I tried changing the mini loop code to remove avatar numbers,
> instead of avatar names, but all I get is a type mismatch error. Help!
>
>
> Sincerly,
> Barbarossa 315942. Feel Free To Telegram Me!
>
>
|
May 18, 2001, 7:55pm
Please stop razzing me & enlighten me. I know what the mysmatch error means.
I said what it meant in this scenario in my original post. I did post a
message in the sdk group, & all you did was raze me about my ignorance of
Brant's Session Tables. Well, I just figured out another way of doing it, &
I'd like you to tell me what I am doing wrong, oh great technical god.
[View Quote]"grimble" <grimble2000 at btinternet.com> wrote in message
news:3b0598ad at server1.Activeworlds.com...
> I just told you in your other post what a type mismatch means ... surely
you
> can work this out for yourself! Go and find out about listboxes from the
> MSDN Library that comes with VB6 and understand them before you try to use
> them. How many of these "Oh no ... it gave me an error" questions will
there
> be?
>
> ... and like I said only yesterday, put this stuff in the SDK newsgroup
will
> ya !!
>
> Grims
>
> barbarossa <empbarbarossa at excite.com> wrote in message
> news:3b0594e8 at server1.Activeworlds.com...
> session
>
>
|
May 18, 2001, 7:56pm
For l = 0 To List3.ListCount - 1
If List3.List(l) = sdk.AwAvatarSession Then
List3.RemoveItem l
End If
Next
[View Quote]"barbarossa" <empbarbarossa at excite.com> wrote in message
news:3b059a46$1 at server1.Activeworlds.com...
> Please stop razzing me & enlighten me. I know what the mysmatch error
means.
> I said what it meant in this scenario in my original post. I did post a
> message in the sdk group, & all you did was raze me about my ignorance of
> Brant's Session Tables. Well, I just figured out another way of doing it,
&
> I'd like you to tell me what I am doing wrong, oh great technical god.
> "grimble" <grimble2000 at btinternet.com> wrote in message
> news:3b0598ad at server1.Activeworlds.com...
> you
use
> there
> will
>
>
|
May 18, 2001, 8:10pm
Don't pay too much attention to him, barbarossa.Sure, go do your homework,
but feel free to ask here :) It is better if you post these questions in
the sdk newsgroup, but sometimes it does not hurt to post here too (as long
as you don't crosspost), both newsgroups overlap a bit.
Sorry I can't help, it don't know this part of VB (I did a lot in VB, but it
was in VB 3). In a Delphi list, I would simply remove the list element by
list index number, but in VB I'm at a loss. If you can recover the index
number in the list, by session number (which is possibly encoded as string,
not as number), you should be able to remove the whole item. If the session
number is encoded as string in the list, as it would be in delphi, just
change your long to a string first before searching.
XelaG
[View Quote]"barbarossa" <empbarbarossa at excite.com> wrote in message
news:3b059a46$1 at server1.Activeworlds.com...
> Please stop razzing me & enlighten me. I know what the mysmatch error
means.
> I said what it meant in this scenario in my original post. I did post a
> message in the sdk group, & all you did was raze me about my ignorance of
> Brant's Session Tables. Well, I just figured out another way of doing it,
&
> I'd like you to tell me what I am doing wrong, oh great technical god.
> "grimble" <grimble2000 at btinternet.com> wrote in message
> news:3b0598ad at server1.Activeworlds.com...
> you
use
> there
> will
>
>
|
May 18, 2001, 8:19pm
First convert sdk.AwAvatarSession to string, I don't know how to do it in VB
any more :)
suppose this would be it:
Dim s As String
s = Ascii(sdk.AwAvatarSession) ' or something instead of Ascii
For I = 0 To List3.ListCount - 1
If List3.List(I) = s Then
List3.RemoveItem I
' here exit the For loop, because you have one element less now and
you'll get another error.
' there is a way of doing this in VB
End If
Next
XelaG
[View Quote]> "barbarossa" <empbarbarossa at excite.com> wrote in message
> news:3b059a46$1 at server1.Activeworlds.com...
> means.
of
it,
> &
surely
the
> use
newsgroup
numbers,
Help!
>
>
|
May 18, 2001, 8:20pm
Xelag,
This is EXACTLY that same problem as he posted earlier in the SDK newsgroup.
The List property of the listbox is a string ... and he's trying to put it
in a Long (AwAvatarSession). No difference! Unless the contents of the list
has changed without him saying, it contains the avatar's name.
As far as which newsgroup to post in, I see this as a newsgroup for people
to let others know about bots - for worldoeners and like ... not to discuss
technical issues involved in their development. THAT is what the SDK
newsgroup is for. If there is an overlap, there wouldn't be two.
Grims.
[View Quote]xelag <xelag at 3dee.nl> wrote in message
news:3b059dee$1 at server1.Activeworlds.com...
> Don't pay too much attention to him, barbarossa.Sure, go do your homework,
> but feel free to ask here :) It is better if you post these questions in
> the sdk newsgroup, but sometimes it does not hurt to post here too (as
long
> as you don't crosspost), both newsgroups overlap a bit.
>
> Sorry I can't help, it don't know this part of VB (I did a lot in VB, but
it
> was in VB 3). In a Delphi list, I would simply remove the list element by
> list index number, but in VB I'm at a loss. If you can recover the index
> number in the list, by session number (which is possibly encoded as
string,
> not as number), you should be able to remove the whole item. If the
session
> number is encoded as string in the list, as it would be in delphi, just
> change your long to a string first before searching.
>
> XelaG
>
>
> "barbarossa" <empbarbarossa at excite.com> wrote in message
> news:3b059a46$1 at server1.Activeworlds.com...
> means.
of
it,
> &
surely
the
> use
newsgroup
numbers,
Help!
>
>
|
May 18, 2001, 8:26pm
Found an OLD VB Book:
Dim s As String
s = Str$(sdk.AwAvatarSession)
For I = 0 To List3.ListCount - 1
If List3.List(I) = s Then
List3.RemoveItem I
Exit For
End If
Next
XelaG
[View Quote]"xelag" <xelag at 3dee.nl> wrote in message
news:3b05a002 at server1.Activeworlds.com...
> First convert sdk.AwAvatarSession to string, I don't know how to do it in
VB
> any more :)
>
> suppose this would be it:
>
> Dim s As String
>
> s = Ascii(sdk.AwAvatarSession) ' or something instead of Ascii
>
> For I = 0 To List3.ListCount - 1
> If List3.List(I) = s Then
> List3.RemoveItem I
> ' here exit the For loop, because you have one element less now and
> you'll get another error.
> ' there is a way of doing this in VB
> End If
> Next
>
> XelaG
>
a
> of
> it,
> surely
> the
to
will
> newsgroup
avatar
> numbers,
> Help!
>
>
|
May 18, 2001, 8:28pm
In the other newsgroup you insulted him as well, and you did not provisde an
answer he could use:)
[View Quote]"grimble" <grimble2000 at btinternet.com> wrote in message
news:3b05a01b$1 at server1.Activeworlds.com...
> Xelag,
>
> This is EXACTLY that same problem as he posted earlier in the SDK
newsgroup.
> The List property of the listbox is a string ... and he's trying to put it
> in a Long (AwAvatarSession). No difference! Unless the contents of the
list
> has changed without him saying, it contains the avatar's name.
>
> As far as which newsgroup to post in, I see this as a newsgroup for people
> to let others know about bots - for worldoeners and like ... not to
discuss
> technical issues involved in their development. THAT is what the SDK
> newsgroup is for. If there is an overlap, there wouldn't be two.
>
> Grims.
>
>
> xelag <xelag at 3dee.nl> wrote in message
> news:3b059dee$1 at server1.Activeworlds.com...
homework,
in
> long
but
> it
by
index
> string,
> session
a
> of
> it,
> surely
> the
to
will
> newsgroup
avatar
> numbers,
> Help!
>
>
|
May 18, 2001, 8:30pm
Actually ... I pointed you in the direction of Brant's Session Table ... as
something you could use. If you chose to read that differently ... fine.
Ignore it.
Grims
[View Quote]barbarossa <empbarbarossa at excite.com> wrote in message
news:3b059a46$1 at server1.Activeworlds.com...
> Please stop razzing me & enlighten me. I know what the mysmatch error
means.
> I said what it meant in this scenario in my original post. I did post a
> message in the sdk group, & all you did was raze me about my ignorance of
> Brant's Session Tables. Well, I just figured out another way of doing it,
&
> I'd like you to tell me what I am doing wrong, oh great technical god.
> "grimble" <grimble2000 at btinternet.com> wrote in message
> news:3b0598ad at server1.Activeworlds.com...
> you
use
> there
> will
>
>
|
May 18, 2001, 9:04pm
No .. you're right ... I pointed out what was wrong and then opened a door
for him to help himself!!
Sod it!
Grims
[View Quote]xelag <xelag at 3dee.nl> wrote in message
news:3b05a201$1 at server1.Activeworlds.com...
> In the other newsgroup you insulted him as well, and you did not provisde
an
> answer he could use:)
>
> "grimble" <grimble2000 at btinternet.com> wrote in message
> news:3b05a01b$1 at server1.Activeworlds.com...
> newsgroup.
it
> list
people
> discuss
> homework,
> in
> but
element
> by
> index
just
error
post
> a
ignorance
doing
god.
from
try
> to
> will
> avatar
>
>
|
May 19, 2001, 9:39am
not to be mean, unpleasant or anything...please stop asking VB questions
every day, to learn you have to find solutions to the problems yourself, if
you only ask for the answer to a particular problem, you will NEVER really
learn VB and where would the point in programming be then? It is quite
challenging to find solutions on your own, I think that it's quite fun :-))
KAH
PS. good luck with your bots ;-))
[View Quote]barbarossa wrote in message <3b0594e8 at server1.Activeworlds.com>...
>To:All Avid Users Of AW,
>I can remove avatar names from a list, but how do you remove avatar session
>numbers? I tried changing the mini loop code to remove avatar numbers,
>instead of avatar names, but all I get is a type mismatch error. Help!
>
>
>Sincerly,
>Barbarossa 315942. Feel Free To Telegram Me!
>
>
|
May 19, 2001, 1:04pm
THANK YOU!
[View Quote]"grimble" <grimble2000 at btinternet.com> wrote in message
news:3b05a26f$1 at server1.Activeworlds.com...
| Actually ... I pointed you in the direction of Brant's Session Table ...
as
| something you could use. If you chose to read that differently ... fine.
| Ignore it.
|
| Grims
|
|
| barbarossa <empbarbarossa at excite.com> wrote in message
| news:3b059a46$1 at server1.Activeworlds.com...
| > Please stop razzing me & enlighten me. I know what the mysmatch error
| means.
| > I said what it meant in this scenario in my original post. I did post a
| > message in the sdk group, & all you did was raze me about my ignorance
of
| > Brant's Session Tables. Well, I just figured out another way of doing
it,
| &
| > I'd like you to tell me what I am doing wrong, oh great technical god.
| > "grimble" <grimble2000 at btinternet.com> wrote in message
| > news:3b0598ad at server1.Activeworlds.com...
| > > I just told you in your other post what a type mismatch means ...
surely
| > you
| > > can work this out for yourself! Go and find out about listboxes from
the
| > > MSDN Library that comes with VB6 and understand them before you try to
| use
| > > them. How many of these "Oh no ... it gave me an error" questions will
| > there
| > > be?
| > >
| > > ... and like I said only yesterday, put this stuff in the SDK
newsgroup
| > will
| > > ya !!
| > >
| > > Grims
| > >
| > > barbarossa <empbarbarossa at excite.com> wrote in message
| > > news:3b0594e8 at server1.Activeworlds.com...
| > > > To:All Avid Users Of AW,
| > > > I can remove avatar names from a list, but how do you remove avatar
| > > session
| > > > numbers? I tried changing the mini loop code to remove avatar
numbers,
| > > > instead of avatar names, but all I get is a type mismatch error.
Help!
| > > >
| > > >
| > > > Sincerly,
| > > > Barbarossa 315942. Feel Free To Telegram Me!
| > > >
| > > >
| > >
| > >
| >
| >
|
|
|
May 20, 2001, 12:41pm
Hi,
I very rarely comment on many things in these newsgroups, but for some
reason I feel the urge to make some now.
1. "barbarossa" is not a male (well as far as I know)
2. If someone posts a message you consider "off-topic" for the newsgroup
press "next" and move onto the next message.
3. If someone posts a message you consider menial, ignorant or showing a
complete lack of self-learning then either press the "next" message
thingy again, or reply with help and advice. 99% of people will ask
first and read later. However if you earn their respect by providing a
few short minutes of your time and actually helping them a little or
giving some advice then they will be totally receptive if you then point
them in the right direction for some self-learning practices. Merely
slanging off telling them to go figure for themselves only breeds mutual
disrespect, and that is something AW is already full of.
From what I see, there are hardly any bot innovations in AW, we should
be trying to get everyone to use them, and thus all benefit.
Ok, said my 2.2 cents worth (we have GST in Oz now ;) ), now I'll shut
up for the next 4 years again.
--
Cheers,
Who
May 20, 2001, 9:28pm
Was that directed toward me? Or just a comment you needed to say and you
just happened to reply to mine?
[View Quote]"who" <ricta at ricta.net> wrote in message news:3B07D7F9.4E09D204 at ricta.net...
| Hi,
|
| I very rarely comment on many things in these newsgroups, but for some
| reason I feel the urge to make some now.
|
| 1. "barbarossa" is not a male (well as far as I know)
|
| 2. If someone posts a message you consider "off-topic" for the newsgroup
| press "next" and move onto the next message.
|
| 3. If someone posts a message you consider menial, ignorant or showing a
| complete lack of self-learning then either press the "next" message
| thingy again, or reply with help and advice. 99% of people will ask
| first and read later. However if you earn their respect by providing a
| few short minutes of your time and actually helping them a little or
| giving some advice then they will be totally receptive if you then point
| them in the right direction for some self-learning practices. Merely
| slanging off telling them to go figure for themselves only breeds mutual
| disrespect, and that is something AW is already full of.
|
| From what I see, there are hardly any bot innovations in AW, we should
| be trying to get everyone to use them, and thus all benefit.
|
| Ok, said my 2.2 cents worth (we have GST in Oz now ;) ), now I'll shut
| up for the next 4 years again.
|
| --
| Cheers,
|
| Who
|
May 20, 2001, 11:41pm
Hi,
General comments using the subject line which prompted the comments.
As noone in particular was mentioned in the reply, I was directing it to
all. Maybe cause yours was the then last post on the subject, and I used
it for the general reply, your newsreader assumed it was for you in
particular, but it wasn't meant that way.
[View Quote]m a k a v e l i wrote:
>
> Was that directed toward me? Or just a comment you needed to say and you
> just happened to reply to mine?
>
|
--
Cheers,
Who
May 21, 2001, 7:13pm
Barbarossa is a combination of italian words. Barbarossa, was a medieval
crusader. Look under any medieval history book,...
[View Quote]"who" <ricta at ricta.net> wrote in message news:3B07D7F9.4E09D204 at ricta.net...
> Hi,
>
> I very rarely comment on many things in these newsgroups, but for some
> reason I feel the urge to make some now.
>
> 1. "barbarossa" is not a male (well as far as I know)
>
> 2. If someone posts a message you consider "off-topic" for the newsgroup
> press "next" and move onto the next message.
>
> 3. If someone posts a message you consider menial, ignorant or showing a
> complete lack of self-learning then either press the "next" message
> thingy again, or reply with help and advice. 99% of people will ask
> first and read later. However if you earn their respect by providing a
> few short minutes of your time and actually helping them a little or
> giving some advice then they will be totally receptive if you then point
> them in the right direction for some self-learning practices. Merely
> slanging off telling them to go figure for themselves only breeds mutual
> disrespect, and that is something AW is already full of.
>
> From what I see, there are hardly any bot innovations in AW, we should
> be trying to get everyone to use them, and thus all benefit.
>
> Ok, said my 2.2 cents worth (we have GST in Oz now ;) ), now I'll shut
> up for the next 4 years again.
>
> --
> Cheers,
>
> Who
|
|