how to add new application mapping in iis
Hi, How can I add new application mapping in IIS using vbscript? Thanks, ...
Hi, How can I add new application mapping in IIS using vbscript? Thanks, ...
Hi, I have some code that opens a word document using VBScript on an ASP.net page: set objWord = CreateObject("Word.Application") objWord.Visible = True objWord.Documents.Open "c:\inetpub\wwwroot\JSWordTest\test.doc", False, False, False This works great but opens the word doc in another window. Ideally I would like to make this look...
We are in a Windows environment and looking to automate this process for non-company machines. If a vendor comes on site, we'd like to be able to have him/her hit a website that can perform a quick scan of the workstation to determine if they have the proper MS KB patches and if their virus scanner dats are up to date. I can scan for t...
The question says it all really, but... I'm scanning through a file looking for lines that match a certain regex pattern, and then I want to print out the lines that match but in alphabetical order. I'm sure this is trivial but vbscript isn't my background my array is defined as Dim lines(10000) if that makes any difference, and I'm...
Our VSS setup is like this: We have a set of unique folders with 100s of files in them. I need to, from within VBScript, get the latest version of all files in a set of folders and put them into a local directory so that other operations can be performed on them. The reason for VBScript is, well, vague even to me. Perhaps VB or C# .NET w...
I am looking to encrypt some data using Rijndael/AES in VBScript using a specific key and IV value. Are there any good function libraries or COM components that would be good to use? I looked at CAPICOM; it allows a passphrase only, and won't allow setting specific key and IV values. ...
According to Borland you can access StarTeam via VBScript. I was wondering if anyone had any sample code showing how to do this. ...
How can I find out the number of dimensions in an array in Classic ASP ( VBScript ) . I am being passed an Array with multiple dimensions but I only want to look at the last. Seems easy in other languages. ...
The Custom Action is configured as follows: Custom Action Name: MyCustomAction VBScript Filename: <PathVar01>\MyFolder\MyVBSfile.vbs ScriptFunction: MyFunction Return Processing: Synchronous (Check exit code) In-Script Execution: Immediate Execution It is being executed via the following InstallScript code: res...
Background: we have an application that generates reports from HTML (that may or may not have inline scripting). The HTML source is normally stored as a blob in the database. There is now the need to hard-code a particular report into the application (i.e. so that it is not database dependent). I first tried it the brute force way (cutt...
What are the best ways (or at least most common ways) in ASP (VB script) for input handling? My main concerns are html/javascript injections & SQL injections. Is there some equivalent to php's htmlspecialchars or addslashes, et cetera? Or do I have to do it manualy with something like sring replace functions? I'm sorry for asking such a...
How do I replace text from one file with text from another file using vbscript? The text being replaced is somewhere in the middle of the file. ...
I'm attempting to utilize VBScript to connect pull the physicalDeliveryOfficeName attribute in Active Directory by providing the email address. I know how to do it with a common name like the following: Set MyUser = GetObject ("LDAP://cn=" & uname & ",ou=" & strname & ",DC=bobdom,DC=net") However only the email address is available...
I have a VBScript script that starts a cmd prompt, telnets into a device and TFTP's the configuration to a server. It works when I am logged in and run it manually. I would like to automate it with Windows Task Scheduler. Any assistance would be appreciated, here is the VBScript script: set WshShell = WScript.CreateObject("WScript.Shel...
<% Set xmlDoc = Server.CreateObject("MSXML2.DOMDOCUMENT") xmlDoc.loadXML( "<response />" ) Set node = xmlDoc.createElement("account") xmlDoc.documentElement.AppendChild node Set node = xmlDoc.createElement("type") node.Text = "TheType" xmlDoc.documentElement.AppendChild node Set node = Nothing %> This...
24x7 from SoftTree Technologies can use both JAL and VBScript for scripting. Does anyone know if there is a converter to change JAL into VBScript? ...
Hi, Like the title says, how can I remove GAC assembly file using vbscript? Any help will be appreciated, Thanks, John, ...
I'm supporting/enhancing a web application written in Classic ASP/VBScript. It has been about 10 years since I have used either in a day to day capacity. I just ran across an issue that I would consider a "gotcha" and was wondering if others had similar things that I should learn to be aware of. My issue: I had to convert a Column in ...
I have an ASP website which I need to add a RegEx match to. Is there any support for RegEx in ASP/VBScript? Thank you, Brett ...
When extracting files from a ZIP file I was using the following. Sub Unzip(strFile) ' This routine unzips a file. NOTE: The files are extracted to a folder ' ' in the same location using the name of the file minus the extension. ' ' EX. C:\Test.zip will be extracted to C:\Test ' 'strFile (String) = Full path and filename of the file to...