Added: 3 years ago
From: LusikkaMage
Views: 43,619
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (260)

Sign In or Sign Up now to post a comment!
  • hi mam.. why cant the other clients receive messages? but when i debug it.. it can receive messages? i think that the for loop is too fast for the other clients to receive the data? can you please put i timer on it? that would be a great help.=) thanks!

  • i talk you women to men

    why i when use VB 2010 and i tipe code in in connectrequeste

    axwinsock1.accept(requesteID)

    it said to me tipe this axwinsock1.accpte(requesteID:=­)

  • i know that is this "DATA" is not defined but i don't can to know the compete of the code.

  • what is the wrong in this code  =

    private sub axwinsock1_dataarrival()

    dim DATA As string

    axwinsock1.getdata(DATA)

  • @LusikkaMage can u help me with this i want to make one for a Program and add this to it but i cant follow this can u message me ?

  • Damn you ! you skipped the making of the text boxes and winsocks and I AM confused about all your item NAMES !!

  • does it works if I use it between 2 computers in the same network?

  • thanks u. and love u :">

  • Thanks for a nice video.

    And by the way, VB6 is a great programming language, sure it does have its limitations, but it is great for beginers.

    No dought that C++ and other languages is better than VB6, but it also takes longer time to do the same.

    A few years ago i did a basic CD-Catalog program in VB6, and now I am connecting it to a website, so that I can view my CD-Catalog when I am not home.

    And @LusikkaMage -> Keep up the good job.

  • @LusikkaMage Are you a woman????

  • @KartSeven1 Yes, I am a woman.

  • @LusikkaMage I'm following you on Twitter.

  • Hi! If you don't mind can you please create a tutorial for vb.net. I'm a lil bit confuse in vb06. THE SAME Multi-client chat coding tutorial also. thanks. waiting for your reply will going to subscribe your channel.

  • @TheMarvinglennlacuna I'm not a VB.NET developer, sorry.

  • @LusikkaMage and are you a ? 

  • @TheMarvinglennlacuna I am a software engineer now, I work with C++ and C# professionally.

  • @LusikkaMage and that's very cool! :) wishing you to jump in vb.net and make tutorials like this one :) GOD BLESS YOU..

  • @TheMarvinglennlacuna Why "God bless me"? Why is God required in any scenario related to me? And, not to alienate you, but should a God bless that which does not believe in him?

  • @LusikkaMage I want C#, C++, and Visual Basic!

  • @KartSeven1

    hello can you help me my Visual Basic 6.0?

  • @windfirefox Open Visual Basic, add a command button, and add this code:

    MsgBox "Hello World!", vbInformation, "Visual Basic 6.0 Test"

  • @LusikkaMage I want C# and C++!

  • @TheMarvinglennlacuna I could nehp you with vb2010 (i always use the current one) also vb2008

  • @PercentRandomPercent that sound sweet! ok bro. just pm me if you are available. i don't want to make thread of posts in this channel.. anyways thanks..

  • im better at programmming then you. :P

  • @N1nJAWarR1oR Perhaps you are better at programming than I was 3 year ago. As for whether you are today or not, it's hard to tell without any sort of proof.

  • @N1nJAWarR1oR i think dude, no one cares.. LOL

  • @N1nJAWarR1oR haha... nice try i bet you dont even know anything

  • @LusikkaMage i have error too like

    Compile Error:

    Expected Then or GoTo

  • @markdelta2 Put a "Then" at the end of your if statement?  if condition then...

  • hi dear I want to make local area network(LAN) messenger using and i want is to make a messenger that should behave like client server too. i m stuck on port and winsock processing...

    plz help me ......................

  • whats the wnsckConnect?

  • ah I see now, but problem in RemoteHost, I use VB 6 Portable, whats wrong?

  • dim 1 as integer < thats problem.. wt must i do? 

  • @MrGuitarisss Your integer needs a name, you don't declare a number itself as an integer.

    dim clientCount as integer

    clientCount = 1

  • Comment removed

  • Comment removed

  • @LusikkaMage Do you want to delete your Visual Basic projects??? (Y/N) Y

    Deleting all of your Visual Basic projects.... 100%

    Complete!

  • @LusikkaMage

    Compile error:

    Expected Then or GoTo

  • @KartSeven1 Make sure there's a "Then" at the end of your "If" statement line.

  • @LusikkaMage I also want to type so fast!!!!

  • @KartSeven1 Mavis Beacon! 8D

  • @KartSeven1 You misspelled my username. :|

  • Comment removed

  • @KartSeven1 Thanks :)

  • @LusikkaMage Your voice is VERY annoying!!!!!!!!!!!!!!!

  • whats the index of wnsckconnect icant find the winsck.remotehost

  • what is the wnsckConnect where is located ..

  • what is that lstconversation it is a txtbox

  • @040raymart No it's a ListBox.

  • She sounds like a hot nerd... I wanna put my user in her text box >_>

  • hi LusikkaMage, i really like your voice, i dont know why but i really like your voice!

  • thank you so much!

  • Why i can't connect multiple clients to it ?

    How to put all the clients into a list view like yahoo messenger is or msn or any other ?

    Thank you !

  • Comment removed

  • how can i make Usename in different color? For example red?:S

  • Thanks man your the best

  • @ClubBlew Not a man. :(

  • @LusikkaMage Dude its a Figure of Speech.

  • @ClubBlew Dudette. :(

    I'm used to being addressed as a "guy" or "dude" but not a "man" o.0

  • weeeewww...it's not working...vb is promting that

    sckClose<--- variable not defined...why is that happening?...wew..

    help me plssss...i want to learn that apps..

  • @rick0121 You didn't name your socket object correctly.

  • @LusikkaMage

    which one is that?..where cud i find socket object?..help me pls..im just a novice programmer..

  • @LusikkaMage

    wew..i know know what is a socket object..wew..can you explain it please.

  • @rick0121

    If you don't understand, you need to study up more on basic programming before moving to this step.

  • can you add disconnect code?

  • hi can u teach me how to make it online?? my email is sunny0147852@gmail.com ill appreciate so muchhhhhhhh thank u

  • is this for lan

  • thnx

  • VB does not suck, it depends on the programmer, and if you reference libraries.

  • i dont have winsock

  • wow i thought i was a fast typer lol, how fast can you type?

  • oops my bad to busy typing didnt see ur name oops

  • r u a girl??!?!?!?!?

  • @sharkiller97 Yeah, I'm a 22 year old woman. :p

  • @LusikkaMage i have a trouble ive made a chat and it works but when i uses it with a friend it doesnt works,ppl say that its coz a router cant be only server but i dont know ow to fix this problem.¿can u aid me?

  • @LusikkaMage xD looks kewl the video but does it only work like on your pc imagine i give the program to mah friend can we speak? because that dosnt look like your internet ip look like your personal ip xD

  • @MegaTechHD Ho hum. I definitely know that it's my home IP address; I mean I do only have my degree in CS. I used my personal IP so that I could test both clients and server on one computer. Yes, I could have used my local lan IP or even my internet IP, but I suppose I was lazy, and maybe didn't want to randomly give out my IP.

  • @LusikkaMage lol just to know im using thanks :D iv edited it a bit i just needed a bit of code

  • @LusikkaMage no ur not. also vb sucks. no offence.

  • @saluege Ugh, I hate YouTube comments because I can't ever tell what people are replying to. I'm not really sure what you're saying I'm not about, and I agree that VB sucks. I stopped using it when I was 12, but it's easy to make chat applications so I do on occasion. I absolutely refuse to help anyone out with VB, but C++ I'm more than happy to.

  • @LusikkaMage i code in c++ and c#. use c# to make gui applications cause its easy and fast. but i love c++ better. also try to actually code a socket instead of use winsock(microsoft did all the work).

  • When we use it in another computer that doesn't have VB we have to download this : MSWINSCK.OCX . but where save it? in ani folder of the computer or in a special folder? please reply

  • @MrLaiho123 Save it into the same folder that the .exe is at.

  • @LusikkaMage  thx . btw mine doesn't works the messages doesn't show up

  • hey rachel,

    i love all your vids!

    but i got a problem, its the same for my own chat as for your downloaded one,

    if the server and 1 client are chatting, everything is fine,

    but as soon as i add another client, everything the server writes appears at client number 2, and everything client 2 writes goes only to server, the 1st client is just dead, and if i keep adding more clients, only the last one can chat :(

    can you help me? (im working on a vista PC if that helps)

  • @Mihawkler oh yeah, and every message from the "dead" clients are sent to the last client who connected and the server...by the way

  • @Mihawkler Private Sub cmdsend_Click() Dim tempmessage As String Dim i As Integer tempmessage = txtUsername.Text & ": " & txtMessage.Text If optServer.Value = True Then ' SERVER For i = 0 To 7 If blnClientConnected(i) = True Then wnsckClient(i).SendData tempmessage  End If Next i Else 'CLIENT wnsckConnect.SendData tempmessage End If txtMessage.Text = "" txtMessage.SetFocus End Sub
  • @hotohori0512 what emans youre code?

  • If you want to do this in VB 2008, go to my channel and look at 'Chat Server & Client Code'

  • @SCiLSiTR Nope, besides spending a brief amount of time doing this tutorial, I haven't used Visual Basic since I was 12...

  • @erkott I moved on to better languages. :)

  • Can you please do this tutorial on Vista because I have a Vista computer and I can't find Microsoft Winsock, I pressed Ctrl+T but I can't find it when I scrolled down. I looked in each tab I can't find it. On XP they have Winsock Control 'cause by brother has a XP computer and he can find Winsock Control on his computer in vb6, also @ShinyWebCorporation - You need XP computer to get Winsock Control.

  • damn we need more gal programmers these days...gals are proven smarter than guys for 1..and they never know what guys are tlking bout...i wish i could have a techy GF lol

  • Cann you Upload a new Source ,please

    i didnt find in the Download Other ..

    please a new upload .. Thanks

  • Are you clicking on the link, then clicking "download" on the left side, next to the screenshot?

  • hello, pls help me i got a an error variable not define "Istconversation" when i save in .exe

  • @lister997 That means you don't have anything named lstConversation. Check your object names.

  • i dont find mirosoft winsock!

  • @ShinyWebCorporation YOu have to install get it from somewhere. Dont ask me where because i dont know

  • this program can chat to another pc????

  • Excellent love this piece of coding

    Now I got a question for you

    Im trying to make a remote access programme but rather than giving control it will send screenshot images to the server. The idea behind this is that an employer can monitor the activity of another employee (16 screens to be precise) but when I set the screenshot data to send on winsock it only give a value of 10 numbers and the image is lost, is there a limit on the data transfer?

  • AW..its nice and awesome!,,but i think its only work in single PC sad to say you cant connect if that thing is on other computer!..could anyone help me please?

  • THANK YOU SO MUCH!

  • what are you does in 2 winsocks controls? please say for me..

    because you cut the video

  • if i choose Client and i click send,

    the problem is in protocol.

    if i want to make exe the problem is in wnsckClient connectionrequest..

    if i change the protocol i have a new problem :S

  • pls help me !

    what i need to do??

  • You need to be more descriptive about what your problem is, besides "GetData" or "SendData"

  • doesn't work, i have a problem please help me..

    this is the "GetData" or "SendData"

  • Can u make a tutorial in vb2008 with multiple winsock connections?

  • Thank you ^_^

  • I'm a woman.

  • ummm i am using ur multi client chat but im having the problem when making it in exe it says data member not found like the senddata, remoteport, remotehost..i hope u can help me run it..

  • Comment removed

  • Is this a LAN chartroom or no. What server are you connecting to for everyone to connect to?

  • i think since this is only a private chat, you the client is bout a client and a server, and you connect to another client/server if you want to talk to another person

  • You can use your external IP to connect to everyone.But i'm having problems with this..

  • and i thing u dont's understant

    my mean

  • hi how r u plz help me .. how add chat box. my web site. and user acc + name or ip show me ? u thing y me any user ip... bad user band. ?

    sory my eng bad

  • You can't embed the Visual Basic applications to a website. You'd have to use Java, Flash, or something else that supports it.

  • well i no

    o.k ty

  • i belive you can, but you had to save it as a special page.

    Google it?

  • i cant find windows sock

  • Do you know How to create a remote controlling software i mean a RAT

    Can you make a video in that topic

    that will be quiet useful

    Thanks for this video

  • Lol, I think that's kind of beyond the scope of this.

    And, I have no idea.

  • Is that dim i or dim 1

  • it's "i"

  • Oh ok.

  • you cant download it for some reason

  • yeah you can

  • I've used Winsock with both Visual Basic 6 as well as C++, but doing it in VB is a ton easier.

  • okay does this chat thing work over the internet, like msn so if i send it to my friend we will be able to talk using it?

  • Why so many winsock controls? You just need one and you can index them =]

  • Didn't know that, thought they all had to be on the form. ;P

  • thanks this helped me alot. also

    thanks for the downloadable package with the project we can open up and take a look at

  • i downloaded the code but I don't know which thing is the correct piece of code... what do I do???

  • do I put the code pieces in "resources"

  • I think you need to study up more on VB. From the questions you've asked, you don't really seem to know what's going on with this stuff. (Your questions make absolutely no sense either)

  • i found out the code for vb6 and vb 2008 is different... do you know where i could find help on one for 2008?

  • or how to change the code to work in vb 2008?

  • can this work with multiple computers?

  • Yeah

  • do u need C4F P2P to make this?

  • No. All you need is to add the Winsock toolkit that comes with some versions of Visual Basic 6.

  • you should show how to do this in vb 2008 i can't find any tut's on it :(i would be happy if you new how

  • cool, but if you made thee first winsock an array, why did you copy it, even if it is keeping the same name with a different index?

  • The winsock array is for the client connections, each one has their own winsock item and port they're connected to.

  • But you don't need to copy and paste the control over and over again. u just need to put

    Load Winsock1(variable)

    when ever you get a connection. U only need 1 control on the form.

  • Oh okay. didn't know that.

  • Nice tutorial am new at this n using VB8 express

    is it posible for u to make this tutorial in VB8 express?

    thank you

  • VB8 isn't really something I wish to learn

  • Thnx

  • of course you can add more ports, thats just the defautl change man.

  • if u mean add more servers than yes. just add more winsock controls and make them listen on different ports than u already have.

  • Can't get it to work with IP. Lan is fine.

  • i dont understand what ur doin how do i make more winsock control thingys and how do i get the frmmain thing with the login option?

  • great job! nicly done, but just a lil tip: you should probally do so when you press enter it sends.

  • this is a lan chat?

  • Can run via lan or internet.

  • Comment removed

  • Comment removed

  • in the textbox of the IP ,do i have to put my IP or the Ip from the guy i wanna talk wtih?

  • If you're the client, you put in the IP of the server (the guy you wanna talk with). If you're server, you don't enter anything, and give the client your IP address. (google whatsmyip)

  • In my version I add it to a list box.

    list1.additem dat

  • ooh god i didnt get a single step 0_0...

  • Hey i was wondering how you would make a email sorta thing in winsock how would you do it if there not online at that time?

  • I think you'd pretty much have to have a server running all the time, and you send the messages to the server instead of directly to the person. Then the person has to access the server to get their messages.

    That's how email works, anyway.

    You could just have the person keep their client running the entire time. ;P

  • lol

  • Nice video, very nice code also.

    Was just wondering, when sending text there is no compiling or anything like decompiling and compiling the data upon arrival. Do you have any idea how I would make a client and server in which connects directly(I know this), and sends DATA/FILES from client to server or the other way around. I have managed to send some data but the end file is either corrupted or incomplete.