|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Open Printers Folder"Paul" <pwh***@gmail.com> wrote in message PrintDialog1.ShowDialog()news:1144949883.420066.142610@u72g2000cwu.googlegroups.com... > How do you open the Printers folder from code in VB.NET? No, sorry for the confusion...I'm not trying to print something. I
need the Printers folder that is found in the Control Panel. Go to the Control Panel and you will see an icon for the Printers Folder. That is what I need. You mean the data contained in there? Or actually pop up the Control Panel
applet? Jeff Show quoteHide quote "Paul" <pwh***@gmail.com> wrote in message news:1144957114.165979.280430@g10g2000cwb.googlegroups.com... > No, sorry for the confusion...I'm not trying to print something. I > need the Printers folder that is found in the Control Panel. Go to the > Control Panel and you will see an icon for the Printers Folder. That > is what I need. > "Paul" <pwh***@gmail.com> schrieb: \\\> How do you open the Printers folder from code in VB.NET? Imports System.Diagnostics .... Process.Start("rundll32.exe", "shell32.dll,Control_RunDLL main.cpl @2") /// -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/>
http://vbnet.mvps.org/index.html?code/system/controlpnl4.htm
Paul ha scritto: Show quoteHide quote > How do you open the Printers folder from code in VB.NET? Thanks all!
Herfried, the "shell32.dll,Control_RunDLL main.cpl @2" argument did not work. It didn't do anything. But tommaso's link gave another argument that did.
.NET 1.1 app runs on .NET 2.0?
Accessing a camrea & char in XML document Warning Text Files Access best use of vb.net and multithreading Crystal "PrintToPrinter" will not print to Zebra Label Printer... HELP! Duplicate controls on tab pages IO.File.AppendText error "Cross-thread operation not valid" without threading!! ComboBox in Bound DataGrid (VB 2003) |
|||||||||||||||||||||||