By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,285 Members | 1,647 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,285 IT Pros & Developers. It's quick & easy.

run an exe

P: n/a

Hey there,

i wanna fire up the Add Printer wizard.

In vb 6.0 i used:
RunShell "rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL
AddPrinter"

whats the code in vb.net ?

i need the code.

Thanx
Nov 20 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
* "Will" <an*******@discussions.microsoft.com> scripsit:
i wanna fire up the Add Printer wizard.

In vb 6.0 i used:
RunShell "rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL
AddPrinter"


\\\
System.Diagnostics.Process.Start("rundll32.exe..." )
///

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2

P: n/a

thanx ... but i need the full code ... PLEASE
-----Original Message-----
* "Will" <an*******@discussions.microsoft.com> scripsit:
i wanna fire up the Add Printer wizard.

In vb 6.0 i used:
RunShell "rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter"


\\\
System.Diagnostics.Process.Start("rundll32.exe... ")
///

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
.

Nov 20 '05 #3

P: n/a
* <an*******@discussions.microsoft.com> scripsit:
thanx ... but i need the full code ... PLEASE


That's the full code.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

P: n/a

<an*******@discussions.microsoft.com> wrote in message
news:08****************************@phx.gbl...

thanx ... but i need the full code ... PLEASE
-----Original Message-----
* "Will" <an*******@discussions.microsoft.com> scripsit:
i wanna fire up the Add Printer wizard.

In vb 6.0 i used:
RunShell "rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter"


\\\
System.Diagnostics.Process.Start("rundll32.exe... ")
///

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
.


Here is the "full code"

System.Diagnostics.Process.Start _
("rundll32.exe","shell32.dll,SHHelpShortcuts_RunDL L AddPrinter")

Suefffel
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004
Nov 20 '05 #5

P: n/a
Hi,

Watch and copy examples of Source Code in VB.NET
http://www.run.to/yulyos-vbnetat web site:

Have a nice day

From:
yu****@yahoo.com
http://www.go.to/yulyos
http://www.run.to/yulyos-vbnet
Development and writing software programs

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.