Control Nightmare 
Author Message
 Control Nightmare

I'm using an access 97 and I have 5 activex controls on it
comdlg32.ocx, comctl32.ocx, imgedit.ocx, imgadmin.ocx, imgthumb.ocx. Problem
is I create an .mde using my development
PC and when I install and register the same ocx's on the client,
the .mde bombs because the references don't match. Any suggestions??


Sun, 16 Jun 2002 03:00:00 GMT  
 Control Nightmare
This probably won't help, but a Windows NT machine saves the files in a
different location then a Windows 9x.  NT saves in C:\Winnt\system32.
Windows 9x saves in C:\Windows\System.  Best thing to do is to put the
controls in the same folder as your app and regester them there.

--
HTH

Chris Nebinger

Quote:
> I'm using an access 97 and I have 5 activex controls on it
> comdlg32.ocx, comctl32.ocx, imgedit.ocx, imgadmin.ocx, imgthumb.ocx.
Problem
> is I create an .mde using my development
> PC and when I install and register the same ocx's on the client,
> the .mde bombs because the references don't match. Any suggestions??



Sun, 16 Jun 2002 03:00:00 GMT  
 Control Nightmare
This probably is caused by a different version of one or more of those ocx
files, my guess is that comdlg32.ocx and comctl32.ocx are probably the
controls causing this problem.

Are you using ODE to distribute your app? If not, then you can't legally
just copy these MS controls across machine.  In any case, using CommonDialog
control isn't recommended especially since code alternatives are available.

Other than making absolutely sure that you are using a licensed copy of the
ocx and the versions are the same on both development and client machines,
you can only hope to "fix" the references on the fly.  You can try using
Terry Kreft's References Wizard available at www.mvps.org/access.

 -- Dev


Quote:
> I'm using an access 97 and I have 5 activex controls on it
> comdlg32.ocx, comctl32.ocx, imgedit.ocx, imgadmin.ocx, imgthumb.ocx.
Problem
> is I create an .mde using my development
> PC and when I install and register the same ocx's on the client,
> the .mde bombs because the references don't match. Any suggestions??



Wed, 19 Jun 2002 03:00:00 GMT  
 Control Nightmare

Quote:

>I'm using an access 97 and I have 5 activex controls on it
>comdlg32.ocx, comctl32.ocx, imgedit.ocx, imgadmin.ocx, imgthumb.ocx. Problem
>is I create an .mde using my development
>PC and when I install and register the same ocx's on the client,
>the .mde bombs because the references don't match. Any suggestions??

I have an MDB in which you store the version number of your OCX/DLLs.
You then ship to the client where it compares the version number of
their OCX/DLLs and shows any differences.  If interested email me and
I'll email it to you.

Its my not so humble opinion that you the programmer need to keep the
latest OCX/DLLs on your system and ship to your clients.  And to heck
with any other software which requires older versions of the OCX/DLLs.
They'll just have to update thier software.

Tony
----
Message posted to newsgroup and, if appropriate, emailed.
Tony Toews, Independent Computer Consultant
Microsoft Access Links, Hints, Tips & Accounting Systems at
   http://www.granite.ab.ca/accsmstr.htm
VolStar http://www.volstar.com Manage hundreds or
   thousands of volunteers for special events.



Wed, 19 Jun 2002 03:00:00 GMT  
 Control Nightmare

Quote:

>you can only hope to "fix" the references on the fly.  You can try using
>Terry Kreft's References Wizard available at www.mvps.org/access.

Which doesn't work when called from an MDE because Access resolves the
references before it executes any code in the MDE.

Tony
----
Message posted to newsgroup and, if appropriate, emailed.
Tony Toews, Independent Computer Consultant
Microsoft Access Links, Hints, Tips & Accounting Systems at
   http://www.granite.ab.ca/accsmstr.htm
VolStar http://www.volstar.com Manage hundreds or
   thousands of volunteers for special events.



Wed, 19 Jun 2002 03:00:00 GMT  
 Control Nightmare
Tony, I remember you mentioning that renamingthe addin as .mde worked for
you, or did it?  I'll test it out the next vhance I get.


Quote:

> >you can only hope to "fix" the references on the fly.  You can try using
> >Terry Kreft's References Wizard available at www.mvps.org/access.

> Which doesn't work when called from an MDE because Access resolves the
> references before it executes any code in the MDE.

> Tony
> ----
> Message posted to newsgroup and, if appropriate, emailed.
> Tony Toews, Independent Computer Consultant
> Microsoft Access Links, Hints, Tips & Accounting Systems at
>    http://www.granite.ab.ca/accsmstr.htm
> VolStar http://www.volstar.com Manage hundreds or
>    thousands of volunteers for special events.



Fri, 21 Jun 2002 03:00:00 GMT  
 Control Nightmare
I'm Even more Confused?? In article Q194374 Microsoft. I'm
getting the error Function Isn't Available because of the Comctl32.ocx
But I have made both the development PC and the Clients PC the
same version of the .ocx. I'm using a VB 6.0 installation program to install
& register the lastest versions of these controls not the ODE.


Quote:
> Tony, I remember you mentioning that renamingthe addin as .mde worked for
> you, or did it?  I'll test it out the next vhance I get.




> > >you can only hope to "fix" the references on the fly.  You can try
using
> > >Terry Kreft's References Wizard available at www.mvps.org/access.

> > Which doesn't work when called from an MDE because Access resolves the
> > references before it executes any code in the MDE.

> > Tony
> > ----
> > Message posted to newsgroup and, if appropriate, emailed.
> > Tony Toews, Independent Computer Consultant
> > Microsoft Access Links, Hints, Tips & Accounting Systems at
> >    http://www.granite.ab.ca/accsmstr.htm
> > VolStar http://www.volstar.com Manage hundreds or
> >    thousands of volunteers for special events.



Fri, 21 Jun 2002 03:00:00 GMT  
 Control Nightmare

Quote:

>Tony, I remember you mentioning that renamingthe addin as .mde worked for
>you, or did it?  I'll test it out the next vhance I get.

No, but in order to use an addin in an MDE I had to make the addin an
MDE also.  Possibly thats what you were thinking of?

Tony
----
Message posted to newsgroup and, if appropriate, emailed.
Tony Toews, Independent Computer Consultant
Microsoft Access Links, Hints, Tips & Accounting Systems at
   http://www.granite.ab.ca/accsmstr.htm
VolStar http://www.volstar.com Manage hundreds or
   thousands of volunteers for special events.



Mon, 24 Jun 2002 03:00:00 GMT  
 
 [ 8 post ] 

 Relevant Pages 

1. Distributing apps using webbrowser control - nightmare!

2. Bound controls are often a nightmare

3. Nightmares with the apostrophe!!!!!!!!!!!!

4. My Worst Nightmare: Error Accessing File

5. VBE password nightmare

6. RegEx - my personal illogical nightmare

7. Nightmare with ASP.NET

8. Deleting row nightmare

9. Printing nightmare...I'm losing my mind!!!

10. Socket nightmare

11. Resource File Usage is an absolute nightmare

12. OleDataAdapter.Update INSERT nightmare...

 

 
Powered by phpBB® Forum Software