|
-
Feb 17th, 2000, 04:51 AM
#1
Thread Starter
New Member
I want to make a chat room for networked computers in my school. It would be quite simple with an label at the top and an text box at the bottom. There will be command button so when it is clicked it will carry out,text1.text=label1.capton.
I can only get one text boxs text into the label and if I try again the one before goes.
Also is there somthing I should do when making the program I made will work on a network.
As you have noticed I am a newbie, thanx for your time
Michael Baynham
-
Feb 17th, 2000, 05:00 AM
#2
-
Feb 17th, 2000, 05:02 AM
#3
Hyperactive Member
first
the reason you lose the comment before is because you reset the caption. Do this:
label1.caption = label1.caption & chr(13) & chr(10) & text1.text
That would take the current caption of the label, add a carraige return and line feed and then add the text of text1.
What I would do is put a count so after like 10 lines it clears the lines before it. Or put it in a scrolling label or text box that is multilined/disabled so that they can still view the previous text.
I'm not sure about teh networked app.
-
Feb 17th, 2000, 06:16 AM
#4
Thread Starter
New Member
Thank you a lot for your time, fox and net surfer. You have helped a lot.
Fox please could you check your e-mail
Thanx a lot
Michael
-
Feb 17th, 2000, 10:36 AM
#5
Frenzied Member
Check out the help for the winsock control (Microsoft Winsock Control 6.0 in the Components list) in VB. It lets you send messages over networks. I have a very simple version of a chat prog if you want to see it.
Hope that helps!
~seaweed
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
|