I am upgrading my application from vb6 to vs2008 C# using Microsoft.VisualBasic.powerpacks.
How would I go about converting the following code to something that would print a form in C#.
Or is there a better way?
For Each prnPrinter In Printers
If prnPrinter.DeviceName = gstrReportPrinter Then
Set Printer = prnPrinter
I have added: using Microsoft.VisualBasic.PowerPacks.Printing;
Thanks for your help!!