By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,463 Members | 2,858 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,463 IT Pros & Developers. It's quick & easy.

VC++ Dialog Designer - Oddness with ActiveX Controls

P: n/a
Hello, sorry for X-posting

Hope you are able to help with this one as its really urgent.

I have two unmanaged VC++ 7.0 projects which requre the use of ActiveX
controls within the dialog designer (not Winforms!). Both projects are
identical (except for the name) both in project settings and through file
compare. With one, I am able to right-click on the control within the dialog
designer, select 'Add Variable' and the 'Add Variable Wizard' will launch
correctly. The control will be identified correctly by the wizard (the
control check box will be active and checked, the control type will be OCX)
and I am able to add a control variable as per normal.

Unfortunately, in the second project when I attempt the same process the
wizard is unable to recognise the control and the control variable check box
is deactivated stopping further work.

As far as I am ble to tell, there no reason why one project should work and
the other should not.Any ideas?

Thanks in advance,

--
Nick Wilton BSc MInstP MCP
C++ Architect
www.darwinconsultants.co.uk
Nov 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I ad a similar problem a while back. I found that if I deleted the *.ncb,
*.opt and *.aps files ( which get regenerated the next time the project
opens), the problem goes away.

-Atul, Sky Software http://www.ssware.com
Shell MegaPack For ActiveX & .Net - Windows Explorer Like Shell UI Controls


"Nick Wilton" <NickwATcafmexplorerDOTcom> wrote in message
news:OX**************@TK2MSFTNGP09.phx.gbl...
Hello, sorry for X-posting

Hope you are able to help with this one as its really urgent.

I have two unmanaged VC++ 7.0 projects which requre the use of ActiveX
controls within the dialog designer (not Winforms!). Both projects are
identical (except for the name) both in project settings and through file
compare. With one, I am able to right-click on the control within the
dialog
designer, select 'Add Variable' and the 'Add Variable Wizard' will launch
correctly. The control will be identified correctly by the wizard (the
control check box will be active and checked, the control type will be
OCX)
and I am able to add a control variable as per normal.

Unfortunately, in the second project when I attempt the same process the
wizard is unable to recognise the control and the control variable check
box
is deactivated stopping further work.

As far as I am ble to tell, there no reason why one project should work
and
the other should not.Any ideas?

Thanks in advance,

--
Nick Wilton BSc MInstP MCP
C++ Architect
www.darwinconsultants.co.uk

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.