Click here to Skip to main content
15,921,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question3D model and GUI Pin
Aint18-Apr-07 18:06
Aint18-Apr-07 18:06 
AnswerRe: 3D model and GUI Pin
Steve Echols18-Apr-07 18:18
Steve Echols18-Apr-07 18:18 
QuestionHow to modify the pop-up menu caption dynamicly? Pin
snailflying18-Apr-07 14:38
snailflying18-Apr-07 14:38 
AnswerRe: How to modify the pop-up menu caption dynamicly? Pin
Steve Echols18-Apr-07 17:34
Steve Echols18-Apr-07 17:34 
QuestionPKCS12 Pin
Andy H18-Apr-07 9:08
Andy H18-Apr-07 9:08 
AnswerRe: PKCS12 Pin
Dmitry Khudorozhkov18-Apr-07 16:58
Dmitry Khudorozhkov18-Apr-07 16:58 
GeneralRe: PKCS12 Pin
Andy H18-Apr-07 23:43
Andy H18-Apr-07 23:43 
QuestionVC++6: OCX : registering/using problems... Pin
Joan M18-Apr-07 8:08
professionalJoan M18-Apr-07 8:08 
Hello all,

I feel a little bit stupid by asking this, but I've run out of ideas...

I'm trying to register and use an OCX control.

The steps that I'm following are this ones:

1. from a DOS window: regsvr32 ocxname.ocx
2. Once I receive the message saying that the control has been registered I start the Visual C++6.

A)
3. PROJECT -> ADD TO PROJECT -> COMPONENTS AND CONTROLS -> REGISTERED ACTIVEX CONTROLS -> ocxname.ocx.
Once I click on the just registered OCX control, I receive the message:
---------------------------
Microsoft Visual C++
---------------------------
C:\krc\LIB\Cross.ocx

Unable to open this ActiveX Control.  Make sure the control contains a valid type library.
---------------------------
OK
---------------------------


B)
3. Right click on the dialog I want to use that OCX, select insert activex control (and select the just registered OCX control).
This inserts an icon of the OCX in the dialog, and if I go to the class wizard I can see that the control ID has been added, but I cannot add a new variable for that OCX, if I try to add a new variable for that OCX, I get this message:
---------------------------
Microsoft Visual C++
---------------------------
The ActiveX Control "KUKA-Cross-OCX" has not been inserted into the project.  Developer Studio will do this now and generate a C++ wrapper class for it.
---------------------------
OK   Cancel
---------------------------

When I select OK, then this message appears:
---------------------------
Microsoft Visual C++
---------------------------
The ActiveX Control is not registered properly, or its type library version number is incorrect.
Try registering the control by removing and importing it in the Component Gallery.
---------------------------
OK
---------------------------


I'm lost, I don't know why do that ActiveX control don't want to get registered properly on my system. And moreover I cannot get support information from the manufacturer...

Could you give me any idea on that?

As always, thank you in advance.
AnswerRe: VC++6: OCX : registering/using problems... Pin
Roger Stoltz18-Apr-07 11:15
Roger Stoltz18-Apr-07 11:15 
GeneralRe: VC++6: OCX : registering/using problems... Pin
Joan M18-Apr-07 23:49
professionalJoan M18-Apr-07 23:49 
GeneralRe: VC++6: OCX : registering/using problems... Pin
Roger Stoltz19-Apr-07 1:13
Roger Stoltz19-Apr-07 1:13 
GeneralRe: VC++6: OCX : registering/using problems... Pin
Joan M19-Apr-07 1:30
professionalJoan M19-Apr-07 1:30 
GeneralRe: VC++6: OCX : registering/using problems... Pin
Roger Stoltz19-Apr-07 1:54
Roger Stoltz19-Apr-07 1:54 
QuestionInvalidateRect problem Pin
deville7518-Apr-07 7:26
deville7518-Apr-07 7:26 
QuestionRe: InvalidateRect problem Pin
Maximilien18-Apr-07 7:58
Maximilien18-Apr-07 7:58 
QuestionIDE template Pin
Vaclav_18-Apr-07 6:09
Vaclav_18-Apr-07 6:09 
AnswerRe: IDE template Pin
David Crow18-Apr-07 7:02
David Crow18-Apr-07 7:02 
Questionproblem with cmenu Pin
Vishal Lakhanpal18-Apr-07 5:08
Vishal Lakhanpal18-Apr-07 5:08 
AnswerRe: problem with cmenu Pin
Hamid_RT18-Apr-07 7:28
Hamid_RT18-Apr-07 7:28 
QuestionRe: problem with cmenu Pin
Hamid_RT20-Apr-07 2:50
Hamid_RT20-Apr-07 2:50 
AnswerRe: problem with cmenu Pin
Hamid_RT20-Apr-07 19:29
Hamid_RT20-Apr-07 19:29 
Questionproblem with cmenu Pin
Vishal Lakhanpal18-Apr-07 5:06
Vishal Lakhanpal18-Apr-07 5:06 
AnswerRe: problem with cmenu Pin
Arman S.18-Apr-07 20:06
Arman S.18-Apr-07 20:06 
AnswerRe: problem with cmenu Pin
Atul2318-Apr-07 23:25
Atul2318-Apr-07 23:25 
GeneralRe: problem with cmenu Pin
Vishal Lakhanpal20-Apr-07 0:14
Vishal Lakhanpal20-Apr-07 0:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.