Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
all groups > visual studio .net ide > december 2003

Filter by week: 1 2 3 4 5

Brace Indenting
Posted by Thom Little at 12/31/2003 8:27:38 PM
My primary annoyance ... For years I have used a style of ... if ( ! bJunk ) { strOne = "Something" ; strTwo = "Found" ; } Visual Studio .NET 2003 insists that it should be ... if ( ! bJunk ) { strOne = "Something" ; strTwo = "Found" ; } Is there a way to g...more >>


Add-In: ProjectItem changes in VS.NET 2003
Posted by Ivailo Petrov at 12/31/2003 5:36:01 PM
A while ago I created an Add-In that on build time auto increments the version number in a *.rc file. It worked great it VS.NET. Recently, I switched to VS.NET 2003 and my Add-In stopped working. After debugging I found the problem. A brief code extract follows: .... ProjectItem item; ...more >>

VS2003 Outlining Changes
Posted by warlord at 12/31/2003 11:40:33 AM
Is anyone else annoyed at the changes made to the way outlining works in VS2003 ? In VS2002 using CTRL+M, CTRL+L used to expand all code in the class file, but it no longer does that. Does anyone know how to do it now because I can't work out the new equivalent (if any). And before anyone ...more >>

"Unicode characters will not be saved"
Posted by patrickhuffer NO[at]SPAM hotmail.com at 12/31/2003 7:55:12 AM
Occasionally when I go to save an .aspx file, I receive the message "Some Unicode characters in this file will not be saved", and VS suggests that I save the file as Unicode. What happens is, I enter a character code in HTML view such as "←" and the IDE annoyinging converts it to the left a...more >>

Dual Monitor Configuration Possibilities
Posted by Shannon Broskie at 12/30/2003 6:04:21 PM
Using VS.NET 2003 is there a way to have a form in one monitor and the related code in the other? If not, what is the best way to view both code and form at the same time? Thanks!...more >>

Projects are missing when open from VSS
Posted by Gary at 12/30/2003 1:51:43 PM
I have a Web Application solution, which has 32 projects (20 Web projects and 12 local projects). I use IDE: File- >Source Control->Open From Source Control.... After getting solution in VSS, selecting the solution. The Select Project Loacation dialog gives only 18 Web Projects. Click O...more >>

How to disable class view & statement completion
Posted by Bob Censor at 12/30/2003 12:22:02 AM
When working with huge projects that contains vast amount of files in VS.net, the class view or also known as statement completion will sink down the IDE to a unworkable level. I would like to disable the class view and statement completion programatically, any ideas? registry entries etc....more >>

Making editor text bold
Posted by Bill Below at 12/29/2003 6:37:58 PM
I'm using vsnet 2003 and I would like to set the editor text to Courier New 10 bold. The "bold" checkbox in Tools/Options/Fonts and Colors changes the text in the "sample" box but has no effect on the text used in the text edit windows. How can I do it or can I? Thanks, Bill...more >>



Forms different sizes on different PC's
Posted by Scott at 12/29/2003 3:02:53 PM
In VS.NET I develop on both desktop and laptop. When I move the project from the desktop to my laptop and then back to the desktop the form size is huge. It's like the fomr and all controls have been resized by VS.NET. I've tried different settings for autoscale and nothing works. COuld so...more >>

Visio UML Menu in VS .NET 2003
Posted by Alex Niblett at 12/29/2003 2:01:18 PM
Where did the "Visio UML" sub menu on the "Project" menu go in .NET 2003? I still have .NET 2002 installed and it's still there, Visio still runs fine, but the sub menu does not appear in .NET 2003. What gives? Alex ...more >>

DEFINE settings
Posted by Jeff at 12/29/2003 1:03:29 PM
Is tehre any way to have the compiler IDE DEFINE settings (Project properties) be visible in the Resource compiler also? I conditionally compile in some resources depending on project defines... in Borland C++ the project IDE defines were active in both the C++ compiler and the resource c...more >>

IDE properties
Posted by Jeff at 12/29/2003 1:00:32 PM
When going into project properties, is there any way to have the Configuration dropdown default to "All configurations" instead of the current configuration? Most all settings I change in the IDE apply to All configurations, and quite often I make changes and forget to select All... and I...more >>

RAD support for adding items to a component collection property
Posted by Edward Diener at 12/29/2003 12:58:52 AM
Does the Visual Studio Component Designer or Windows Form Designer have any support for adding and removing items from a property which is a collection class ? If so, what do I have to do in my own collection class property in order to trigger that support ? ...more >>

Get current Line and char offsett in vs.net
Posted by Created by: X at 12/28/2003 6:40:06 PM
I need to know how get retrieve the current Line and character offset for the active code document in visual studio.net for example if i wanted to keep track of exactly what point the caret is at inside a document. Basically I want to keep track of every character the user typins into the...more >>

How set up automatic comments?
Posted by Erik Jälevik at 12/27/2003 10:48:41 AM
I'd like VS.net to automatically insert a comment chunk at the beginning of each new file I create, e.g. /************************************* * File: blaha.cpp * Description: * Date: * etc... *************************************/ but I can't find a setting for this. Is it possibl...more >>

Sharing Add-Ins
Posted by Thom Little at 12/25/2003 3:32:37 PM
I have created a Visual .NET 2003 Add-In in C# that is now rock solid. (Let's just say ... it was an education.) Is there any reference that you can provide that documents the method for packaging an execution-only copy of this Add-In for sharing with other users? This of course would include...more >>

Searching in the IDE
Posted by Brian at 12/25/2003 8:14:55 AM
I noticed that if I have a set of code that is in a #region/#ednregion pair that the code is not searched if the region is collapsed. This is fine, but causes me grief because I have to expand all my regions to perform a complete search. Is there anyway to have search look through the co...more >>

Intellisense (C++) and Direct Draw
Posted by Matt at 12/24/2003 7:41:05 PM
Ok, i have the following code snippet: LPDIRECTDRAW7 lpDD; lpDD->SetDisplayMode( Now, as i'm typing this, intellisense is supposed to list the methods of lpDD after i type " -> " and then give me the parameters for SetDisplayMode() after i type the " ( ". Listing the methods works great. ...more >>

Strange exception of DTE.SelectedItems.Item()
Posted by whyithappen at 12/24/2003 4:44:20 PM
I am building a add-in project to extend the VS environment. Code excerpt: EnvDTE.DTE hostApplication; ..... SelectedItems selItems = hostApplication.SelectedItems; SelectedItem selItemObj = null; int count = selItems.Count; if(( count > 0)&&(!selItems.MultiSelect)) { try { selI...more >>

MACRO IDE: Why does it try to load 'Sample' project every time i run/edit a macro?
Posted by =Snappy= at 12/24/2003 11:04:38 AM
i must have deleted the 'Samples' macro project at some point. now, every time i want to run or edit a macro, i have to look at an error dialog notifying me that the 'Samples' project can't be found. anybody know how to get rid of this? THANKS! =) ...more >>

IDE on Dual Displays?
Posted by Nick Jacobs at 12/23/2003 4:44:26 PM
Hi Gang, Am I just lucky or do others have the same problem? I've got my computer with a dual-head video card in it so I'm actively running 2 monitors. I try to keep my IDE on one and the application I'm working with on the other one. I'm pretty much using the defaut environment with docked...more >>

devenv /build ALWAYS rebuilds EXE?
Posted by Graham Morris at 12/23/2003 3:40:08 PM
Is it true that, for a C sharp project, doing a "devenv /build" from the command line ALWAYS rebuilds the executable (or dll)? This is a major nuisance as I'd like to be able to work out what has changed from the last release so I can ship upgrades. Any chance of a fix/workaround? ...more >>

Insert Newline in Text box
Posted by Steve at 12/23/2003 11:40:23 AM
How do I insert a newline char in the message field of a validator control in the VS.NET design mode. There is no problem doing it in the code-behind by using \n. But in the VS design mode, I use a series of \n it only takes the first \n. For example: AAAAAAAAA\nBBBBBB\n\nCCCCCCCCC\nDD...more >>

OnBuildBegin vsBuildScope vsBuildAction - not exactly what I was expecting.
Posted by Chris White at 12/22/2003 10:09:07 PM
I was playing with some build event handling: Private Sub BuildEvents_OnBuildBegin(ByVal Scope As EnvDTE.vsBuildScope, ByVal Action As EnvDTE.vsBuildAction) Handles BuildEvents.OnBuildBegin MsgBox("Scope = " & Scope & " Action = " & Action) End Sub I noticed that no matter ...more >>

About Class View
Posted by xiaorun huang at 12/22/2003 4:17:14 PM
When I code my program with WTL, the class view will fail to handle some macro from WTL, for example: BEGIN_MSG_MAP_EX(CPlayerView) MSG_WM_CREATE( OnCreate ) MSG_WM_SIZE( OnSize ) END_MSG_MAP() LRESULT OnCreate( LPCREATESTRUCT lpCreateStruct ); void OnSize( UINT unSize, CSize size...more >>

intellisense
Posted by MURUGESAN MANOKARAN at 12/22/2003 10:55:03 AM
All of sudden, intellisense is not working in VS.NET IDE pls help...more >>

Unbinding SourceSafe
Posted by Steve at 12/22/2003 10:50:23 AM
We have a large web solution under Visual SourceSafe control. Sometimes we want to copy the solution to a machine that doesn't have access to the VSS server. We get all kinds of error messages and dialog boxes as VS.NET opens the solution, plus VS.NET creates a new virtual directory (WebSi...more >>

How do I mark the page "dirty" in my ComponentDesigner?
Posted by Stephen Walch at 12/21/2003 9:19:37 AM
I have implemented a System.ComponentModel.Design.ComponentDesigner for my component which has a number of verbs for editing my component (and sometimes other components on the page). My problem is that the VS.NET 2003 form designer does not always recognize that the form has changed. (It lets ...more >>

Opening the *.h file for a *.cpp file
Posted by Relaxin at 12/19/2003 10:59:51 PM
I've just converted myself for Borland C++ Builder to VS and trying to find a feature that Borland supported. In Borland if you hit <CTRL-ENTER> from within a cpp file, it would switch you over to the related header file of the cpp file. I don't see this feature in VS, the only thing I see i...more >>

Uncle!
Posted by Thom Little at 12/19/2003 7:32:02 PM
I am missing something pretty basic. All I want to do is to write a string using a Visual Studio macro. When the string is written to disk the window should close. This is as far as I have gotten in this quest ... Sub tla Ugly Dim oTextDoc As TextDocument Dim oEP As EditPoin...more >>

Spell Checker
Posted by Prince Hoff JR. at 12/19/2003 8:58:46 AM
Does VS.NET have a built in spell-checker? If so, where? -- Prince...more >>

LNK4006 errors in VS.NET caused by setting project dependencies
Posted by Roger Stoller at 12/18/2003 10:08:18 PM
Hello. I have run into a wall when trying to use project dependencies. My project consists of many libraries which depend on many other libraries. As an example, lets say: bar() is defined in foo.obj library A depends on library B library B depends on library C library D depends on li...more >>

how to detect a control is selected on design time form?
Posted by owen at 12/18/2003 8:47:37 PM
how to detect a control is selected on design time form? ...more >>

Find in Files short-cut
Posted by Vincent Finn at 12/18/2003 5:26:05 PM
Hi, In VC6 you could move to the next item that was found by a "Find in Files" by using F4 It would also go to the next build error Is there a way of doing this in VC.Net? I looked through all the short-cuts from "Tool -> Customize -> Keyboard" and it isn't listed F4 traverses the Task ...more >>

Major Whidbey complaint (!)
Posted by Lecture Snoddddgrass at 12/18/2003 3:49:59 PM
I know that this thing is pre-beta, so I'm hoping there's still time for you to change the defaults for text formatting options in the IDE (C# section). One of my least favorite things about installing a Microsoft product, take MS Word for example, is turning *off* all of the feature...more >>

C++ Addin can not find OutputWindow
Posted by Jake Montgomery at 12/17/2003 6:45:07 PM
Hi, I am trying to write an addin for VS.NET in C++ (how retro, i know).. I am unable to get the OuputWindow. I am using the code: { HRESULT hr = S_OK; CComPtr<EnvDTE::Windows> pWindows; CComPtr<EnvDTE::Window> pWindowOut; CComPtr<EnvDTE::OutputWindow> pOutpu...more >>

how to retrieve all the selected controls on the designing form
Posted by owen at 12/17/2003 3:44:44 PM
i'm a newbie to vs.net ide addin building,how can i write code to retrive all controls on the form at design time? ...more >>

Removing Commands, Menus and Toolbars
Posted by Anon at 12/17/2003 11:41:51 AM
All - I've created an add-in with several named commands. These are placed onto either a new toolbar or a new menu, both of which I've created. I'm having a problem removing the commands during uninstallation, though. During unistall, I can call oCmd.Remove successfully and also am removing the ...more >>

VS.Net DevTeam reading? Re-Repost: Empty line in a DocComments summary?
Posted by Roland Weigelt at 12/17/2003 9:42:47 AM
I'm developing a VS.Net addin for automatically generating DocComments in a C# source file. Doing this is pretty simple, many code elements in the code DOM (e.g. EnvDTE.CodeClass instances) have a read/write DocComment property. What I just don't manage to do is to generate an empty line insid...more >>

Unspecified error
Posted by Mike Weeks at 12/17/2003 8:15:30 AM
I am having a problem with the VS.net 2003 IDE. I am getting numerous projects showing up as "(unavailable)" in the solution explorer. If I right-click the projects and click on reload, I just get a messagebox with the text "Unspecified error". When I exit out of the IDE, I get an error "'...more >>

How To add an entry to the Text(Code) Editor right click menu (Not via an add-in)
Posted by cayanoglu NO[at]SPAM yahoo.com at 12/17/2003 12:17:54 AM
I want to add for example (Selection Comment) toolbar menu to rigt click context menu in VS Environment. How to do this by way of customize command (Not via an add-in)....more >>

static vs dynamic linking
Posted by JRJ at 12/16/2003 4:46:53 PM
Anyone have a good source of information on the various linking models? What are the implications when using one model versus another? Is mixing the models bad? Has any of this changed with VS.net (specifically for C/C++ programs linking to the C-RTL, other libs)? Thanks. ...more >>

Enumerators "not defined" in VS7 Browser information
Posted by jboncek NO[at]SPAM hunter.com at 12/16/2003 2:52:45 PM
A project I am working in has a number of enumerations defined only in COM .TLB files. The enumerators produce "The symbol '<name>' is not defined." when I try to browse to them. However, the project builds completely and they certainly are defined. Is there a way to make these names availabl...more >>

How to stop VS.NET IDE automatically formatting aspx file
Posted by Psam at 12/16/2003 12:46:23 PM

Dual Monitor issue
Posted by Bill Ansley at 12/16/2003 6:32:34 AM
I am developing on a dual monitor system and every time i lock the workstation the IDE resizes to the Primary monitor. No other application does this. ant clues on how i can prevent this? TIA, Bill A...more >>

Error File
Posted by Thom Little at 12/15/2003 9:39:05 PM
I would like to Build a Solution or Project while inside Visual Studio .NET 2003 and have the errors reported in a separate file that can be later read by a program outside Visual Studio. Is there a technique already available to provide this file? (I do not want to use the command line comp...more >>

IDE Bug: CodeVariable.InitExpression
Posted by at 12/15/2003 8:40:40 PM
Help!!! I've noticed that the following VB.NET code yields an InitExpression for each of the enum members: Friend Enum XXXX Member1 = 1 Member2 = 2 Member3 = 3 End Enum However, if Option Strict On is added to the top of the module, only the first has an InitExpression. Ha...more >>

Limit on # files detected outside the environment
Posted by Mikey at 12/15/2003 6:57:39 PM
We have a solution that contains 39 projects and many files within those projects. With our upgrade to VS.NET 2003 from the 2002 version, we've found that some of those files are not watched for changes outside the environment even though I have the "Detect when file is changed outside th...more >>

accessing codemodel
Posted by Koen at 12/15/2003 8:32:12 AM
High, We have a solution containing both C++ and C# projects and we were inspecting the classes from an add-in we are writing. The C++ classes came out ok, but in the C# assembly we find all CodeElements that don't seem to be related with the assembly (rather with the C++ code). I ran th...more >>

Localizing and res files
Posted by Robert Millman at 12/15/2003 8:16:28 AM
I am working with resource files in a C# WebForms Application under VS Studio 2003. I understand how to use them, how to create them, etc. My questions are: 1) In a WebForms app, there is a .res file associated (DependentUpon) with each webform file. How do I create additional .res f...more >>


DevelopmentNow Blog