Darwinbots Forum

Code center => Bugs and fixes => Bug reports => Topic started by: Sand on November 18, 2007, 02:52:21 PM

Title: COMDLG32.OCX - trouble RESOLVED (Vista)
Post by: Sand on November 18, 2007, 02:52:21 PM
Hi,

I just downloaded DarwinBots and are eager to start playing however, probably because of my lousy computer skills, I can't. Once I start the program I get the following message:

"Component 'COMDLG32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid"

And, as I allready mentioned my computer skills, I've no idea about what I should do now.

I'm sitting on Windows Vista and the same trouble arise both when I try the old 2.1 and the newer update 2.43s.

Grateful and for any and all help.
Title: COMDLG32.OCX - trouble RESOLVED (Vista)
Post by: EricL on November 18, 2007, 03:05:19 PM
Hi. Welcome.

This a common issue with Vista.  I'll make it go away once I finish the new installer, but that is not here yet.

Open a command prompt window and type this:

regsvr32 comdlg32.ocx

You may need to do this with one or two other DLL or OCX files.
Title: COMDLG32.OCX - trouble RESOLVED (Vista)
Post by: Peter on November 18, 2007, 03:21:14 PM
I am not sure, but I know some problems are solved if you run darwinbots one time as a admin.
Run as: admin.

I know that wih a lot of programs if you don't run it as a admin in vista atleast once, it just doesn't work.

Vista blocking program then at some points(setting dll are blocked I thought).
Title: COMDLG32.OCX - trouble RESOLVED (Vista)
Post by: Sand on November 18, 2007, 03:35:32 PM
Hey, thanks to both of you guys with being so quick to answer.

I tried your tip EricL but then I ran into error code 0x8002801c, and once again it probably would work if I just had the skills.
Anyway, so I tried just to run as administrator and now it works like a charm.

So, thanks again and sorry for taking up posts with such useless questions.
Title: COMDLG32.OCX - trouble RESOLVED (Vista)
Post by: EricL on November 18, 2007, 03:38:20 PM
There are no such things as stupid questions.  I'm embarrased this is still an issue.  (Need to get me one of those Vista machines I guess).

Running a program as admin must cause Vista to register the OCX/DLLs.  I guess we need to tell Vista users to run as admin....