Solved

VBA EXCEL  adding control,  object not found

Posted on 2002-07-08
4
234 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

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.
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

717 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