|
-
Jun 10th, 2000, 12:15 AM
#1
Thread Starter
Hyperactive Member
Hello I have a ComboBox...
Say i have the Combo's Text: "Just.Testing.This/3783"
Is there a way i can put what is BEFORE the "/" into One textbox (text1) and Anything AFTER into another Textbox(Text2).
Secondly, say i have a DIFFERENT combo box,
I want to use commands like a MUD server would.
So what i need to find out is:
In the Combo box people can type in commands, LIKE
"get <item>"
"chat <message>"
And also If it could read like " chat <message" *Notice the SPACES*
Ect, stuff like that.
So i need it to Read the FIRST word and do an action with the SECOND part, (After the word) till the end of the box.
LIKe:
ComboBox's Text = "chat hello people whats up?"
Reads "chat" and makes a MESSAGE BOX Appear with "hello people whats up?"
If the first word DOESn't match any commands it displays
Msgbox "Unknown"
Thanks ALOT!
PS: this is using VB5.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|