+ Reply to Thread
Results 1 to 12 of 12

How? Excel send text Msg to peer/peer vbnet users without server

  1. #1
    Registered User
    Join Date
    11-25-2006
    Posts
    18

    How? Excel send text Msg to peer/peer vbnet users without server

    I'm a teacher that needs to send one way text message to pop up on my student's screen. THey don't have office installed but my vb net2005 program. My network is just a simple peer to peer. Can I do this by just using tcp/ip and not installing any other service? THanks

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello teacher5th,

    This is an Excel forum. We can answer questions relating to Excel, VBA, and other office related programs. Your question is about VB.Net. Post your question with a VB.Net group.

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    11-25-2006
    Posts
    18
    Thanks for replying but I mentioned that I need for excel to "Send out" a text message in the title. Sorry that I didn't make myself clearer. I know that vb net 2005 can read one in so I was just giving the specs of my system. Can anyone help me with the VBA code needed to send a one-way text message to my students? thanks

  4. #4
    Registered User
    Join Date
    01-26-2008
    Posts
    9
    You can, but why you would want to send it through excel is a mystery.

    Simply run this in the command prompt:

    Please Login or Register  to view this content.
    So if the PC's name was "Computer1", you'd do:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-25-2006
    Posts
    18
    thanks for your help. I would like to do it in excel since through a loop I can send it out to one, selected students or all. I can also store template messages that I can change at the last minute. Is it possible that someone can make a vba routine that will access a range of cells that would have messages in them and a range of computer names (Comp01, Comp02, etc to 32) that would allow me to send certain messages to a select group of students? thanks

  6. #6
    Valued Forum Contributor Macdave_19's Avatar
    Join Date
    03-14-2007
    Location
    Birmingham, England
    MS-Off Ver
    12.0
    Posts
    808

    Here's My Code

    Hi Buddy I have created a messaging system Known as MaGoo Messenger, it simpplifies everything by using a userform, you select the target user it finds there ID (in your case this would be target computer ID and send the typed message.

    Please Login or Register  to view this content.
    The TxtKid is a textbox value representing the ID
    and the txtmess is the message in a textbox

    ill attach a pic for you to see!!
    Attached Files Attached Files
    Mr MaGoo
    Magoo.Inc MMVII

    If i've helped please add to my Rep by Clicking on the Blue Scales in the top right hand corner of the post

  7. #7
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887
    One thing to note, in order to use 'Net send..' commands, the Messenger service needs to be running on all PC's (both sending and receiving PC's). From experience, it is quite common to have that service disabled by the IT staff for various reasons.

  8. #8
    Registered User
    Join Date
    11-25-2006
    Posts
    18
    Thanks Mr. Magoo and paul for taking the time to help. I will try it. If anyone out there would like to help make this a nice module so it would be easy for me to use it - various text messages pulled from cells and a student selection macro that would allow me to send to selected students or all of them, I would appreciate it. thanks

  9. #9
    Valued Forum Contributor Macdave_19's Avatar
    Join Date
    03-14-2007
    Location
    Birmingham, England
    MS-Off Ver
    12.0
    Posts
    808

    Talking Here You Go

    A fully Functioning MaGoo Messenger:

    The userform has an add friend and delete friend button that writes to sheet one in your personal macro workbook.

    if you have any problems let me know.

    what i have done is put these forms into my personal macro workbook then simply added this code to a module:

    Please Login or Register  to view this content.
    Then created a Custom macro buton on the menubar and assigned it the above macro.

    Hey Presto you're done!!

    Any comments or suggestions on the little bab boy are welocome.

  10. #10
    Valued Forum Contributor Macdave_19's Avatar
    Join Date
    03-14-2007
    Location
    Birmingham, England
    MS-Off Ver
    12.0
    Posts
    808

    Talking Here You Go

    A fully Functioning MaGoo Messenger:

    The userform has an add friend and delete friend button that writes to sheet one in your personal macro workbook.

    if you have any problems let me know.

    what i have done is put these forms into my personal macro workbook then simply added this code to a module:

    Please Login or Register  to view this content.
    Then created a Custom macro buton on the menubar and assigned it the above macro.

    Hey Presto you're done!!

    Any comments or suggestions on the little bad boy are welocome.

  11. #11
    Valued Forum Contributor Macdave_19's Avatar
    Join Date
    03-14-2007
    Location
    Birmingham, England
    MS-Off Ver
    12.0
    Posts
    808

    Talking Here You Go

    A fully Functioning MaGoo Messenger:

    The userform has an add friend and delete friend button that writes to sheet one in your personal macro workbook.

    if you have any problems let me know.

    what i have done is put these forms into my personal macro workbook then simply added this code to a module:

    Please Login or Register  to view this content.
    Then created a Custom macro buton on the menubar and assigned it the above macro.

    Hey Presto you're done!!

    Any comments or suggestions on the little bad boy are welcome.

  12. #12
    Valued Forum Contributor Macdave_19's Avatar
    Join Date
    03-14-2007
    Location
    Birmingham, England
    MS-Off Ver
    12.0
    Posts
    808

    Doh

    Of course actually attaching the files helps too!!
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1