In VB to check system i put the following command Do While .busy: DoEvents: Loop Do While .ReadyState <> 4: DoEvents: Loop How the same can be done in VB Script? Thank you.
In VB to check system i put the following command Do While .busy: DoEvents: Loop Do While .ReadyState <> 4: DoEvents: Loop How the same can be done in VB Script? Thank you.
Assuming this is simple WSH hosted VBScript doing IE automation... '...with block assumed Do While .busy: WScript.sleep 10: Loop Do While .ReadyState <> 4: WScript.sleep 10: Loop '...end with assumed -- Michael Harris MVP - Windows Server Admin Frameworks
1.check if I am reinventing the wheel?
Hi, I have 2 dataviews for 2 tables, Master and Detail. I filter dataview1 on a name field which gives me say 2 rows with 2 ID's (ID field). Detail table contains 2 rows with first ID and 2 rows with 2nd ID. Here is what I do to filter the Detail dataview on these 2 ID values: For i As Integer = 0 to dataview1.Count - 1 strCriteria = strCriteria & dataview1(i).Item ("ID").ToString Next strCriteria = Microsoft.VisualBasic.Left(strCriteria, StrCriteria.Length - 1) 'get rid of last comma dataview2.RowFilter = "ID In (" & strCriteria & ")" Note: The App's Dataset1 contains Master and Detail tables and these 2 tables are joined on ID with constraints set, etc. Can I use the constraint in Dataset1 to filter dataview2 (detail) or am I OK with the routine above? How? Thanks, Jerry
2.I am new to VBA and am stuck
3.Checking System Information with ActiveX ?
4.How to check system default browser?
Hi, I need to open a .xml file with system default browser. But whenever I open the file using Process.Start, it will open the default program that handles .xml. Anyone knows how to detect the default browser so I can use it to open the .xml? Thanks, Tee
5.Backup up system state with NTbackup through a VB script (I need error checking)
I am currently backing the system state on various machines with ntbackup that is launched through a VB script. The script also sends e-mails when its completed. What I need to do is add code that does error checking for when ntbackup fails.Instead of sending an e-mail when it completes I need to change it to send one when it fails. Does anyone have any code out there that does that? Any help would be appreciated. Thanks Robert
6. How to Check a Printer is connected to a system from VB.
Users browsing this forum: No registered users and 45 guest