Solved

VBA EXCEL  adding control,  object not found

Posted on 2002-07-08
4
226 Views
Last Modified: 2008-02-01
I wrote a small VBA aplication in EXCEL using the MS date and time picker control "DTPicker_1.
Whe I run this programme on user machines then my it comes up with the error message "object not found" which is because aparently this control is not installed on this machines.
Now I figured out under
Toolbox  -  Additional controls - Available controls and selected Items only the path were my control is located.
C:windows\system\mscomct2.ocx and in addition ther were two further files with the extention *.dep  and *.srg. So I copied this files on the same location in the other machine but it still does not run. I not even found this control in Toolbox  -  Additional controls - Available controls

How can I retrieve this contol on another machine??

0
Comment
Question by:themroc
  • 3
4 Comments
 
LVL 44

Accepted Solution

by:
bruintje earned 60 total points
ID: 7137397
Hi themroc,

if you want to use and ocx or dll on another machine

-then copy (which you've done already)
-then register

-goto start
-then the run
-type regsvr32 <path to the ocx>\mscomct32.ocx
-then enter

maybe this ocx depends on others i don't know but this should give you a start

HAGD:O)Bruintje
0
 
LVL 44

Expert Comment

by:bruintje
ID: 7232804
Hello themroc,

any update on this one?

:O)Bruintje
0
 

Author Comment

by:themroc
ID: 7232862
Sorry,
I just forgot to assign the points. It works ok now

thanks
themroc
0
 
LVL 44

Expert Comment

by:bruintje
ID: 7232995
ok thanks but i only thought you needed some help with this

Brian
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Problem: You created a new custom form in Outlook for your contacts (added fields, deleted fields, changed the layout of fields, whatever) and made it the default form for contacts. The good news is that all new contacts will utilize the new form. T…
In case Office 2010 has not been deployed in your environment, this article may be quite useful. In our office, we wanted a way to deploy Microsoft Office Professional Plus 2010 through an automated batch file via logon script. This article is docum…
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…

832 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