Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

msdxm.ocx error 1

Status
Not open for further replies.

ikkell04

Technical User
Jun 2, 2010
5
BE
Greetings all,
We have a program written in VB6 that used to use wmp6 (wmplayer2.exe) with msdxm.ocx (v6)
It runs fine in Win98, XP and Vista. (in Vista we had to add the file msvbvm50.dll)
Now in Windows 7 its giving errors. Therefore we downgraded WMP12 to WMP11.
The installation runs impeccable. But when the program start it gives the following error:
“Run time error 339. Component "msdxm.ocx" or one of its dependencies not correctly registered. A file is missing or invalid.”
Using regsvr32 msdxm.ocx (file is properly registered) is not the solution.
Using the program "Depends.exe" for finding missing dependencies, gives 3 files in red: IESHIMS.DLL, IEFRAME.DLL and SHLWAPI.DLL.
in our program there is nothing that uses IE. When copying IESHIMS.DLL to the folder of our program AND in System32 only the IEFRAME.DLL and SHLWAPI.DLL are red (but they are also red in XP), IESHIMS.DLL seems to be OK. (BTW I'm not sure if the program "DEPENDS.EXE" is suitable in Windows 7.)
I tried to download WMP6 or WMP7 (because the program always ran with wmplayer2.exe) but Windows 7 refuses the installation.

When checking all the installed files we saw that msdxm.oca was missing but googling it gives the answer that msdxm.oca would be repair itself when using msdxm.ocx.

Can anyone give us a solution? Using WMP.DLL is not an option while the wmp controls are all in our program. Also rewrite isn’t an option because the programmer no longer works with us. The file msdxm.ocx is version 11.

Thanks in advance
Liévin
 
Just a long shot...

you don´t specify whether Windows 7 is 32-bit or 64-bit. If it´s 64-bit, you may be looking for the control in the worng area..See Sytsem32 vs WOW (windows-on-windows) folder

**********************************
There is more than one way to skin a cat...but who wants a skinned cat?
 
thanks ormsk thanks for the reply.
Its 32bit now and maybe 64bit in the future, but nevertheless the msdxm.ocx should be registered regardless of the folder where it is in.
I’m sure msdxm.ocx is now in system32.

 
thanks vb5prgrmr for the reply.
I'm not sure what you mean by "under the admin account"
I'm the only user and heve admin rights. The only other way I know is starting in safe mode, choose admin and then in run: "regsvr32 msdxm.oxc" what we didn't.
Is there another way to register the OCX in admin mode?
greetings
 
Try adding %PROGRAMFILES%/Internet Explorer to your PATH Environment Variable
 
>in our program there is nothing that uses IE

Maybe not, but msdxm.ocx is actually a part of IE, not Media Player (BTW, it is also not redistributable and so shouldn't be included in any setup package, and installing earlier versions on later systems may cause problems in other programs)

Try adding %PROGRAMFILES%/Internet Explorer to your PATH Environment Variable so that the ocx can hopefully find the correct dependencies

 
thanks strongm for the reply
msdxm.ocx is not in the "internet explorer" folder.
I looked in another PC with windows 7 (now 64bits) and there also msdxm.ocx is missing in the IE folder.
I've add the path to internet explorer in the environment variables though.
Then I moved msdxm.ocx from system32 to the IE folder and used regsvr32. The registering was OK but it's not making any difference.
anyone?
greetings
 
answer to vb5prgrmr
I found the method for registering as admin.
Before pressing ENTER push also Control + Shift and it worked. I tried first to right click on the command and then choose as admin but that didn't work.
Thanks for the hint but it didn't solve the problem.
greetings
 
SOLVED!
I replaced the Msdxm.ocx, Msdxm.oca and Msdxm.tlb from a xp-machine in the system32 folder on the Windows 7 machine
These files are version 6 and are using (normal I think) windows Media Player 2 and it worked! (after registering the msdxm.ocx) (with admin rights)
Wmplayer2 is not on the windows7 machine but maybe msdxm.ocx has the necessary data in it to let it work allthough you don't see the wpm2.
Thanks to all who helped us
 
I'm glad this has fixed things for you - but I'll just repeat: msdxm.ocx is not redistributable, whether copying by hand or via a package. So technically what you have done is illegal (well, it is against the terms of various user agreements that you will have ...er ... agreed to). What you do with this information is up to you ...
 
message for strongm
Maybe we agreed in the past not to distribute the file msdxm.ocx
we have msdxm v11 and msdxm v12 with the windows 7 machine.
All we need is an old version (v6) that is not distributed anymore by MS. So what are our possibilities to let our program run without errors.
Can we buy msdxm v6 at MS and possibly resell if we ever sell the program?
thanks in advance for your advice.
 
Microsoft would tell you that your application is no longer supportable under Windows 7, and to rewrite ...

> buy msdxm v6 at MS and possibly resell

No. That's just what the Microsoft terms and conditions say you cannot do.

I'm afraid that I don't have a nice pat suggestion for you.

 
Thanks strongm
You were very helpfull.
greetings,
ikkell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top