473,466 Members | 1,439 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

VC++ Dialog Designer - Oddness with ActiveX Controls

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
1 1311
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Zawa | last post by:
Why, when a I put and ActiveX Microsoft Web Browser component on my dialog (e.g. CBrowserDlg) and then call DoModal() dialog doesn't appear and DoModal() reasult -1 ? Should I register somehow this...
4
by: Bob C. | last post by:
Hi All, I was working on MFC ActiveX controls using VC++. Now i moved to C#.NET. In MFC ActiveX we have DoPropertyExchange(), what is an equivalent to that in C#.NET...
0
by: Andrew | last post by:
I get a Null Reference Exception if I close a modeless form (that is, a form displayed using Show()) when a selection is made from a ComboxBox. If the form is modal (displayed using ShowDialog())...
3
by: Andrew | last post by:
I get a Null Reference Exception if I close a non-modal dialog (that is, a form opened with Show()) when a selection is made from a ComboBox. The error message refers to Unsafe Native Methods, but...
3
by: MD Websunlimited | last post by:
I'm having a problem utilizing a control that was created in VB 6 sp6 in VC 7 (unmanged). The VC7 is a dialog based application that uses the control. The control work perfectly in a VB test form but...
2
by: karspy | last post by:
In my COM Server i have added Dialog Box. i have registered OCX file and added that Activex Control to my Project also. It has created 1 header file and 1 source file. After that i have created...
4
by: marc | last post by:
Hi, I have 2 activex controls on my form that I need to open up a common dialog box and select/browse files, then populate two text fields. The first one I have working: The first activex...
15
by: Michael Tissington | last post by:
I have a Visual Basic 6.0 ActiveX Control. It seems there is no way with VS 2005 to create a similar control for containers that host ActiverX controls, is this correct ? I'm thinking of...
8
by: Daniele Piccinini | last post by:
Hi all, In my vc++ 2005 dialog based application i need to use a comunication activex component in a secondary thread: CFINSAxEFS* pNewAx = new CFINSAxEFS(); if ( !pNewAx->Create( NULL,...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.