net send in .net


 I am trying to execute net send comman in my code. But I am getting "win32 exception unhandled error". Please help me. My code is:

Dim psi As New ProcessStartInfo()

psi.UseShellExecute = False

psi.FileName = "Net send"

'  - IP address of a system in my network

psi.Arguments = " test"


 Thanks in advance!


12/3/2007 10:18:20 AM 91979 articles. 4 followers. Follow

4 Replies

Similar Articles

[PageSpeed] 50
Get it on Google Play
Get it on Apple App Store

Tryu changing


psi.FileName = "Net send"

'  - IP address of a system in my network

psi.Arguments = " test"



psi.FileName = "net.exe"

'  - IP address of a system in my network

psi.Arguments = "Send test"


Hope it helps

12/3/2007 10:43:56 AM

Hi Shwetha,

You just need to do a small modification to your code. Instead of "Net Send" in the place of the filename, give "Net". Change your code as below:

 Dim psi As New ProcessStartInfo()

psi.UseShellExecute = False

psi.FileName = "Net"

'  - IP address of a system in my network

psi.Arguments = "Send test"


Thats it!

I did the same mistake when I came over a similar situation.




12/3/2007 10:44:23 AM


Thank you so much

12/3/2007 10:50:06 AM

Thank you so much Prabaa.

12/3/2007 10:50:34 AM

Similar Artilces:

Sending SMS using or using or
Hi  My requirement is I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0. once i read the all fileds and take that mobile number.using tat mobile number  i need to send sms .after sending sms i shuld change status as 1 How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link. and also provide the how to update the status field im csv file   Thank ssandhya   To send SMS, you need some third party SMS providers. if you consul...

------_=_NextPart_001_01C6429F.D89AA417 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, Net::LDAP Net::LDAPS Is there a possible to LDAP bind with an encrypted (SHA, SSHA, CRYPT, ....) password? I don't like to write the secret password to the perl file. Best regards Barbara Wilbert ------_=_NextPart_001_01C6429F.D89AA417-- Wilbert Barbara (CI/OSI) * wrote: > Hello, > > Net::LDAP > Net::LDAPS > > Is there a possible to LDAP bind with an encrypted (SHA, SSHA, CRYPT, > ......

Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0
Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! Have a look into this links Rajawww.iGold.inDon't forget to click "Mark as Answer" on the post that helped you. This credits that m...

Net Farmers net
Has anyone been able to access any of the tests at ? I can get the default page but none of the tests appear to be operating over the last several weeks. -- CK I just tested and works as usual!!!Every session TCP_error,because my Shields_guard is intact<<G>> -- Regard: Joh@nnes� 1216771 Ont.Inc. "Nothing is more damaging to a new truth than an old error" "CK" <> wrote in message news:9i45gg$1qa9$ : Has anyone been able to access any of the tests at : http://suicide...

To .NET or not .NET, that is the question
I'm running WinXP pro 32-bit, meaning I've got the version 1-dot-something of .NET that XP came with. I've been looking for various softwares, and more and more often come across .NET version 2 being prerequisite. No urgency for me re. my questions to this group - so far I have just decided to hit the red X on those download pages - but the desire for this newer version of .NET seems to be growing for me. Firstly, according to my (limited) research, newer .NET versions are inclusive of the previous ones, and the current version seems to be 3.5. So if I go for i...

converting to from offered me some sample code when I signed up with them the only problem is the sample code is in but my page that they type all of their credit card into is <code><%@ Import Namespace="System.Net" %> <%@ Import Namespace="System.IO" %> <script language="C#" runat="server"> void Page_Load(Object Src, EventArgs E) { myPage.Text = readHtmlPage(""); } private String readHtmlPage(string url) { ...

Starting an Application in .net
i am new to could any one give me simple ajax,net example so that i start building on my ajax skills please.........  I started with the todolist video on the main page, and its all you need to know to get started. Don't forget to click "Mark as Answer" on the post that helped you.This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.    ...

Differences between .net 1, .net 1.1, .net 2.0 and .net 3.0 #2
Hi, This seems to be a common question, but i havent got an answer yet:(Can, any one please explain me the differences between these versions.If you keep your feet firmly on the ground, you'll have trouble putting on your pants! There are too many differences for one email - - from 1.0 to 1.1 (not a whole lot of real change, other than fixes, at least compared to 1.1 to 2.0) With 2.0, there were many new declarative controls, with many new ideas added in With 3.0, it's a superset of 2.0 - instead of replacing the installation completely, it just 'added on' new functionality - I would... vs vs
just out of curiousity which looks, acts most like java? i'm still learning trying to used to but it seems that it was easier to do some stuff with java. C# is Java++ in my opinion. If you have done C or Jave you will prefer C#.Mike Schellenberger - MCAD If you are looking for language similar to java go for J#. However most code samples you find on the net will be in VB.NET and C#....

I am not getting my mail open on my net as net is running
Name: Email: rmbala91atgmaildotcom Product: Firefox Summary: I am not getting my mail open on my net as net is running Comments: My mail is not getting opening. Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20100401 Firefox/3.6.3 From URL: Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. ...

How to get RS (From VB6) to .NET (VB.NET)
Hi Friends,         I have requirement, there is one function in VB6 it returns a RS, I need to call that function in  VB.NET, how to get those values into .NET, if can any body can help (pass me some code snippets), that will be greate, Thank you.Madhu... -Madhu hey guys i got this one just by using fill method.-Madhu...

use VB.NET and C#.NET code in the same C#.NET project
All-- Here is a sample that is "off the beaten path", (at least for me). Is it possible, in an ASP.NET application, using the code-behind page building technique, to have both pages written in VB.NET and pages written C#.NET?At there is a sample that shows that, (contrary to popular belief), it IS possible to mix ASP.NET pages built with C#.NET with ASP.NET pages built with VB.NET in the same VS.NET 2003 project. Note that this is just a "fun" sample to see if it can be done and I do not recommend this practice as a "standard" way of develo...

.Net Application generators
There are a few .Net complete n-tier application generators that generate directly from your database. Some even have their own database building tools. They are great and easy to follow and their applications generate real VB.Net and C# code, easy to learn. These are great starts for .Net stuff except for one thing, PRICE. Iron Speed is about $1500 and for the same exact product features ASPNetNow sells for only $279 for their Web Matrix version or $530 for VS version. Another company Avalanche sells for $995. Amazing price ranges. The first two match feature for feature except the first yo...

Where is the ADO.NET Sybase driver for .NET 1.1 and .Net 2.0?
Hi All Does anyone know where I can get the Sybase drivers for ADO.NET for both versions, 1.1 and 2.0/3.0? Cheers Chris Burrell Hi Chris, There is no release of ASE ADO.NET Provider 2.0 (I assume you refer to ASE provider, not ASA - if ASA please port to sybase.public.sqlanywhere.general). For the 1.1 Provider: It is available in the ASE SDK for windows or the PC Client CDRom included with ASE product. On the SDK its available as 12.5.1 and 15.0 On ASE PC Client I think 12.5.1 is part of ASE 12.5.X and 15.0 is part of ASE 15.X 2.0 provider should release som...

Cross-Platform .NET Development: Using Mono, Portable.NET, and Microsoft .NET
Interesting book I came across: Cross-Platform .NET Development $49.99 doesn't hurt too much either :) NOTE: Availability: This item has not yet been released. You may order it now and we will ship it to you when it arrives. It's being released on September 30th, 2004 - one to keep an eye - VB.NET, C#, Silverlight, Javascript, HTML, CSS, T-SQL, MySQL and - Gaming News and Reviews How about this book from Oreilly? Mono: A Developer's Notebook

Net::LDAPS and Net::SSLeay
------_=_NextPart_001_01C3EF1A.51A96530 Content-Type: text/plain Hello all: I am trying to use Net::LDAPS within a perl program in order to establish a secure socket connection with my ldap server. My program works fine if i use the bind function from Net::LDAP module. However, when I changed my source code to use the bind function from Net::LDAPS, my program failed because it complained about the need for IO::Socket::SSL module. Then, when i started to run make for IO::Socket::SSL, it complained about the need for Net::SSLeay. The compilation for Net::SSLeay versio...

what lang does everyone prefer? Thanks, Peter Iuvara, MCP It's a very famous debatable question in forums! I would say if you are from Java/C/C++, then C# would be easy to use for you. If you are from ASP/VB, then VB.NET would be easy for you! As long as if you follow CLS, then what ever the language you use, it's going to be the same for CLR!Sreedharhttp://www.w3coder.orgweblog I would agree with that ... just curious as to what user's on this forum predominantly code in?Thanks, Peter Iuvara, MCP I came from no real programming background, started i...

About And
I am always Programming With Recently My Teacher ask us to learn Vc or I try to learn it and compare it with, I found it's much too complex than vb. However it is said vc is strongger than vb I want to know Why vc is strongger than vb? and is it hard too learn vc? I am new to Thanks for man who want to help me! Wuhan, Hubei, China Below links could give some info;EN-US;Q308470Sreedharhttp://www.w3coder.orgweblog VisualC is not a language in an of itself...

Vp.Net or
Has anyone Created a site with or C# can be seen on Internet . i'd like to learn one of them !? which one would you suggest? With one is better or C# ? thanks Ali Darabian Ah... another person joins the great debate... what about J#? ;) It's a personal choice... depends on your background, on where you are working, etc. My choice is C#.Jason Wyckoff This is the way I look at them: VB.Net and C# are the same thing!?! <=> Have I just sad same???? No they are not same, but... there's again someting.... Do you see the point now. Both are ...

vb .net or c# .net
I currently develop websites using php but have been requested to develop a site using The question I have is for someone who knows php would it be better to transition to or Thanks, Fr. Robert C# -> There is a converter that will transition about 60% or more of your PHP code to C#. Plus C# is closer to PHP than VB.NET.Jason N. GaylordASPInsider and Microsoft MVP or/and
Hi, Can work with Sybase's or are they not compatible with each other. We have two separate groups of developers, one group develops web apps using ASE as the back end for the data, so they use a combination of Visual Studio ..NET and Sybase's to do their work. We have another group that develops client/server apps using Powerbuilder, but since 80% of their work is in writting reports using Powerbuilder, I was wondering if they could use a combination of and to put make these reports available on the web through ...

Net::SSH and Net::FTP?
------_=_NextPart_001_01C3B7DF.20E3F54A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I would like to use SSH to login to a remote system, then using FTP, upload a file from the remote machine to another machine which will display the data. If I can automate this process, I think I'll be in great shape, tell me does this code seem like it would work for this? >use Net::SSH::Perl;=20 >my $ssh =3D Net::SSH::Perl->new($host); #Logging into the remote = machine >$ssh->login;=20 >my($READ, $WRITE) =3D $ssh-&...

VS.NET Projects on the Net
If I'm done with a project/solution that I created with IIS(Localhost) and VS.NET, what files from the solution will I need to upload to the host? (Host in this case is Brinkster(Free Plan)) only the aspx and ascx files ... in the bin folder you will need the compiled dll files ... Also in the root you need: web.config and flobal.asax That's itVerhoeven Bart MCSD.NET Technical Project Leader There is only 2 files in the .bin folder. ..dll file and .pdb All the ACSX and ASPX files are in the project's folder. When ever I try building the project, I get nothing in the B...

Net:FTP, Net::Cmd
I'm using Net::FTp and Net::Cmd modules in a script to completely automate some FTPing stuff. snippet $ftp->put($fileh,"/tmp/test.txt") || die "cant put the file\n"; $ftp->command("chmod","755","test.txt") || die "Cant run quot\n"; $ftp->quit(); I have no luck making the $ftp->command stuff to work. I'm using solaris 5.8 ftp client. Anyway, I can make this work? Native Solaris ftp client/server can not support "quot site" stuff. Am I out of luck?? Please dont offer suggestions to use &...

Web resources about - net send in .net -

Scalia’s death may help liberals dodge losses in Affirmative Action and Union cases
Likely Conservative victories now look like liberal-benefiting deadlocks

‘Tonight Show Valentine’s Day Special’ Ratings Top Slow Sunday, ‘Simpsons’ Down, ‘Madam Secretary’ Up ...
There was neither Super Bowl nor a Grease Live! dominating primetime on Sunday and the Grammys isn't on until tonight. In fact, with specials ...

TIDAL Flubs Kanye West’s Album Release
Digital music service TIDAL climbed to the top of the App Store, thanks to scoring the exclusive rights to Kanye West’s new album, “The Life ...

Ted Cruz Warns Donald Trump Would Nominate A Liberal Justice
It wasn't long after the death of Supreme Court Justice Antonin Scalia before Sen. Ted Cruz (R-Texas) seized the opportunity to formulate a new ...

What it's like to be Drake's guardian angel at the NBA All-Star Game
From Meek Mill to President Obama , Drake’s legion of enemies has grown, along with his paranoia — leaving him dangerously exposed during “ the ...

Would 'The Revenant' as an old-timey silent movie still get an Oscar nom?
Remember the good ol' days before movies had gigantic budgets and spectacular special effects? Neither do we. But there was once a time when ...

Why life as a zombie on 'The Walking Dead' would actually be paradise
The world of AMC 's The Walking Dead is a grim place full of violence and despair. Amid the anarchy of the zombie apocalypse, the survivors must ...

Hulu's universal Windows 10 app features live tiles and Cortana
Nathan Ingraham / Engadget : Hulu's universal Windows 10 app features live tiles and Cortana — A big part of the promise of Windows 10 is the ...

Avril Lavigne, Chad Kroeger Back Together? Couple Seen At Pre-Grammy Party
Just months after a split was announced, the Avril Lavigne-Chad Kroeger relationship is back on again. The couple, who separated in September ...

Monday Morning News: Scalia, Adidas, Star Wars, Gay Slurs, Ian Thorpe
FREE AS MY HAIR. Zayn Malik goes pink. — zayn (@zaynmalik) February 13, 2016 CONSPIRACY THEORIES. Scalia was murdered ...

Resources last updated: 2/15/2016 6:33:15 PM