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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help, Strange OCX Issue and error 372

Status
Not open for further replies.

TheTuna

Programmer
Dec 13, 2002
544
US
I've developed a scrolling Marquee OCX for an application that is giving me fits when I try to use it.

On the development machine, everything works fine, as usual, but on the kiosk when I try to run my app, the error 372 pops up and proudly proclaims that the activex control is out of date, or is the wrong version.

Since this is a total falsehood, it's the only version ever seen on the kiosk, it's properly registered using regsvr32 (successfully), I can't figure out what is causing this.

Other OCX's I've created (like a touch-screen keyboard seem to work fine.

The OCX in question uses 3 intrisic controls, a picture box, a label and a text box (well, ok, 4, there's also a timer).

Can anyone provide a clue where I'm screwing this up?

Thanks!

[fish] No Dolphins were harmed in the posting of this message... Dolphin Friendly Tuna!
 
Yes..
i had created an .ocx and had got such error..

two reasons..first check the date during which the .ocx was created..then copy that original .ocx file into the system folder of the target machine...then try running the system..if it works..its good..else
register it
with
Regsvr32.exe <name of .ocx file>
 
The problem was, it was the ONLY version.

I ended up re-building the OCX as a new project and everything was fine. Simple cut and paste followed by a rename.



[fish] No Dolphins were harmed in the posting of this message... Dolphin Friendly Tuna!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top