|
Function returning a value Hello, I want to return a value with a function. I call the function like this : NameVar = function(NameVar2) The code of the function looks like this : function(NameVar2) If NameVar2 = statement Then function = 0 Else function = 1 End if After I called the function,... 9 Jul 2008 02:26
HTML screen scraping and IE Object Models Have been writing cool code (believe it or not) in VBA, for going against certain web sites and collecting data for the database. Everything works well with Excel's VBA going against IE data and parsing the HTML and getting innerHTML's etc. This is with Office 2007, Windows XP, IE 70.0.5730.13 But when you use... 12 Jul 2008 10:30
NTVDM Error We keep getting a NTVDM error on our servers. I would like to be able to respond to this error with an "I". How would one go about this in VBScript? The error generates a windows pop-up window with two buttons Cancel and Ignore. We have MOM monitoring for this condition and someone has to get up in the middle o... 7 Jul 2008 11:28
From one programmer to another WMIExplorer and Win32_Bios Discovery ManagementPack Viewer might be worth downloading Okay, its been a while since I upgraded one of my tools for scripting and this might not be for everyone here but my latest, totally free and here to help you tools is available at: http://www.download.com/3120-20_4.html?qt=WMIExplorer&tag=srch&tg=dl-20 There are more over on my site, too. http://www.Plane... 7 Jul 2008 11:28
the ultimate gui component for js/vbs hi, awesome freeware gui component written by Alexander Veretennikov russian doc only but syntax is "almost" explicit and samples very clear link: http://cs.usu.edu.ru/home/abv/WSO/Download.aspx?m=1 ... 8 Jul 2008 13:07
"If time = xx.xx Then" not working? Hi, Not a Vb programmer, trying to get the following working is proving difficult. Esentially at the moment the script opens IE on a page and refreshes periodically, I need it to close the browser at a certain time, if doesn't seem to do anything with the If mytime = xx.xx then statement in the while loop. i'm p... 8 Jul 2008 15:10
Replace function on a variable? Hi there I have a script that is getting data from a mssql server and putting it into a mysql serever. One of the things i get is a windows username, wich is written DOMAIN\username. The problem is the backslash that needs to be escaped. This can be done using replace. Replace("DOAMIN\username","\","\\"... 7 Jul 2008 20:44
Events with parameters in windows script components this is legal: <event name="Cycle"> <PARAMETER name="LoopCount"/> </event> At least, it raises no errors. Firing the events like so: fireEvent "Cycle" Also suceeds, even with the parameter included as above. This event handler sinks the event correctly: Sub oTL_Cycle() WScript.Echo "Cycle: " & o... 7 Jul 2008 12:30
SQL Server Management IS it possible use SMO to manage SQL Server using VBScript? Thanks, Felipe ... 8 Jul 2008 04:54
LATEST SHOCKING HOT NEWS FROM MICROSOFT....... YES ITS REALLY HEART BREAKING NEWS FOR EVERYONE http://polticsinfs.blogspot.com/ ... 7 Jul 2008 16:38 |