Click here to Skip to main content
16,005,038 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralCalling an .exe inside VB.NET Pin
baby.chai9-Apr-03 5:26
baby.chai9-Apr-03 5:26 
GeneralRe: Calling an .exe inside VB.NET Pin
baby.chai9-Apr-03 7:16
baby.chai9-Apr-03 7:16 
QuestionSort Array? Pin
bjblackmore8-Apr-03 23:42
bjblackmore8-Apr-03 23:42 
AnswerRe: Sort Array? Pin
Nick Seng9-Apr-03 15:18
Nick Seng9-Apr-03 15:18 
AnswerRe: Sort Array? Pin
Member 26118811-Apr-03 1:50
Member 26118811-Apr-03 1:50 
GeneralAccess Form question Pin
aldrus8-Apr-03 8:44
aldrus8-Apr-03 8:44 
GeneralRe: Access Form question Pin
Dave Kreskowiak8-Apr-03 11:27
mveDave Kreskowiak8-Apr-03 11:27 
GeneralPrinter Pool and WshNetwork Pin
Zulfikar Ali8-Apr-03 5:11
Zulfikar Ali8-Apr-03 5:11 
I am chaning default printer using WshNetwork. In my project there is a printer pool and machine is Win2k. My code works fine on my machine(XP). But when i try to change the printer on Win2K it doesn't work, if one of the printer is turned off on the printer pool.

Here is the code:

Dim WshNetwork = CreateObject("WScript.Network")
WshNetwork.SetDefaultPrinter(cbobwprinter.Text)
MsgBox("Success")
Catch ex As Exception
MsgBox(ex.ToString)
MsgBox("Can't set the default printer!", MsgBoxStyle.Critical)

Any idea why it won't work in Win2K! .Net framework is installed on Win2K box. Thanks

Zulfikar Ali
GeneralCreating RGN of form Pin
THEMYTH8-Apr-03 2:34
THEMYTH8-Apr-03 2:34 
GeneralRe: Creating RGN of form Pin
Wayne Phipps8-Apr-03 5:23
Wayne Phipps8-Apr-03 5:23 
GeneralRe: Creating RGN of form Pin
THEMYTH8-Apr-03 8:45
THEMYTH8-Apr-03 8:45 
GeneralRe: Creating RGN of form Pin
J. Dunlap8-Apr-03 9:07
J. Dunlap8-Apr-03 9:07 
GeneralRe: Creating RGN of form Pin
THEMYTH8-Apr-03 11:49
THEMYTH8-Apr-03 11:49 
GeneralDataGrid Problem/Question Pin
Mike Murphy8-Apr-03 1:29
Mike Murphy8-Apr-03 1:29 
Generaldatabase question Pin
Sarvesvara (BVKS) Dasa7-Apr-03 22:55
Sarvesvara (BVKS) Dasa7-Apr-03 22:55 
GeneralRe: database question Pin
Ray Cassick8-Apr-03 1:28
Ray Cassick8-Apr-03 1:28 
GeneralRe: database question Pin
Sarvesvara (BVKS) Dasa8-Apr-03 1:54
Sarvesvara (BVKS) Dasa8-Apr-03 1:54 
GeneralRe: database question Pin
Ray Cassick8-Apr-03 2:21
Ray Cassick8-Apr-03 2:21 
GeneralRe: database question Pin
Sarvesvara (BVKS) Dasa8-Apr-03 23:54
Sarvesvara (BVKS) Dasa8-Apr-03 23:54 
GeneralWindows DataGrid Control Column Formatting Pin
Paros7-Apr-03 1:47
Paros7-Apr-03 1:47 
QuestionIs the logged on user an administrator? Pin
Duncan Edwards Jones7-Apr-03 0:59
professionalDuncan Edwards Jones7-Apr-03 0:59 
AnswerRe: Is the logged on user an administrator? Pin
Richard Deeming7-Apr-03 1:55
mveRichard Deeming7-Apr-03 1:55 
GeneralRichtextBox Control Pin
Fleischen6-Apr-03 6:57
Fleischen6-Apr-03 6:57 
GeneralVery basic question Pin
Sarvesvara (BVKS) Dasa5-Apr-03 22:47
Sarvesvara (BVKS) Dasa5-Apr-03 22:47 
GeneralRe: Very basic question Pin
J. Dunlap6-Apr-03 7:47
J. Dunlap6-Apr-03 7:47 

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.