Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem with references to OCX control

Hello,

I have a data entry sort of XL sheet which takes some user inputs and
generates a txt file based on the input. I am using VB for Excel for this.

In this XL sheet I have added a Masked Edit control (housed in MSMask32.ocx)
to function as an IP control (I didn't get an IP control directly, so I had
to tweak the Mask Edit control to function as an IP control)

Now in my machine (Windows 2000, SP3), I have this OCX control in the
C:\Winnt\System32 directory. Everything works fine

But when I sent this XLS to a colleague, he is gettting a compiler error
when the script in the XLS runs. The culprit I suspect is this
not-so-standard reference. Prior to this, there was no problem.

On another machine with Win XP, the XLS was able to automatically discover
the OCX which is present in C:\Windows\System32 !

How do I pack an OCX along with the XLS so that it automatically finds this
OCX? Is it simply sufficient that I keep it in the current directory as the
XLS? Or is there some better way I can 'integrate' this OCX into the XLS?

Many thanks!

Senapathy


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to control cell references when copying a formula? rmmshost Excel Discussion (Misc queries) 8 February 23rd 07 08:04 PM
Unable to add references to Calendar control and outlook object utham raj via OfficeKB.com Setting up and Configuration of Excel 0 February 3rd 05 09:48 AM
External data references in a userform control jmikerea[_3_] Excel Programming 2 July 17th 04 01:11 PM
Set Focus Problem for textbox control on multipage control ExcelDeveloperSPR Excel Programming 1 July 16th 04 08:54 PM
VBA References Problem Marcus Excel Programming 1 September 22nd 03 06:16 PM


All times are GMT +1. The time now is 11:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"