Solved

Using Net Send within Visual Basic

Posted on 2003-12-10
6
229 Views
Last Modified: 2013-11-25
My brain is about to explode,
I really can'y get my head around calling up the command prompt and using the net send command in visual basic .net any ideas , any work arounds?

0
Comment
Question by:Hickymanz
  • 4
6 Comments
 
LVL 15

Expert Comment

by:SRigney
Comment Utility
Shell("Net Send johnsmith Hello how are you")
0
 
LVL 15

Expert Comment

by:SRigney
Comment Utility
oh wait, I see .net, hold on.
0
 
LVL 15

Expert Comment

by:SRigney
Comment Utility
0
 
LVL 15

Accepted Solution

by:
SRigney earned 125 total points
Comment Utility
ProcessStartInfo myProcess_startinfo = new System.Diagnostics.ProcessStartInfo("C:\\WINDOWS\\system32\\net.exe","send x.x.x.x Hello World");

This on looks like it will also work.
0
 
LVL 27

Expert Comment

by:planocz
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
No response from Hickymanz from 12/10/2003 comment
Award points to SRigney is recommend.
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

planocz
EE Cleanup Volunteer
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now