I have created a .NET user control with an ActiveX interface. It works well.
Now, I want to be able to read and write from the property bag for the ActiveX interface.
How would I do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The easiest is to use client script to pass the parameters values to the ActiveX
If you can’t use client script, you can try that way:
Let’s say you want to read a parameter such as:
You need to expose the following COM interfaces in your project:
Your activeX control should implement these interfaces. There’s one method you need to implement :
Voilà! parameter should be equal to “valuetoRetrieve”