Aleks
asked on
Help calling a function
I need to call a function from a button.
The function is:
Set QFEBridge = CreateObject("QFEBridgeTes t. clsQuickBridge ")
Result = QFEBridge.CallQuick()
What it will do is (commented for now):
'Check for errors in running the Quik! Forms Engine
If objQFE.Results.ErrorFlag Then
strHtml = "ErrorFlag = 1"
Else
'Redirect to the HTML file
'Dim objFile As QuikFormsEngine.QuikFormOu tput
'For Each objFile In arrFiles
' Dim strFileName As String = objFile.FullName
' If strFileName = "" Then
' strFileName = "ERROR! No forms were generated."
' Response.Write(strFileName )
' Else
' Response.ContentType = "text/html"
' Response.Redirect(strFileN ame)
' End If
'Next
'Write the HTML file out as a response
The image that should call the function is:
<IMG border=0 alt="Open Form" src="../../../Images/icedi t.gif" width=16 height=16>
How can I add code to that image so that it calls the function which should open a page and parse some code.
The function is:
Set QFEBridge = CreateObject("QFEBridgeTes
Result = QFEBridge.CallQuick()
What it will do is (commented for now):
'Check for errors in running the Quik! Forms Engine
If objQFE.Results.ErrorFlag Then
strHtml = "ErrorFlag = 1"
Else
'Redirect to the HTML file
'Dim objFile As QuikFormsEngine.QuikFormOu
'For Each objFile In arrFiles
' Dim strFileName As String = objFile.FullName
' If strFileName = "" Then
' strFileName = "ERROR! No forms were generated."
' Response.Write(strFileName
' Else
' Response.ContentType = "text/html"
' Response.Redirect(strFileN
' End If
'Next
'Write the HTML file out as a response
The image that should call the function is:
<IMG border=0 alt="Open Form" src="../../../Images/icedi
How can I add code to that image so that it calls the function which should open a page and parse some code.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'QFEBridgeTest. clsQuickBridge '
/bluedot/Intranet/Cases/Fo rms/page.a sp, line 7
I tried registering the .dll but it is not registering it, I get an error that the entry point could not be found.
ActiveX component can't create object: 'QFEBridgeTest. clsQuickBridge '
/bluedot/Intranet/Cases/Fo
I tried registering the .dll but it is not registering it, I get an error that the entry point could not be found.
my guess is a permissions issue, make sure whatever account that runs the site has access to where the dll resides
ASKER
We fixed it last night, thanks for the help !
ASKER
Error Microsoft VBScript while executing error '800a01ad'
The ActiveX control could not create object: 'QFEBridgeTest. clsQuickBridge '
/bluedot/Intranet/Cases/Fo
Any clues ?