connect 2 vb programs over internet/lan menu

Shout-Out

User Tag List

Results 1 to 15 of 15
  1. #1
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    connect 2 vb programs over internet/lan

    Hello,

    I don't know if this will work but if it does i give you 2 +Rep because thats everything i got.

    Okay... this is how i thought.
    First i have 1 vb program on one of my computers thats just listening. then i got another vb program on my other computer. if we call the listening 1 for prog1 and the sending 1 for prog2. In prog2 i will have much buttons with texts like "Msgbox" , "beep" and stuff like that. if i press "msgbox" i want to be able to write a text and then i send it with prog2 to prog1 that show a msgbox on the computer with the text i wrote. or if i press "beep" i want it to beep from the internal speakers on the computer i have prog1.

    I already know how to make beep and msgboxes and that kind of stuff. but the hard part is to make it send to another computer via internet or lan.

    btw i use vb 2008 express edition.

    Please, add my msn or answerer here just.
    [email protected]

    Thank you! :wave:
    Last edited by Spot_1337; 01-06-2009 at 12:58 PM.

    connect 2 vb programs over internet/lan
  2. #2
    Anthraxx's Avatar Contributor
    Reputation
    111
    Join Date
    Nov 2006
    Posts
    374
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Like a messenger? google it


  3. #3
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i tried to google but didn't find anything , and yes like msn but not text, the receivers computer do stuff instead.

  4. #4
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm i got an idea i think, if prog2 send text to prog1 and prog1 read text and do the command based on text like: i send beep from prog2 and prog1 receive beep in textbox1 or anything and then read it like,
    if textbox1.text = "beep" then
    console.beep
    textbox1.text = ""
    elseif textbox1.text = "shutdown" then
    computer.shutdown blabla
    textbox1.text = ""
    maybe this would work?

  5. #5
    EmiloZ's Avatar Flying Piggy Back
    CoreCoins Purchaser
    Reputation
    538
    Join Date
    Jun 2007
    Posts
    1,393
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    WinSock Console i guess but i don't know
    Why fill up a signature?

  6. #6
    ReidE96's Avatar Archer Authenticator enabled
    Reputation
    470
    Join Date
    Dec 2006
    Posts
    1,625
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    WinSock is outdated, don't.

    Send the text commands is a good idea imo. Just have them all 4 characters long, say, and that way you can read them easier.

    *is now expecting Apoc to appear with some super sexy awesome easy way of doing it*

  7. #7
    Murdok's Avatar Member
    Reputation
    34
    Join Date
    Oct 2007
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've seen source code for a messenger on freevbcode.com maybe you can get some ideas from it.

    There are 10 kinds of people in the world. Those who understand binary and those who don't.

  8. #8
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that site made me even more confused then i was before. i can't even search for messenger in vb only <.<

  9. #9
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You should look up .NET remoting, or sockets. (Not WinSock, as they are not used in .NET. (Under the hood they are however)

    Look up how to use sockets in .NET, you'll find tons of source code on how to do it.

  10. #10
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i googled some hours on sockets but i just found it for console application

  11. #11
    Clain's Avatar Banned
    Reputation
    179
    Join Date
    Jan 2008
    Posts
    1,396
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So? Writing code for window applications is basically the same thing then writing console applications besides some specific classes, methods, etc.

  12. #12
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    O.o ? i think i need a pro --> noob translator or a idiot guide :s

  13. #13
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by liljeberg94 View Post
    O.o ? i think i need a pro --> noob translator or a idiot guide :s
    I think you need to start with something more basic than program comms.

  14. #14
    Spot_1337's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2007
    Posts
    90
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    pfft, i need this program xD
    and i have a windows application client that works but i still need the server
    took me like 3hours to make it and i don't wanna delete my work now :S
    Last edited by Spot_1337; 01-08-2009 at 06:43 AM.

  15. #15
    1814's Avatar Active Member
    Reputation
    21
    Join Date
    Mar 2008
    Posts
    67
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

Similar Threads

  1. [Trinity] cant log into realm on internet /lan
    By khosrohamid in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 11-05-2011, 03:22 PM
  2. [Arcemu] connect two comp by LAN with no internet
    By wickedmage in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 03-20-2010, 04:48 AM
  3. Internet Lan question
    By azzclown in forum Community Chat
    Replies: 1
    Last Post: 07-25-2009, 04:55 PM
  4. How to connect to an Internet Radio Station!
    By WoWLegend in forum Community Chat
    Replies: 3
    Last Post: 04-18-2007, 10:10 AM
  5. how do you change a private server from LAN to internet
    By melkor3228 in forum Community Chat
    Replies: 2
    Last Post: 04-13-2007, 03:23 AM
All times are GMT -5. The time now is 03:21 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search