ActiveX Problems
I have created a VERY basic ActiveX control that I want to incorporate into a web page. There is only one function that I have made public that simply takes a line of text in String format and then prints that line to the printer.
''''''''''''''''''''''''
Public Sub printMe(strPrint As String)
Print strPrint
End Sub
''''''''''''''''''''''''
I have a basic ASP page where I set up my OBJECT tag with the appropriate class id.
''''''''''''''''''''''''
<OBJECT id="printObject" classid="clsid:1980B305-E472-462E-B28C-09FAE07BD878"></OBJECT>
<script language="vbscript">
printMe "This should work."
</script>
''''''''''''''''''''''''
I need the code to call my function within the control. What do I need to do next to get at my function. I am at a total loss.
|