I searched the web and found some answer. however most were unclear.
I need to create an object (activex control) on the fly based up what type of monitor the users has choosen. User choice is stored in a database. Pseudo coded would look soemthing like this
If (MonitorType == "SERIAL")
createobject name="m1Control" CLASSID="1345677854253124321s"
codebase="m1control.CAB#version=1,0,0,17" height="20" width="120"
createobject name="M2Control" CLASSID=890749587495812749057194"
height="20" width="120" viewastext id="M2Control">
The first activex is seldom change (but we must support) is written in VB. Second activex control is new and written in VC++.
Question is what are the command(s) to do this on the page load event? is this possible?