Solved

VBA EXCEL  adding control,  object not found

Posted on 2002-07-08
4
217 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

My experience with Windows 10 over a one year period and suggestions for smooth operation
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This video shows the viewer how to set up and create Footnotes in their document. Click on the References tab: Select "Insert Footnote": Type in desired text:
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now