can't add control variable in VS .Net 7.0

Visual Studio .Net


  • 1. How do I delete project names from the start page?
    How do I delete project names from the "Recent Projects" list on the VS2005 Start Page? Many thanks.
  • 2. alphabetical order
    The projects and folders in the solution explorer are all displayed in alphabetical order. This is driving me nuts - I'd like them to be displayed in the order that I want - is there anyway I can do this? Thanks Andrew
  • 3. Files deployed by Web Deployment project
    Hi Everybody, I'm using a Web Deployment project to create a Web Setup for a Web Application Project I've got, and I've noticed thay the Web Deployment Project deploys a lot of files that I'm not sure are needed... The files are: <project>.csproj <project>.csproj.user <project>.csproj.vspscc vwd.webinfo mssccprj.scc *.rpt ( crystal reports that are compiled as embeded resources!) *.xsd/*.xsc/*.xss plus files under obj directory - in my case several dlls(not all!) and another copy of the *.rpt files. Is this a bug in the Web Deployment project? Thanks, Nadav
  • 4. VS2005 and crashes
    Hello I am using VS.NET 2005 8.0.50627.762 (SP.050727.7600), for C# project. Whenever I rename a variable then click on it to apply refactoring, it works just twice. The third time I rename a variable the IDE just crashes!!! Any advices?

can't add control variable in VS .Net 7.0

Postby U2FtIEU » Wed, 11 Feb 2004 02:51:06 GMT

I have a large number of VC++ projects originally developed with C++ 6.0.  Now in VS .Net 7.0, I can not add a control variable.  The Control ID checkbox is greyed out.  I do not use VSS.  It would be good to find out why this is happening so I don't have to go back to MSVC 6.0 every time I need to add a control variable.

RE: can't add control variable in VS .Net 7.0

Postby U2FtIEU » Sun, 15 Feb 2004 06:26:07 GMT

I have learned this is probably because I need an AFX_EXTENSION_MODULE xxx = {NULL,NULL};

Similar Threads:

1.Can't see variable contents when hovering over variable - VS.NET2003 C++

When debugging a C++ project, if I hover over variables, even basic types 
like int's and bool's, there is no value that shows up as a tooltip.  At 
work this works fine (same version of VS.NET).

Any ideas? 

2.Compiling a VS 7.1 project in VS .NET 2002 (7.0)

Hi there,

My first post in this newsgroup. I've recently switched from Borland C++ to
VS C++ to work on a specific app written by someone else.

The "solution" projects and source code were written and developed on VS

I only have .NET 2002 (7.0) and can't really justify spending more money
upgrading to 7.1.

When I try and compile a couple of the apps, I get a compiler error asking
for MFCS71.lib (file not found).

The original author tells me I should be able to compile his apps fine in
7.0. He mentioned that the setting to tell it to use my version of the
libraries is in project->settings, but I've been all the way through the VS
menus and can't find anything which lets me change this.

Can anyone help? The original author is now on holiday for a week and I'd
quite like to deploy these apps this coming weekend.

Many thanks,


3.Can't Add Variables in Visual 2003

I have created an MFC application in Visual and have added a couple of control to my dialog window (slider and picture).  When I select these items and either right click, or go to Project on the top menu, the ADD VARIABLE option is greyed out for both of my controls.  What am I missing in order to be able to add variables to these controls?


4.Can't repair,can't reinstall, can't uninstall VS.Net 2002 profissi

I installed VS.NET 2002 professional first, later I installed VS.NET 2003 
professional on the same machine because I thought it could upgrade the 2002 
version to 2003 version. But in fact it installed 2 versions separetely on 
the same machine instead of upgrading the old version to new one. Just wanted 
to keep my machine simple and to leave only one version in my machine, I 
tried to uninstall them. The first thing I did is trying to uninstall the 
older version but failed.When I tried to use the CD to repair, reinstall or 
uninstall the 2002 version, it always give me the folloing message :
"Visual Studio.NET Professional-English: [2] ERR_FILE_NOT_FOUND returned in 
CRootComponent: Install; Couldnot find file:c:\windows\Installer\7cc3e.msi".
So I tried to uninstall 2003 version and Framework v1.0 using "control panel,
add\remove program" and succeeded. Then I tried to 
repair/reinstall/uninstall the old 2002 version and its Framework v1.0 but 
got the same message as above. I checked some websites from microsoft about 
how to manullay uninstall it, but under window\Installer directory I could 
not find that specified .msi file. The only .mst files I found there:
1.Microsoft FrontPage Client-English RTL x86 enu
2.Visual Studio.NET Baseline-English RTL x86 enu
3.Visual Studio.NET Baseline-English RTL x86 enu;Copyright(C) Microsoft Corpo

Anybody can kindly tell me how to clean version 2002 and the old Framework 
v1.0 out of my machine. Your advice will be highly appreciated.


5.MFC Add Member Variable Wizard bug in VS.NET 2003

I found the reason for at least one of the script bugs that appear in the
Add Member Variable Wizard.

This is a followup to a 9-month old article.

Dave V said:
> An error has occurred in the script of this page
> Line: 1635
> Char: 3
> Error: Unexpected call to method or property access
> Code: 0
> URL: file://E:\Program Files\Microsoft Visual Studio .NET\Vc7\VCWizards
> \MemVariableWiz\HTML\1033\default.htm

I'm getting the same error at line1643 and using Visual Studio .NET 2003.

I get it when going into the "Add Member Variable Wizard" and I tracked it
down to this line in my source:

DDV_MinMaxInt(pDX, m_Hours[0], 0, HOURS_DAY - 1);

If I remove the "- 1", then I do not get the scripting error.  It would
appear that the script, when parsing the DDX and DDV calls, cannot handle a
more complex expression because the following line works just fine.

DDV_MinMaxInt(pDX, m_Hours[0], 0, HOURS_DAY);


const int hours = HOURS_DAY - 1;
DDV_MinMaxInt(pDX, m_Hours[0], 0, hours);

also seems to to work fine, so I guess that's what I'll have to do, as I
have about 10 of these spin controls on my dialog.

I hope this helps others. Before assuming that your VS.NET installation is
corrupted and doing a reinstallation as some have suggested, try doing a
little debugging as to what can be causing the scripts in the wizard to
choke when parsing your source code.


6. VS.NET: Adding variables in dialog editor

7. "add variable" broken, caused by script error ( 2002)

8. 2003 - can't create project or add new items

Return to Visual Studio .Net


Who is online

Users browsing this forum: No registered users and 29 guest