Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom Properity at ActiveX Controls with VB
Message
 
To
24/06/2001 12:25:14
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00522888
Message ID:
00523430
Views:
7
Hi, Tony.
It seems that your control not implements interface IPersistPropertyBag.
If it's ATL control, you should implement it.
If it made in VB then, I think, it's not ActiveX control, but ActiveX component created by ActiveX DLL project. Components not persistent on default. You should set Persistable property of class to 1 and add code for ReadProperties event:
Private Sub Class_ReadProperties (pb as PropertyBag)
    phone_str = pb.ReadProperty("phone_str")
    ' Add code for other properties
End Sub
You may also implement InitProperties and WriteProperties events.

> I am making an ActiveX Control for running at IE 5.x. Do anyine here know how to setup an Active Control Properity ? So that I can pass a PARAM to the object at web page by the following code.
>(It is better to had a simple source code for me to reference)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform