Information générale
Catégorie:
Contrôles ActiveX
Titre:
Custom Properity at ActiveX Controls with VB
Dear all,
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)
<OBJECT ID="proxy_conf"
CLASSID="CLSID:6EA922B2-651E-11D5-96FE-00105A75E0C1"
CODEBASE="psinet.CAB#version=1,0,0,0">
<PARAM NAME="phone_str" VALUE="30040000; 30090000">
</OBJECT>
Right now my ActiveX can not set the properity of "phone_str" to "30040000; 30090000"
howevere, it do work with the following
<OBJECT ID="proxy_conf"
CLASSID="CLSID:6EA922B2-651E-11D5-96FE-00105A75E0C1"
CODEBASE="psinet.CAB#version=1,0,0,0">
</OBJECT>
<script>
proxy_conf.phone_str = "30040000; 30090000"
</script>
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement