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
Solved

Using Net Send within Visual Basic

Posted on 2003-12-10
6
232 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Crystal reports - Formula Field code need assistance with code 17 81
Help me. 3 60
Publisher:   Unknown     VB.exe Application 1 28
SSRS Deployment problem 5 66
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

861 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