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

Visual Basic

 
QuestionUnhandled Exception Pin
Tauseef A21-Oct-08 16:58
Tauseef A21-Oct-08 16:58 
AnswerRe: Unhandled Exception Pin
Colin Angus Mackay21-Oct-08 22:51
Colin Angus Mackay21-Oct-08 22:51 
QuestionText Boxes Print Preview Pin
jagdishg21-Oct-08 9:11
jagdishg21-Oct-08 9:11 
AnswerRe: Text Boxes Print Preview Pin
Dave Kreskowiak21-Oct-08 10:32
mveDave Kreskowiak21-Oct-08 10:32 
GeneralRe: Text Boxes Print Preview Pin
jagdishg21-Oct-08 12:22
jagdishg21-Oct-08 12:22 
GeneralRe: Text Boxes Print Preview Pin
Dave Kreskowiak22-Oct-08 4:49
mveDave Kreskowiak22-Oct-08 4:49 
QuestionNeed advice with WshNetwork PLEASE Pin
Trey549821-Oct-08 8:54
Trey549821-Oct-08 8:54 
AnswerRe: Need advice with WshNetwork PLEASE Pin
Dave Kreskowiak21-Oct-08 10:24
mveDave Kreskowiak21-Oct-08 10:24 
Trey5498 wrote:
WshNetwork.AddWindowsPrinterConnection("LPR", "\\at-cetus.ad.ufl.edu\CSE-211-CLQ", "True")


I don't know if it'll work on a background thread, but that's what I'm looking at.

The arguments you're passing to AddWindowsPrinterConnection are wrong. It's the printer path that goes first (you have it second), then the driver name to use (which you don't specify). On NT Kernel Windows, the third parameter ("True" isn't exactly a valid port name!) is ignored.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Need advice with WshNetwork PLEASE Pin
Trey549822-Oct-08 2:04
Trey549822-Oct-08 2:04 
GeneralRe: Need advice with WshNetwork PLEASE Pin
Dave Kreskowiak22-Oct-08 4:34
mveDave Kreskowiak22-Oct-08 4:34 
GeneralRe: Need advice with WshNetwork PLEASE Pin
Trey549822-Oct-08 5:05
Trey549822-Oct-08 5:05 
GeneralRe: Need advice with WshNetwork PLEASE Pin
Dave Kreskowiak22-Oct-08 6:37
mveDave Kreskowiak22-Oct-08 6:37 
QuestionNeed Help on Custom Action Installer Pin
Saseendran Kombath21-Oct-08 8:19
Saseendran Kombath21-Oct-08 8:19 
AnswerRe: Need Help on Custom Action Installer Pin
Dave Kreskowiak21-Oct-08 8:29
mveDave Kreskowiak21-Oct-08 8:29 
GeneralRe: Need Help on Custom Action Installer Pin
Saseendran Kombath21-Oct-08 23:34
Saseendran Kombath21-Oct-08 23:34 
GeneralRe: Need Help on Custom Action Installer Pin
Dave Kreskowiak22-Oct-08 4:22
mveDave Kreskowiak22-Oct-08 4:22 
GeneralRe: Need Help on Custom Action Installer Pin
Saseendran Kombath23-Oct-08 4:15
Saseendran Kombath23-Oct-08 4:15 
QuestionHow do remove unwanted coulmns from a data grid? Pin
Arun Philip R21-Oct-08 8:09
Arun Philip R21-Oct-08 8:09 
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Wendelius21-Oct-08 8:28
mentorWendelius21-Oct-08 8:28 
QuestionRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R21-Oct-08 8:41
Arun Philip R21-Oct-08 8:41 
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Wendelius21-Oct-08 8:50
mentorWendelius21-Oct-08 8:50 
GeneralRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R22-Oct-08 3:22
Arun Philip R22-Oct-08 3:22 
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R22-Oct-08 4:00
Arun Philip R22-Oct-08 4:00 
GeneralRe: How do remove unwanted coulmns from a data grid? Pin
Wendelius22-Oct-08 7:36
mentorWendelius22-Oct-08 7:36 
AnswerRe: How do remove unwanted coulmns from a data grid? Pin
Arun Philip R6-Nov-08 6:32
Arun Philip R6-Nov-08 6:32 

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.