using VBScript to access a function in an activex control 
Author Message
 using VBScript to access a function in an activex control


this is what i am trying to do:

    Call UserControl1.setInitialValues("", "/Palm/")
    Call UserControl1.addToFileList("PC", "Cities.pdb")
    Call UserControl1.addToFileList("PC", "People.pdb")
    Call UserControl1.addToFileList("Server", "Baseball.pdb")
    Call UserControl1.addToFileList("Server", "Cars.pdb")

<OBJECT ID="UserControl1"

note: inside of UserControl1, there are PUBLIC functions for
setInitialValues and addToFileList.

i keep receiving an error message that 1) the object doesn't support this
property or method or 2) Object required: UserControl1 when i try to access
myhomepage.htm in IE 5.0 on a client machine. does anyone know the reason
for this??? btw, when i try this in the browser on the server everything
works fine... thanks.


Sat, 24 Jan 2004 00:41:26 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Help - Accessing JavaScript Functions/ActiveX Controls

2. Building ActiveX controls that will access activex.dll running on PWS

3. Accessing a public function within an ActiveX control from a form created by the control

4. Looking for an ActiveX Control to access a local Access db

5. Accessing VB functions in vbscript control

6. Repost: Problems working with a MSChart ActiveX control using VBScript

7. Using ActiveX control from VBScript

8. Using VBScript ActiveX Control in VB-Application

9. Using VBScript ActiveX Control in VB-Application

10. Using VBScript to find ActiveX Control CLS_ID

11. How can I link ActiveX control(TreeView) and DataBase Using VBScript

12. Repost: Problems working with the MSChart ActiveX control using VBScript


Powered by phpBB® Forum Software