|  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11
SQL Server Management
IS it possible use SMO to manage SQL Server using VBScript? Thanks, Felipe ... 6 Jul 2008 17:04
LATEST SHOCKING HOT NEWS FROM MICROSOFT.......
YES ITS REALLY HEART BREAKING NEWS FOR EVERYONE http://polticsinfs.blogspot.com/ ... 6 Jul 2008 10:56
Terminate Process Problem with Option Explicit Breaks functionalit
"Jeff Lynch" wrote: Been busy cleaning up some code and i noticed that one of my scripts wasn't using Option Explicit. Now i am no guru but i figure it's always a better option to use that setting. Anyway here is the Scripts Intention and the problem will follow: Script Purpose: Kill Hung service w... 6 Jul 2008 07:53
Terminate Process Problem with Option Explicit Breaks functionality
Been busy cleaning up some code and i noticed that one of my scripts wasn't using Option Explicit. Now i am no guru but i figure it's always a better option to use that setting. Anyway here is the Scripts Intention and the problem will follow: Script Purpose: Kill Hung service whether local or remote. Problem: ... 6 Jul 2008 00:46
VarType constant 10 -- vbError
In VBS there is a function CVErr I works like so (using Excel 2003) Sub Test() Dim vTest As Variant vTest = CVErr(0) Debug.Print CStr(vTest) & vbTab & VarType(vTest) & vbTab & TypeName(vTest) End Sub The output is: Error 0 10 Error Although the VarType constant is valid in VBScript, the function is... 5 Jul 2008 18:39
WMI for Local Security Policy
I am trying to find the WMI or WMIs that will show the "Log on as a batch job Properties" located in "User Rights Assignment". The path of what I am looking for is: 1. At the taskbar, select Start|Programs|Administrative Tools|Local Security Policy 2. Within Local Security Settings|Local Policies, select 'Use... 4 Jul 2008 11:02
wshremote not running script on remote computer
Hi all, I am trying to run a simple script that opens the cmd shell on a remote computer. I have two scripts; the first script asks for the computer to run the script on and the script to run on that remote computer and the second script is the script that is run and called by script 1. below is script 1; ... 6 Jul 2008 16:03
Multiple IF Conditions
Is there a better way to handle multiple IF Conditions like IF condition1 AND condition2 AND condition3 AND .... THEN code END IF Now suppose i have 30 to 40 conditions to test, how do i handle this snippet in an easier manner. Guide -------------------------- http://www.eecpindia.com http:... 5 Jul 2008 13:33
Handling Events in a VBScript Class
I can handle events fired by an object as follows: set objTest=WScript.CreateObject("TheObject.TheFunction","objTest_") Sub objTest_TheEvent 'The event handler code. End Sub The above works quite nicely. I want to do the following: Class WrapperClass Sub Class_Initialize set objTest=WScript.Creat... 5 Jul 2008 11:30
[ann] another way to call api's from script (the PB way)
I know what you're thinking. If microsoft wanted scripters to be calling api's from script, then they would have built that capability into the scripting engine. And besides, isn't there already a DynaWrap utility for those who would dare to trespass outside the boundaries of accepted scripting norms? True... ... 3 Jul 2008 13:33
restart a process in XP ..
Hi there, I'm not a programmer and would really appricate some help here. I need a VB script to get the PID of a running process from the name and then kill it and/or restart it. I read about taskkill, but that opens a DOS box and requires the name of the process, the PID of which changes. Don't ask me to s... 3 Jul 2008 12:31
reading stderror stream
An anybody provide me with the answer to the following; I am calling an wshshell.exec to execute a program. I can read the stdout perfectly from this, but I would like to read the stderror so that it provides more information as to what went wrong. I have tried playing around with vbs and reading the stderr ... 4 Jul 2008 05:55
Permission Denied in Vista with vbscript
Hi, I am trying to put some files in Program Files folder in Vista machine using VB script but I see "Permission Denied" with Error Number: 70 Could some put some light on this. Thanks in advance, ... 3 Jul 2008 23:48
 |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9 10 11