Click here to Skip to main content
16,007,277 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: help with making a web browser Pin
Zinzara18-Mar-05 4:40
Zinzara18-Mar-05 4:40 
GeneralRe: help with making a web browser Pin
Dr_Lomax18-Mar-05 4:48
Dr_Lomax18-Mar-05 4:48 
Questiontextbox to loop? Pin
Makniteasy17-Mar-05 7:24
Makniteasy17-Mar-05 7:24 
AnswerRe: textbox to loop? Pin
Robert Rohde17-Mar-05 10:05
Robert Rohde17-Mar-05 10:05 
GeneralSending messages from one app to another app Pin
j1webb17-Mar-05 6:27
j1webb17-Mar-05 6:27 
GeneralDial the Net Automatically Pin
Member 180980717-Mar-05 4:53
Member 180980717-Mar-05 4:53 
QuestionDisplaying a Variable? Pin
pn199517-Mar-05 2:58
pn199517-Mar-05 2:58 
AnswerRe: Displaying a Variable? [EDITED] Pin
Dave Kreskowiak17-Mar-05 4:57
mveDave Kreskowiak17-Mar-05 4:57 
pn1995 wrote:
Set colItems = objWMIService.ExecQuery("SELECT * FROM win32_OperatingSystem", "WQL", _
wbemFlagReturnImmediately + wbemFlagForwardOnly)


Get rid of the wbemFlagReturnImmediately flag. It'll cause the ExecQuery call to retrun immediately, without waiting for any actual data to come back. You're variables are then getting assigned blank strings because, obviously, you didn't wait for the ExecQuery call to return any data!

[EDIT]
Replace it with the wbemFlagReturnWhenComplete instead. It'll cause the call to block until some actual data is returned.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Displaying a Variable? [EDITED] Pin
pn199517-Mar-05 5:18
pn199517-Mar-05 5:18 
Generala record delete problem Pin
Anonymous17-Mar-05 0:13
Anonymous17-Mar-05 0:13 
GeneralRe: a record delete problem Pin
Sebastien Lachance17-Mar-05 6:57
Sebastien Lachance17-Mar-05 6:57 
GeneralWindows 2000 Server Pin
ga051016-Mar-05 4:38
sussga051016-Mar-05 4:38 
Generalreading a .txt file for data in VB .NET Pin
bizjosh16-Mar-05 2:17
bizjosh16-Mar-05 2:17 
GeneralRe: reading a .txt file for data in VB .NET Pin
Christian Graus16-Mar-05 15:38
protectorChristian Graus16-Mar-05 15:38 
GeneralRe: reading a .txt file for data in VB .NET Pin
Dr_Lomax18-Mar-05 4:59
Dr_Lomax18-Mar-05 4:59 
GeneralRe: reading a .txt file for data in VB .NET Pin
j1webb18-Mar-05 12:13
j1webb18-Mar-05 12:13 
QuestionDo you know why its happened? Pin
Mohamed Ishak15-Mar-05 23:59
professionalMohamed Ishak15-Mar-05 23:59 
GeneralPropertyGrid - Internet Explorer hosting problem Pin
Member 88279715-Mar-05 19:11
Member 88279715-Mar-05 19:11 
GeneralRe: PropertyGrid - Internet Explorer hosting problem Pin
Member 88279717-Mar-05 20:21
Member 88279717-Mar-05 20:21 
GeneralCrossWord puzzle alogrithm Pin
Mohsen Saad15-Mar-05 18:06
Mohsen Saad15-Mar-05 18:06 
GeneralRe: CrossWord puzzle alogrithm Pin
Colin Angus Mackay16-Mar-05 0:14
Colin Angus Mackay16-Mar-05 0:14 
GeneralCrystal Report:The LoadSaveReportException: Load Report Error Pin
Bing Chen15-Mar-05 10:41
Bing Chen15-Mar-05 10:41 
QuestionHow to send info out the lpt port????? Pin
mjvone15-Mar-05 10:09
mjvone15-Mar-05 10:09 
AnswerRe: How to send info out the lpt port????? Pin
Christian Graus15-Mar-05 10:47
protectorChristian Graus15-Mar-05 10:47 
QuestionHow can I make Control Array in VB.net Pin
Suman Singh15-Mar-05 10:07
professionalSuman Singh15-Mar-05 10:07 

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.