registering an .ocx control on WinXP sp2

P

Philip Leduc

Question,

I have been using in one my access applications the (I thought so) "very
common" common dialog box control: comdlg32.ocx
Usually every computer I have been working on has this file installed.
At a customer sight, somebody got a new win XP sp2 computer, and I could not
find the control so I copied and pasted it,
and registered it through using REGSVR32 [/u] [/s] filename

I get a windows error message now that I need a license for this control;
If not how do I get rid of this problem,
if yes where and how do I buy a license for a "standard" windows ocx control
and how do I "register" the fact that I bought it?

thanks for your help!!
 
T

Tom Wickerath

Hi Philip,

Better to ditch the common dialog control and use API code instead. This means there will be one
less possible missing reference to worry about. You might want to check out the following:

API: Call the standard Windows File Open/Save dialog box
http://www.mvps.org/access/api/api0001.htm

Sorry, I don't know the answer to your question about how to buy a license...

Tom
_____________________________


Question,

I have been using in one my access applications the (I thought so) "very
common" common dialog box control: comdlg32.ocx
Usually every computer I have been working on has this file installed.
At a customer sight, somebody got a new win XP sp2 computer, and I could not
find the control so I copied and pasted it,
and registered it through using REGSVR32 [/u] [/s] filename

I get a windows error message now that I need a license for this control;
If not how do I get rid of this problem,
if yes where and how do I buy a license for a "standard" windows ocx control
and how do I "register" the fact that I bought it?

thanks for your help!!
 
T

Tony Toews

Philip Leduc said:
I get a windows error message now that I need a license for this control;
If not how do I get rid of this problem,
if yes where and how do I buy a license for a "standard" windows ocx control
and how do I "register" the fact that I bought it?

You need to purchase the Office Developers version. As Tom states
lose the control and use the API solution. Much less troubles.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top