How do I make a form when I am writting in VBscript (i.e. .vbs files).
Does anyone know this or is it impossible.
Printable View
How do I make a form when I am writting in VBscript (i.e. .vbs files).
Does anyone know this or is it impossible.
I dont't think it is possible.Forms(windows) are made Through API and in VBScript You can't use API.Visual Basic makes the form automatically unlike VC++.
Vlatko is right. You cannot make forms in VBscript. For a variety of reasons it isn't possible. (Though you can call certain API through the scripting language. You just have to shell then through rundll32.exe). Anyway, if you need to create a form that will accept input, the easiest way is to create a windows scripting component. This is relatively new to vbscript/window scripting host and uses xml to all users to create plain text files and register them as COM components. Using wsc, you could relatively easily create a wrapper for IE, to use as a set of forms.
Anyway, you can go to Microsoft's scripting pages to learn more about Windows scripting components.
Hope this helps.
I would shell out a new browser window that is designed to look like a form to get the information you wanted.