Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Feb 8, 2000



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Pass PARAM to OCX From ASP


How do I pass a login ID from my ASP page to my OCX? I created a public property in the OCX, but it is not getting the data when I do:

What should the code look like in Visual Basic?


Remember that you can use ASP to generate any of the HTML that will be displayed in your browser, including any HTML, client-side script, PARAM tags, and so forth. This is a powerful and often overlooked aspect of ASP. You could pass the value from ASP to your tag simply by writing the value of an ASP variable in the place where you want the value to appear in the page. You can modify this example code to suit your specific application:

Dim MyVariable 
MyVariable = 13282

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date