Hi,
I've written an HTA application for creating users in Active Directory that consists of .HTA, .HTM and .VBS files.
The next step for me is to make it a web based application. As 99% of the code is written in VBScript and saved in seperate files, the logical step is to use classic ASP. I am a newby to ASP and would like to know if it is possible to reference my vbs files from asp files?
If it is, I wonder if someone could be kind enough to provide a code snippit or example of how one might achieve this. I've looked at lots of classic ASP example, but they all seem to have inline code.
I've tried using:
In my existing code, to call a function from a button, I'd use:
So in the asp page, would I have to put the onClick event in asp tags? e.g.
I'm all confused.com!!
If anyone can provide some help, I'd be very greatful.
Many thanks
Tex
I've written an HTA application for creating users in Active Directory that consists of .HTA, .HTM and .VBS files.
The next step for me is to make it a web based application. As 99% of the code is written in VBScript and saved in seperate files, the logical step is to use classic ASP. I am a newby to ASP and would like to know if it is possible to reference my vbs files from asp files?
If it is, I wonder if someone could be kind enough to provide a code snippit or example of how one might achieve this. I've looked at lots of classic ASP example, but they all seem to have inline code.
I've tried using:
Code:
<SCRIPT src="bin\test.vbs" language="VBScript"></script>
In my existing code, to call a function from a button, I'd use:
Code:
<input type="button" class="BTNPrintGP" id="BTNPrintGP" tabIndex=19 onClick="doCmd('openPGPage')" value="Printer Groups..." />
So in the asp page, would I have to put the onClick event in asp tags? e.g.
Code:
<input type="button" class="BTNPrintGP" id="BTNPrintGP" tabIndex=19 onClick="[b]<%[/b]doCmd('openPGPage')[b]%>[/b]" value="Printer Groups..." />
I'm all confused.com!!
If anyone can provide some help, I'd be very greatful.
Many thanks
Tex