Click here to Skip to main content
15,891,704 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: WEB Services in vb6.0 Pin
Smithers-Jones21-Jul-11 9:04
Smithers-Jones21-Jul-11 9:04 
QuestionIs it possible to add multi level sub menu to toolbar [style = Dropdown] Pin
Nanda_MR20-Jul-11 19:22
Nanda_MR20-Jul-11 19:22 
AnswerRe: Is it possible to add multi level sub menu to toolbar [style = Dropdown] [modified] Pin
Suresh Suthar20-Jul-11 21:03
professionalSuresh Suthar20-Jul-11 21:03 
GeneralRe: Is it possible to add multi level sub menu to toolbar [style = Dropdown] Pin
Nanda_MR20-Jul-11 23:45
Nanda_MR20-Jul-11 23:45 
AnswerRe: Is it possible to add multi level sub menu to toolbar [style = Dropdown] Pin
MikeD 229-Jul-11 3:56
MikeD 229-Jul-11 3:56 
QuestionRetrieving GUID from installation Pin
T.RATHA KRISHNAN20-Jul-11 2:16
T.RATHA KRISHNAN20-Jul-11 2:16 
AnswerRe: Retrieving GUID from installation Pin
Dave Kreskowiak20-Jul-11 7:01
mveDave Kreskowiak20-Jul-11 7:01 
QuestionPrinting files in the background Pin
Simon_Whale20-Jul-11 0:23
Simon_Whale20-Jul-11 0:23 
I need the ability to print files out from our application. I can use the ProcessStartInfo to do this in the background with out any issue using the following code:

VB
Dim psi As New ProcessStartInfo()
       With psi
           .Verb = "print"
           .WindowStyle = ProcessWindowStyle.Hidden
           .FileName = "C:\Quote.pdf"
           .UseShellExecute = True
       End With


I also need to be able to change the printer that it uses depending on the reports specified. But I need to be able to change the printer in the background without user interaction

Does anyone know how to change the printer for the print job? or am I going about this the wrong way?

Thanks
Simon
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch

AnswerRe: Printing files in the background Pin
Dave Kreskowiak20-Jul-11 6:57
mveDave Kreskowiak20-Jul-11 6:57 
GeneralRe: Printing files in the background Pin
Simon_Whale25-Jul-11 22:31
Simon_Whale25-Jul-11 22:31 
AnswerRe: Printing files in the background Pin
Tim Carmichael26-Jul-11 3:14
Tim Carmichael26-Jul-11 3:14 
QuestionNull reference exception Pin
David C# Hobbyist.19-Jul-11 9:38
professionalDavid C# Hobbyist.19-Jul-11 9:38 
AnswerRe: Null reference exception Pin
DaveAuld19-Jul-11 9:54
professionalDaveAuld19-Jul-11 9:54 
GeneralRe: Null reference exception Pin
David C# Hobbyist.19-Jul-11 9:58
professionalDavid C# Hobbyist.19-Jul-11 9:58 
AnswerRe: Null reference exception Pin
Dave Kreskowiak19-Jul-11 9:58
mveDave Kreskowiak19-Jul-11 9:58 
GeneralRe: Null reference exception Pin
David C# Hobbyist.19-Jul-11 10:04
professionalDavid C# Hobbyist.19-Jul-11 10:04 
GeneralRe: Null reference exception Pin
David Mujica19-Jul-11 10:06
David Mujica19-Jul-11 10:06 
JokeRe: Null reference exception Pin
Eddy Vluggen19-Jul-11 10:42
professionalEddy Vluggen19-Jul-11 10:42 
GeneralExplicit Pin
David Mujica20-Jul-11 6:29
David Mujica20-Jul-11 6:29 
GeneralRe: Explicit Pin
Eddy Vluggen20-Jul-11 7:35
professionalEddy Vluggen20-Jul-11 7:35 
GeneralRe: Null reference exception Pin
Shameel20-Jul-11 9:40
professionalShameel20-Jul-11 9:40 
Questionerror while converting string xml to xml using xelement Pin
Ankit Aneja19-Jul-11 5:47
Ankit Aneja19-Jul-11 5:47 
QuestionRe: error while converting string xml to xml using xelement Pin
Richard MacCutchan19-Jul-11 6:34
mveRichard MacCutchan19-Jul-11 6:34 
AnswerRe: error while converting string xml to xml using xelement Pin
Ankit Aneja19-Jul-11 6:37
Ankit Aneja19-Jul-11 6:37 
GeneralRe: error while converting string xml to xml using xelement Pin
Dave Kreskowiak19-Jul-11 7:05
mveDave Kreskowiak19-Jul-11 7:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.