Missing .OCX (Common Dialog ActiveX)

Mile-O

Back once again...
Local time
Today, 07:17
Joined
Dec 10, 2002
Messages
11,304
On a database I have been given there is a CommonDialog Control. This, and the code around it, works for me.

On another computer the CommonDialog object cannot be found. In fact, it can't find the COMDLG32.OCX which, upon looking in that computer's C: Drive I have managed to locate next to COMDLG32.DLL.

If I try to Browse from the references menu then I can find the appropriate .dll and try to select it but I'm told that I can't use it. The reference is not listed at all.

When I look in the Insert -> ActiveX Control menu on that computer, there is no mention of the CommonDialog control.

I've tried copying new versions of the .ocx and .dll into the folder but was told that it was in use by another application - probably one of those unknown things that whizz and burr away in the Task Manager.

Does anyone know what to do when this occurs? Will it require re-installing Access on the machine?
 
Can you go into safe mode and copy it? Or maybe boot into DOS and copy?

???
ken
 
KenHigg said:
Can you go into safe mode and copy it? Or maybe boot into DOS and copy?

No.

  • I have no idea what you're talking about;
  • I work in one of those IT dominant offices (i.e. we I.T., you bow down)

:D
 
This is just a stab in the dark but is it registered? Before re-installing I try this....
Use find files, type..

Regsvr32.exe, COMDLG32.DLL

When found drag and drop COMDLG32.DLL onto Regsvr32.exe. This will register the .dll

Worth a try :confused:
 
I take it that I need to run the regsvr32.exe executable? And it'll be obvious what to do from there?
 
I just noticed that if I go to Start -> Run, and type regsvr32.exe comdlg32.dll then it can load it there.

I'll give it a try when I get a chance.
 
If you find both the files using search, you only need to drag & drop the .dll onto the Regsvr32.exe, that'll register it.
 
It's saying that:

cmddlg.dll was loaded, but the DllRegisterServer entry point was not found.
The file can not be registered
 
Hmmm, not seen that one before, I think it may be a case of repair/re-install office, sorry :(
 
Windows help can walk you through safe mode boot - It just runs windows using generic drivers, etc. and does not ref a lot of dll stuff which might free you up to copy a good file over...

kh
 
Thanks. I'll print it off and leave it to the IT bods - they are, afterall, paid to do this sort of stuff.
 

Users who are viewing this thread

Back
Top Bottom