Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom Properity at ActiveX Controls with VB
Message
 
À
24/06/2001 12:25:14
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00522888
Message ID:
00523430
Vues:
8
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform