From: Lucress Carol on
Hi everyone,
I changed from VC++ 6.0 to VC++ professional 2008
for a couple of days and I'm really confused about the big difference
between the two environments...
For instance I can't figure out how I can add ActiveX Controls
to a MFC Dialog based application.I imported the controls using:
Project -> Add Class -> MFC Class From ActiveX Control
and I can find the imported controls in the IDE Toolbox...
Does someone have an idea?

Thank you
From: Giovanni Dicanio on

"Lucress Carol" <incognito.me(a)gmx.de> ha scritto nel messaggio
news:7cd833c2-97af-44a1-b80b-f40d53b5d94a(a)a70g2000hsh.googlegroups.com...

> I changed from VC++ 6.0 to VC++ professional 2008
> for a couple of days and I'm really confused about the big difference
> between the two environments...

You're not alone :)

I think that that kind of confusion is common to everyone switching from VC6
IDE to VS200x (my path was VC6 -> VS2003 -> VS2008, I skipped 2005).


> For instance I can't figure out how I can add ActiveX Controls
> to a MFC Dialog based application.I imported the controls using:
> Project -> Add Class -> MFC Class From ActiveX Control
> and I can find the imported controls in the IDE Toolbox...
> Does someone have an idea?

Did you try the following?

In the dialog-box resource editor, right click on the dialog-box you are
building, and select "Insert ActiveX Control ..." from pop-up menu.
Then select the desidered ActiveX control from the list.

Then you can go back to the dialog-box resource editor, right click on the
newly added control, and select "Add Variable..."

HTH,
Giovanni



From: Lucress Carol on
On 30 Apr., 11:36, "Giovanni Dicanio" <giovanni.dica...(a)invalid.com>
wrote:
> "Lucress Carol" <incognito...(a)gmx.de> ha scritto nel messaggionews:7cd833c2-97af-44a1-b80b-f40d53b5d94a(a)a70g2000hsh.googlegroups.com...
>
> > I changed from VC++ 6.0 to VC++ professional 2008
> > for a couple of days and I'm really confused about the big difference
> > between the two environments...
>
> You're not alone :)
>
> I think that that kind of confusion is common to everyone switching from VC6
> IDE to VS200x (my path was VC6 -> VS2003 -> VS2008, I skipped 2005).
>
> > For instance I can't figure out how I can add ActiveX Controls
> > to a MFC Dialog based application.I  imported the controls using:
> > Project -> Add Class -> MFC Class From ActiveX Control
> > and I can find the imported controls in the IDE Toolbox...
> > Does someone have an idea?
>
> Did you try the following?
>
> In the dialog-box resource editor, right click on the dialog-box you are
> building, and select "Insert ActiveX Control ..." from pop-up menu.
> Then select the desidered ActiveX control from the list.
>
> Then you can go back to the dialog-box resource editor, right click on the
> newly added control, and select "Add Variable..."
>
> HTH,
> Giovanni



Hi Giovanni,

I can now compile my programs successfully...
Thank you

Lucress