[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Use activex DTPicker in .asp page

Posted on 1999-06-24
8
Medium Priority
?
462 Views
Last Modified: 2013-12-25
I am using InterDev6.0 to create an .asp page.  I need help using the activex component DTPicker (the drop down calendar that came with InterDev).  So far this is what I have done:
I created an .asp page in my web project.  I right clicked the toolbox and selected 'Customize Toolbox.'  In 'Customize Toolbox' I selected 'activex controls' tab.  I checked the box in front of 'Microsoft Date and Time Control Picker, version 6.0.' After the DTPicker was added to the 'activex controls' tray in the InterDev 'Toolbox,' I double clicked it to add it to my .asp page.  
The problem is:
I can only view the DTPicker when browsing my web site from my development system (my development system is a separate computer from my web server.) I can not see DTPicker when viewing my web page from any other computer.  
I think the problem might be:
I need to register the activex component with my web server and/or there are other steps I need to do to make DTPicker work from the web server.  
I would appreciate any help about using DTPicker. Thanks.  
0
Comment
Question by:petse
8 Comments
 

Author Comment

by:petse
ID: 1863482
Edited text of question.
0
 
LVL 18

Expert Comment

by:mgfranz
ID: 1863483
Are you using <Object ID=myobject RUNAT=server ...> to initialize the ActiveX component?
0
 
LVL 1

Expert Comment

by:BillyAbbott
ID: 1863484
is the dtpicker a graphical calendary thing, that appears on a webpage? if not ignore me....

can you run visible components server side?
i would assume if it was a graphical control it would have to run client side, and be donwloaded by the client in order to do so.
i would make sure it's registered with the webserver, so that it can locate it.
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
LVL 18

Expert Comment

by:mgfranz
ID: 1863485
Good point Billy, you can run most components serverside, but it is more advantagious to run client side.  Either way, the component must be either registered with the server, or <object>...
0
 

Author Comment

by:petse
ID: 1863486
mgfranz,
Yes, I have tried to use RUNAT=server in the object tag.  But, I can't see dtpicker when browsing my web site, even from my development system.
Why is it more advantageous to have it run client side?  

Billy,
How do you register dtpicker with the webserver?  
I have tried adding mscomct2.ocx(I believe this is dtpicker) to my interdev web project.  Then right clicking that file and selecting properties.  From properties I have selected the component installation tab.  Then I have checked both the register on server and register on client check boxes. It still doesn't work, though. Is there a step I am missing?
 
0
 

Expert Comment

by:maniks
ID: 1863487
Try packaging it to a cab,register it and send it as a cab to the web client.
all the best
Maniks
0
 
LVL 2

Accepted Solution

by:
moehler earned 600 total points
ID: 1863488
You may have noticed that it runs on any machine that has VB or C++ or the like installed The DTPicker is a licenced control, therefore you must also include the license with your CAB for it to run on a non-development machine. You can get the CABs from the Microsoft site.

We struggled with this for a couple weeks before finally finding it.
0
 

Author Comment

by:petse
ID: 1863489
Thanks for the info!
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses
Course of the Month9 days, 8 hours left to enroll

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question