Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX Control Reference
Message
From
24/04/2000 11:42:47
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00362731
Message ID:
00362776
Views:
20
Hi Igor,

Yes, that would be the case if I was instantiating the object programmatically as you cited, and I have done this successfully. However, in this case I am using the < OBJECT > HTML tag to instantiate the ActiveX control so it should already be in existence when "MyFunc" is called.

>Hi Bill,
>
>You may miss statement like
>
>set MyObject = CreateObject("MyAXobj")
>
>HTH, Igor
>
>>I have been trying to test an ActiveX control in a web page instantiated using the OBJECT tag. According to all the documentation I've read, the control should be able to be referenced in script code by the value in the ID attribute. E.g if in the web page I set:
>>
>>< OBJECT ID="MyAXobj" ... < /OBJECT >
>>
>>in a vbscript function in the web page I should be able to:
>>
>>Function MyFunc
>>'   Code statements
>>    Dim MyProp
>>    MyProp = MyAXobj.property
>>'   etc.
>>End Function
>>However I am getting the "Object Required: 'MyAXobj'" vbscript error when I attempt this. What am I missing here?
>>
>>Thanks,
>>Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform