Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 132,237 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,126 people online right now. Registration is fast and FREE... Join Now!




Online Status

 
Reply to this topicStart new topic

Online Status

FliP1992
post 19 Feb, 2008 - 03:15 AM
Post #1


D.I.C Head

**
Joined: 14 Jun, 2007
Posts: 56


My Contributions


Hello,

Ive done a chat in Vb using winsock, ive changed it so it always connects to me. but if im offline people will be wondering why.

so ive made 2 labels: lboffline lbonline
how would i changed these to work with the server, using "else"?

Thanks,
Tom

p.s what code is it that makes the Chat muti? i had a look thought a muti chat couldent find eny diffrence. ( would help )
User is offlineProfile CardPM

Go to the top of the page

PsychoCoder
post 19 Feb, 2008 - 05:27 AM
Post #2


using DIC.Core;

Group Icon
Joined: 26 Jul, 2007
Posts: 8,923



Thanked 117 times

Dream Kudos: 8475

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions


Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: code.gif

Thanks smile.gif
User is online!Profile CardPM

Go to the top of the page

FliP1992
post 19 Feb, 2008 - 07:11 AM
Post #3


D.I.C Head

**
Joined: 14 Jun, 2007
Posts: 56


My Contributions


well thats the problem i have dont know how to code this problem
appart from
CODE
If wschat.State = sckConnected Then
[Thing i need Help with]
Else
[Other thing i need help with]


That any use?

Thanks,
ph34r.gif Tom ph34r.gif
User is offlineProfile CardPM

Go to the top of the page

FliP1992
post 19 Feb, 2008 - 06:16 PM
Post #4


D.I.C Head

**
Joined: 14 Jun, 2007
Posts: 56


My Contributions


eny help?

ive tryed the
lbonline.visible = True
lboffline.visble = False
approach that = Failed

Thanks,
ph34r.gif Tom ph34r.gif
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/21/08 09:40PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month