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 > june 2004

Filter by week: 1 2 3 4 5

Up Arrow does Page Up?
Posted by Mikey at 6/30/2004 3:37:18 PM
I hope someone can help. Suddenly Up Arrow in the text editor does page up! It does not do a line up. I have tried changing the keyboard scheme to various ones, but it always page's up. Of course I checked my keyboard, and in notepad up arrow is indeed one line up, so its not a hardware probl...more >>


.Net Studio IDE Crash
Posted by Cosmo at 6/30/2004 3:09:01 PM
I've just installed .NET studio on Windows 2000 SP3 at work. Two others are using this application without error(same environment), but i cannot even open a project without my pc crashing. I just had my machine re-imaged and started the install from scratch. Previously, I was able to open an ASP...more >>

PreFilterAttributes method and DesignTimeVisible attribute
Posted by Arul at 6/30/2004 2:42:02 PM
Hi, I posted a question quite a while back asking how to dynamically adjust the DesignTimeVisible attribute in a component designer. The answer to that question was to override the PreFilterAttributes method and selectively add the DesignTimeVisible attribute. This does work, and we thought ...more >>

XML file indenting issues
Posted by John at 6/30/2004 1:11:38 PM
Hello. I'm working on a Windows Form Application that will generate an xhtml file based on the contents of an xml file. I began by creating a new solution, adding a new xml file, then adding a few elements. The editor didn't assist with indenting as I typed. I played around with the settings...more >>

Bizarre behavior on TITLE Tag
Posted by LeoM1895 at 6/30/2004 11:39:02 AM
While using VS.NET 2003, if you create a title tag in the HTML area of an aspx page that is to be run as a server-side tag such as: <title runat="server" id="PageTitle"></title> And using similiar code in the code-behind: Protected WithEvents PageTitle As System.Web.UI.HtmlControls.HtmlGe...more >>

Macro for setting Tools/Options
Posted by Agoston Bejo at 6/30/2004 10:58:11 AM
Hello, I am trying to create a macro that enables/disables Tools/ Options / HTML/XML / HTML / Attribute Value Quotes. I have tried recording the macro and setting the function but all what recorded was the following VB code: DTE.ExecuteCommand("Tools.Options") Which simply brings up the ...more >>

VS .Net 2003 Ent causes 100% cpu usage
Posted by stephenpatten NO[at]SPAM hotmail.com at 6/30/2004 10:46:57 AM
Hello, Wierd one here. For the past 2 days everytime I click on the solution explorer the machine just goes out to lunch never to return. I have to manually go into the task manager and kill the enviroment. I have unistalled CodeRush, and reinstalled 2003 enterprise but this has not correc...more >>

Automating the IDE/writing macros?
Posted by Jeff Johnson [MVP: VB] at 6/29/2004 12:17:59 PM
Which group would be the best for asking questions about writing macros which interact with the IDE? ...more >>



Minimal rebuilds
Posted by Steve McLellan at 6/28/2004 4:41:43 PM
Hi, We've got two developers working on the same mixed C++ project, using .SLN and .CPROJ project file (i.e. with identical configurations) on two different VS .NET 2003. The project files are in CVS. On one machine if you don't change anything between builds, the compiler recognises this. If ...more >>

how to view in "Design" mode
Posted by Joseph LeMay at 6/28/2004 3:25:01 PM
I have a couple of forms I've been working with for about a month now, but when I double-click on them, I only see the underlying code. I don't see the design pane. I don't know what I did to cause this. How do I get them to display in the form designer again?...more >>

use VS 7.1 macro results as version resource?
Posted by ixpcg NO[at]SPAM gmx.de at 6/28/2004 5:47:10 AM
hi there, in VS 7.1 there are various "macros for build commands and properties" to be used in a project's "properties". those macros include but are not limited to: $(ConfigurationName), $(RootNameSpace), $(ProjectName), $(TargetName), $(WebDeployPath). i'd like to make use of those macro...more >>

FileCodeModel
Posted by newsgroup NO[at]SPAM happysphinx.co.uk at 6/25/2004 2:11:20 AM
Hi I'm writing an Add-in that interacts with the VS.NET editor. The Add-in parses the editors ActiveDocument to extract various CodeElements from the ActiveDocument.ProjectItem.FileCodeModel.CodeElements collection. However, I've noticed that if the source file I want to parse isn't part o...more >>

BUG? Object comparison in code and debug watch window
Posted by Guogang at 6/24/2004 6:59:25 PM
My environment: VS .NET 2003 Version 7.1.3088 When I try to compare two objects which have same basic type like this: //row is a DataRow object, both columns are integer type with same value System.Debug.Write(row["title_id"] == row["book_title_id"]); The C# actually runs and give a "False...more >>

adding runat=server to a control on aspx page, don't cause the IDE to add the control to the code behind
Posted by z. f. at 6/24/2004 11:32:13 AM
Hi, adding a control with runat=server to an aspx page (using code - not designer view) - don't cause the control to be added to the code behind (.cs ot .vb file) only if i change the aspx view to designer and then to the HTML view again, the code behing is changed to add the controls with ...more >>

Must-Have VS2005 Features:
Posted by clintonG at 6/22/2004 10:06:31 PM
I want a way to document new projects as they are created so when I open a solution that contains many projects I can get properties on a project and use that project's description tab to display its meta data I could use to remind me what the project was created for, by whom and so on. I und...more >>

VS crash during addin uninstalling
Posted by Szymon Madejczyk at 6/22/2004 5:25:57 PM
Hello, I encountered strange problem. When following code is compiled in Debug it works ok. However when I compile it in Release. During uninstal VS .net 2003 display crash warning. What is more no exception is thrown. BTW addins are removed properly. Someone has idea what I do wrong. ...more >>

Problem with embedded resources
Posted by Roy Chastain at 6/22/2004 1:07:32 PM
I have a project that has 2 embedded resources. (Both text files.) I have noticed that most of the time when I change the file and build the project the copy of the file in the .exe does NOT get updated. Sometimes I can go to Build Action for the embedded file and change it to Content and back...more >>

IDE is changing design mode settings when compiling
Posted by jonas NO[at]SPAM bootman.se at 6/22/2004 9:01:31 AM
I have run into a problem that I can't understand and it is becoming really annoying. The problem occurs when I compile my solution. When compiling the IDE(?) sometimes removes properties that are set in the "Designer generated code" region. Let me give you an example... In one of my fo...more >>

VS.NET Perfomance and speed question ( Comparing with C++ Apps)
Posted by HerrLucifer at 6/21/2004 10:00:49 PM
I am each day becoming more and more addicted to the new .Net framework because of its cool RAD facilities. However, performance and speed is extremely important for my application development. I have done many various tests to compare the performance speed of applications written in C++ 6.0 V....more >>

Formatting Braces in VS.Net
Posted by howard NO[at]SPAM nospam.nospam at 6/21/2004 4:32:01 PM
In Tools | Options | Text Editor | C# | Formatting there is an option called "Leave open braces on same line as construct." This gives you the choice of two options for formatting braces: OPTION 1: namespace n { class c { public string s { get { ...more >>

Does Anyone Know of a macro to Auto Format Every Source File in a Solution?
Posted by junkmale48 NO[at]SPAM hotmail.com at 6/21/2004 3:51:07 PM
Any help Appreciated...more >>

HTML Editor creates its own tables !?!?
Posted by nevermind5807 NO[at]SPAM yahoo.com at 6/21/2004 2:42:57 PM
OK, I know the HTML editor is flakey and is liable to rearrange HTML, concatenating it all on one line, etc, but I'm encountering an issue now that I've never seen it do before. I know I should be using a different program to edit HTML. I also know I should be using CSS to do my positioning, b...more >>

ReferenceAdded and ReferenceRemoved events fired multiple times
Posted by Jessica at 6/21/2004 9:35:01 AM
I have an add-in and I am using the ReferenceAdded and ReferenceRemoved events that are available in the DTE. I've noticed that these events are fired about 3 or 4 times for each reference that is added or removed. Is this expected behavior or a known bug? My code is being run multiple times per ...more >>

Editing Recently Used Projects (Startup Tab)
Posted by Jeffrey A. Voigt at 6/21/2004 9:23:43 AM
Can someone tell me where the file is that pulls in all of the most recently used projects on the startup tab? I would like to edit it and take off some of the projects showing. Thanks, - J ...more >>

Grep addin?
Posted by Marc Pelletier at 6/20/2004 9:13:14 PM
Hello, Can anyone point me to a grep addin for vs.net? By this I mean that I would like to be able to do a search and see all instances of the result at once. Thanks Marc Pelletier...more >>

How to with VB.NET?
Posted by Mat at 6/20/2004 10:27:35 AM
-How to detect if computer has Network card? if yes, how to get his MAC address? -How to detect if computer has Modem PCI. if yes, how to get his unique number? How to Get Computer procesor unique ID or Motherboard unique ID? Thanks you ...more >>

TabControl click tab disables popup menu
Posted by Stephen Brownlow at 6/17/2004 10:10:01 PM
This is absolutely frustrating. We created a simple Windows project in VB.NET 2003 with only on form Form1. Then I added a TabControl on the form, and added 2 TabPages on TabControl. then I added one button on each TabPage. close the form and open it again. Now when I click TabControl to go to T...more >>

GAC question
Posted by Mat at 6/17/2004 11:41:46 AM
I add my assembly in GAC. but , in visual studio, i click Add reference, i can't see my assembly in the .NET assembly part. what wrong? ...more >>

Build events for setup project?
Posted by Sunny at 6/16/2004 2:55:31 PM
Hi, is there a way to implement prebuild and postbuld commands for setup project, as we can for normal projects? Thanks Sunny...more >>

Visual Studio 2005 toolbars and menus are way too fancy
Posted by Cristian at 6/16/2004 8:43:27 AM
Hello, I am writing to let you know that it was a dissapointing experience interacting with the new IDE of Visual Studio 2005, particularly concerning the toolbars and menus. Both, menus and toolbars have this gradient-like look and feel to them which isn't really professional. It reminds me o...more >>

Visual Studio 2005 toolbars and menus are way too fancy
Posted by Cristian at 6/16/2004 8:43:26 AM
Hello, I am writing to let you know that it was a dissapointing experience interacting with the new IDE of Visual Studio 2005, particularly concerning the toolbars and menus. Both, menus and toolbars have this gradient-like look and feel to them which isn't really professional. It reminds me o...more >>

Visual Studio toolbars are way too fancy
Posted by Cristian at 6/16/2004 8:43:21 AM
Hello, I am writing to let you know that it was a dissapointing experience interacting with the new IDE of Visual Studio 2005, particularly concerning the toolbars and menus. Both, menus and toolbars have this gradient-like look and feel to them which isn't really professional. It reminds me o...more >>

Visual Studio 2005 menus and toolbars are way too fancy
Posted by Cristian at 6/16/2004 8:43:21 AM
Hello, I am writing to let you know that it was a dissapointing experience interacting with the new IDE of Visual Studio 2005, particularly concerning the toolbars and menus. Both, menus and toolbars have this gradient-like look and feel to them which isn't really professional. It reminds me o...more >>

MS Development Environment has not been installed for the current user
Posted by bastawhiz NO[at]SPAM hotmail.com at 6/15/2004 1:22:35 PM
I have recently recieved my complimntary copy of VB.NET 2003 from MS for VB at the Movies Promo, and have installed it. Hoever, whenever I launch VB.NET, I get an error saying "MS Development Environment has not been installed for the current user." Previously, I have had this problem with Off...more >>

Track item in solution...
Posted by ksummerlin NO[at]SPAM tetradata.com at 6/15/2004 8:21:55 AM
This item is available from Tools/Options, Environment folder/Projects & Solutions. Any idea how to get at this via the automation objects? VSIP? I have this turned off by default, but sometimes I turn it on just to find a file in our large projects. All I can get the macros to do is DTE.Execu...more >>

How do I add a new project item to a folder? (using DTE)
Posted by Mr. Mountain at 6/14/2004 6:56:48 PM
I have been using the following C# code to add new items to a project (this is in the context of Visual Studio automation) using EnvDTE; .... project.ProjectItems.AddFromFile(fileName); //OR this: project.ProjectItems.AddFromFileCopy(fileName); However, I now have the requirement to add t...more >>

HTML AutoFormatting (with an actual question)
Posted by Michael J. Mooney at 6/14/2004 1:53:19 PM
I have resigned myself that to the undeniable fact the VS.NET (2003) will attempt to reformat my HTML tags, making my code almost completely indecipherable, any time I switch to the Design tab. Of course, this is ridiculous. However, since it quite simply cannot be solved, my approach is to N...more >>

using wwwroot as your application/project root
Posted by darrel at 6/14/2004 1:11:15 PM
OK, I'm having a brain fart on this one. I'm getting a dreaded " Could not load type" type error on my application and a bit of research indicates that this could mean anything from a corrupt DLL to a corupt IIS. So, after having tried many different suggestions, I'm just going to delete my pr...more >>

BUG: 'Go to Definition' in C# goes to wrong overloaded method
Posted by Tom McDonnell at 6/13/2004 7:10:57 PM
Right clicking a method call, and selecting 'Go to Definition' in C# navigates to the wrong method if the method is overloaded. So if you have two methods: DoSomething() { ... } DoSomething(string name) { ... } And a call to invoke a method: object.DoSomething("Car"); The 'Go to Defini...more >>

vi emulation for VS.NET?
Posted by Darryl A. J. Staflund at 6/13/2004 1:54:56 PM
Hi there, Does anyone know if there is a VS.NET plugin that brings vi keyboard emulation capabilities to VS.NET? I have found a similar plug-in for emacs but none for vi so far. Thanks for your help. Darryl Staflund ...more >>

Change the position of form1 in windows forms designer window
Posted by FGTerry at 6/13/2004 12:14:01 PM
Hi, I've recently decided to try to become familiar with .NET programming, and I'm currently working with VB.NET. My problem is that when I start a new project and the form designer window comes up, Form1 in Form1.vb[Design] appears in the upper left of the design window and I cannot change its ...more >>

C# XML documentation question
Posted by Jeff Johnson [MVP: VB] at 6/11/2004 2:47:20 PM
When you type /// in the editor in a C# source file, a comment block is created as soon as the last slash is typed. Is the format of the output (i.e., the generated template) hard-coded into the IDE or does the IDE call a macro which generates the output? I'm hoping it's the latter, because I'd ...more >>

sn.exe does not support wildchars
Posted by Sunny at 6/11/2004 12:47:04 PM
Huh, I was surprised. Why I can not use: sn -R *.dll mykey.snk Is there something special behind this limitation? Thanks Sunny...more >>

"Command Window" now has a caret on every new line, no longer usable, please help
Posted by AndrewV at 6/11/2004 7:44:09 AM
Greetings, My "Command Window" (Ctrl+Alt+A) now has a ">" caret prefix all new line. As a result, I can't use the "Command Window" to enter expression or check out variables. I must have entered a wrong short cut key somehow to alter the "Command Window" behavior. Have been pulling every la...more >>

Web Form Inheritance Error (Non-Abstract Superclass)
Posted by Scott Simms at 6/10/2004 6:15:01 PM
Implementing the page controller pattern in Visual Studio 2003 cause the Web Forms Designer to give the following error. "The file could not be loaded into the Web Forms Designer. … The class 'App.Web.Client.Common.UI.BasePage' could not be loaded." Specifically the code behind page inh...more >>

Please MS fix this ^%$^%$ thing
Posted by Lloyd Sheen at 6/10/2004 6:14:38 PM
The latest in a long long .... long list of IDE problems. In ASP.NET designer. Add a button. Go to properties to change the text. If you go their to quickly (hard to figure why) it keeps setting the focus to somewhere else (most likely background processing in the designer). So keystrokes g...more >>

Shortcut for enumeration?
Posted by Michel Walsh at 6/10/2004 5:22:48 PM
Hi, Under VS6-VB6, when a method got a parameter that is a member of an enumeration, the enumeration appears as a list, immediately, while, with VS 2003-C#, it seems we FIRST have to type the enumeration name: (under a form): this.SetStyle( at that point, in VB6, we cou...more >>

Custom Wizard Engine problem (C#)
Posted by Mr. Mountain at 6/10/2004 3:55:34 PM
Hi, I am building a custom wizard engine in C# following the example in "Mastering Visual Studio.NET" by Griffiths, Flanders and Sells (pg 304). Unfortunately, I'm having several problems that the book isn't helping me overcome. (It is a good book, but O'Reilly hasn't made code available and so ...more >>

Setup project and dependencies
Posted by Sunny at 6/10/2004 3:10:54 PM
Hi, I have Outlook addin, created with the help of the Extensibility wizard. This wizard also created a setup project. Now my solution contains 6 projects, which outputs assemblies, used by my addin. So far, so good. My problem is that in the dependencies list of the setup project, the ...more >>

can't get dte.ExecuteCommand("Tools.Shell", sn.exe...) to work
Posted by Mr. Mountain at 6/10/2004 2:32:31 PM
I'm trying to implement the Wizard example in "Mastering Visual Studio.NET" (pg 301) for creating a project with a strongly named assembly. In the script I need to call "sn.exe -k keyFile". I have tried every variation of dte.ExecuteCommand("Tools.Shell... that I can think of and I always get ...more >>


DevelopmentNow Blog