Solved

Using Net Send within Visual Basic

Posted on 2003-12-10
6
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 15

Expert Comment

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

Expert Comment

by:SRigney
ID: 9913992
oh wait, I see .net, hold on.
0
 
LVL 15

Expert Comment

by:SRigney
ID: 9914072
0
 
LVL 15

Accepted Solution

by:
SRigney earned 125 total points
ID: 9914095
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
ID: 10260583
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month6 days, 13 hours left to enroll

623 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