|
-
Apr 24th, 2001, 08:35 PM
#1
Thread Starter
Member
How to display MonthView in my ASP?
Hi,
I managed to call it like,
set mthView = Server.CreateObject ("MSCOMCTL2.MonthView")
but I cna't display it. Any idea?
thanks.
It take a baby step for you to be here, nothing is impossible.
v(^o^)v
-
Apr 25th, 2001, 02:42 AM
#2
What would you like to do with it? Display the object perhaps?
-
Apr 25th, 2001, 03:49 PM
#3
Frenzied Member
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.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|