DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: How to send a message from VB6

  1. #1
    Join Date
    Jan 2006
    Posts
    2

    Question How to send a message from VB6

    I would like to know if anybody knows haow to send a message from a vb6 application to another pc on the same network.
    Thanks

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Mar 2005
    Location
    UK, London
    Posts
    150
    Use TCP/IP or UDP, or you can use the net send service with windows, but the service much be switched on, on both machines, you can do this by "net start messanger" using the shell command. Best thing to do would be to look into TCP/Ip and create a simple p2p chat system. Then move onto more advanced stuff like multichat using arrays and registering usernames in a database. I made a multi chat program a while a. I'll have a look to see if I still have the source or the exe for you to have a look.

  4. #4
    Join Date
    Jun 2004
    Location
    Houston area
    Posts
    557
    major, he wants to send a message, NOT CHAT WITH THE PERSON!

    Phil, I looked at the code you suggested. Now tell me, what does "Dim cls" do?

    L
    A balanced diet is a cookie in each hand.

  5. #5
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    "Dim Cls" declares a variable named Cls of type Variant. Since the Cls variable does not appear to be used anywhere, it essentially does nothing.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  6. #6
    Join Date
    Jun 2004
    Location
    Houston area
    Posts
    557
    That's what I thought! I was just checkin' to see if you knew that!

    So, he was probably taught to close objects when he was through usin' 'em and just got messed up 'cause he wasn't usin' any objects, huh?
    A balanced diet is a cookie in each hand.

Similar Threads

  1. Replies: 3
    Last Post: 04-28-2003, 12:09 PM
  2. send xml message to differents clients
    By boualem in forum XML
    Replies: 0
    Last Post: 11-27-2000, 05:41 AM
  3. Send a SMS message to a mobile phone.
    By Graham Russell in forum VB Classic
    Replies: 0
    Last Post: 11-20-2000, 06:33 AM
  4. Send short message service(sms) with vb
    By Edi in forum VB Classic
    Replies: 0
    Last Post: 09-03-2000, 10:48 PM
  5. Replies: 0
    Last Post: 06-23-2000, 02:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center