Here is an example code snippet. Replace the site address, field names and values to match the form you want to submit. Save the code in a file and save it using vbs (VBScript) extension. Double click on the file and you are done.
Set IE = CreateObject("InternetExplorer.Application")
set WshShell = WScript.CreateObject("WScript.Shell")
IE.Navigate "http://mydomain.com/form.asp"
IE.Visible = True
Wscript.Sleep 2000
IE.Document.All.Item("uselectid").Value = "10001"
IE.Document.All.Item("category").Value = "19"
IE.Document.All.Item("rep").Value = "10001"
IE.Document.All.Item("title").Value = "A new problem title"
IE.Document.All.Item("description").Value = "Description of the new problem"
call IE.Document.Forms(0).Submit()
Archive for January, 2009
How to Auto Submit a Form in VBScript
January 20, 2009File and Folder Security – Installing PHP Based Web Application on Windows Machine
January 10, 2009Setting up php based web applications such as SMF etc. requires to set file and folder permission. In XP using NTFS file system, this is a problem when Anonymous website access is set. By default in-process applications such as ASP web pages use IUSR_MACHINE account and ISAPI applications (e.g. PHP) and other out-of-process applications use IWAM_MACHINE account for anonymous access.
I was trying to setup files and folder access required to install SMF using either of the two anonymous user account but failed.
So I just reset the SMF virtual directory access to use Windows Authentication and thereafter I found no problem installing SMF.
Installing PHP 5 on IIS 5 or IIS 6 in 5 simple steps
January 8, 2009Just click the link below and follow the steps outlined there:
Installing PHP 5 on IIS 5 or IIS 6 in 5 simple steps