Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

deployment of ActiveX control

Status
Not open for further replies.

russland

Programmer
Jan 9, 2003
315
CH
hi
i create a simple activeX control that would resize an image. i pass paramters with the param tag <param name=&quot;param1&quot; value=&quot;400&quot;>. the control can read those parameters and output them at the place where i deploy - but not at another place (server in my case). it always displays the default value... hmm... strange thing. any idea?
thanks
brayan
 
okay... got it;) it's important that you change your internet explorer settings to prompt for activex controls - not to decline directly
 
How did you read these parameters within the OCX?
 
do getProperty. press F1 / help to see how to read in variable. not so tricky (i haven't got the code here. otherwise i'd have posted)

hope that helps.
 
Maybe you can try it like this:

Private Sub UserControl_ReadProperties(PropBag As PropertyBag)
language = PropBag.ReadProperty("MyLanguage", "en")
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top