Hi,
I managed to call it like,
set mthView = Server.CreateObject ("MSCOMCTL2.MonthView")
but I cna't display it. Any idea?
thanks.
Printable View
Hi,
I managed to call it like,
set mthView = Server.CreateObject ("MSCOMCTL2.MonthView")
but I cna't display it. Any idea?
thanks.
What would you like to do with it? Display the object perhaps?
Ok... your trying to add an ActiveX control to your page, but what you are doing there is simply creating a *SERVER SIDE* reference to an instance of the control. Which is pretty much worthless.
What you need to do, is add the control to the toolbox in interdev, then drag it onto your page in design view. Then you can right click it and select to view it as text. That will put the OBJECT tag for a client side activeX control on your page.
Be warned however, that the control you are doing probably requires you to create a license pack file to be places on the page as well. There is a program on the VS6 CD that creates it. (It is not installed even if you chose FULL)
You would have one license pack file per page with all your activeX controls in it.
Check out this MSDN article for more info.