Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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

Filter by week: 1 2 3 4 5

Macro appears to run but no results
Posted by Steven at 8/31/2004 8:11:32 PM
Hi, I am recording a simple macro to delete the word 'one' from the list of 'one two three four'. You may recognize this as the example from "Running a Macro'. The macro is recorded, I can see it in the editor. But when I run this macro, the cursor turns to hourglass, but the word is not de...more >>


create stored procedure/table
Posted by Chris Sennitt at 8/31/2004 1:00:53 PM
an example says to right click the server explorer database "stored procedure" node and a popup menu will enable the creation of a new stored procedure. this is in visual studio 2003 dev environment. When i do this - i only get "refresh" and "properties" when i browse the database using SQLS...more >>

New to programming...
Posted by Robert E Johnson at 8/31/2004 11:02:10 AM
First Question: Hope someone has an answer. Why is it that with VS.net 2003 when I execute console programs, the console window runs my program and then the window closes out right away; and I cannot see my output butfor a brief second. I took a C class @ UW a few years back (we used VS C++ 6...more >>

How to print form design on IDE?
Posted by James Wong at 8/31/2004 10:40:23 AM
Dear all, As title, I would like to print my form design on IDE but found that "print" command is disable. Now I'm using print screen function to get hard copy. Does anybody know good idea to do it? Thanks for your attentiona and kindly help! Regards, James Wong ...more >>

Closing a window in the IDE
Posted by gordingin NO[at]SPAM consiliumsoft.com at 8/30/2004 7:23:26 AM
Can one program a way to close a source window by double clicking on the tab itself? Thanks Ralph Krausse www.consiliumsoft.com Use the START button? Then you need CSFastRunII... A new kind of application launcher integrated in the taskbar! ScreenShot - http://www.consiliumsoft.com/Scre...more >>

Creating web project in root of webserver
Posted by Michiel at 8/28/2004 12:39:05 PM
Hello, my VC# Standard doesn't allow me to create a new project in the root of the webserver. I must name my app and this creates a virtual directory with that name. Is there a way around this? Michiel ...more >>

HOW TO: create new project add-in for VS.NET 2003
Posted by rss at 8/28/2004 7:33:48 AM
What is the best approach to create a new project add-in for VS.NET? I've created a custom ATL-based project in VS6, but can't seem to find out how to do this in VS.NET. I've read some about enterprise templates and custom wizards/add-ins, but these don't seem to mention a custom project that s...more >>

extending a solution item
Posted by Victor Garcia Aprea [MVP] at 8/27/2004 10:03:55 PM
Hi all, I'm writing a VS.NET extender in C# and I'm having trouble finding an appropiate guid for solution items to get the IDE call my extender. I've successfully extended other different objects, but can't find a way to extend the files under Solution Items to add a custom property. Anyon...more >>



Getting Prototype position in Header File.
Posted by chofra03 at 8/27/2004 10:49:07 AM
Hi, Is there a way to get the function prototype position (in Header file for C++ project) using the CodeFunction Object? Presently, even by using the projectItem of a .CPP or .H I'm only be able to retrieve the StartPoint end EndPoint of the codeElement within the sourceFile. Is there...more >>

AddIn VS.Net 2003
Posted by Falk Winkler at 8/27/2004 8:31:28 AM
how can i create an item in the menu 'View', in the menu 'Tools' it works ...more >>

enter multi line text in property window
Posted by vmspro NO[at]SPAM yahoo.com at 8/26/2004 1:31:14 PM
Has anyone figured out how to enter multi line text in the Properties window? Say for example you wanted the Text property of a label set to the following: Customer Name I have no problem doing this programmatically but it seems there should be some way to do it using the IDE too. Than...more >>

Console.WriteLine()
Posted by John A Grandy at 8/26/2004 10:33:50 AM
when using Console.WriteLine() in what window does the written content show up ? what are the menu commands to find this window ? ...more >>

how to find project path name in VS .net 2003
Posted by Sid at 8/25/2004 10:01:02 PM
Hi, I was wondering if any of u know how to find the full path name of the project (or solution) on the top left of Visual Studio .net IDE -I know I can find the path name of the files opened individually by putting my cursor near them -but I would like to know if there is way to find/enabl...more >>

Intellisense quit working...
Posted by Wayne Brantley at 8/25/2004 8:12:18 PM
I have a solution with about 6 projects in it. When using one particular project in that solution, intellisense does not work. It will not pop up a list of anything. I tried opening that project up directly - and the intellisense worked. I tried creating a new solution - and the intellise...more >>

Rename a form
Posted by Wayne Wengert at 8/25/2004 3:56:57 PM
I created a form named "login". I then renamed it to "frmLogin" and I can see in the properties that the file name was changed to "frmLogin.vb" but in my code, when I refer to "frmLogin" I get the squiggles indicating that object does not exist but "login" does? How can I get VSNET 2003 to "se...more >>

How to remove a solution?
Posted by Mervin Williams at 8/25/2004 2:17:38 PM
Can anyone tell me how to remove a solution from within Visual Studio .NET? ...more >>

Visual ToDo comments
Posted by Rotan Hanrahan at 8/24/2004 3:57:13 PM
Familiar with the //TODO: comments we put in textual source code? Why not have an equivalent for the Form Editor in the IDE, so we can (for example) put a sticky yellow note next to the ugly button saying "really need to draw a better icon for this button". I RAD a lot, so all the visually s...more >>

VS.NET 2003 removes InitializeComponent code in ASP.NET web page.
Posted by Ken Varn at 8/24/2004 3:45:57 PM
I have had this problem occur several times. I am editing the HTML content on my ASP.NET web page and suddenly my web page no longer functions correctly when I run it. Turns out, that VS.NET removed the "this.Load += new System.EventHandler(this.Page_Load);" code from InitializeComponent() sec...more >>

How to add a _built-in_ _msoControlButtonDropdown_ type Command to a CommandBar programmatically?
Posted by ? at 8/24/2004 12:35:09 PM
Hi, How can I add a built in command to a CommandBar if its style is msoControlButtonDropdown? (for example the built in Multilevel Undo or Multilevel Redo or Solutions Configuration combo) What I've tried: Try 1) // Get the Command object from the Commands collection: Command comman...more >>

The code generated by the Data controls disappears
Posted by dan at 8/23/2004 9:29:29 PM
The code generated by the Data controls such as SqlDataAdapter and SqlCommand disappears when a change is made to the form (e.g. changing the text of a control, adding a new button, etc). Thus the data controls must be reconfigured which is highly annoying. Does this work as designed, is it a...more >>

app.config for debug and release
Posted by qjchen NO[at]SPAM email.com at 8/23/2004 9:54:18 AM
by default: app.config goes to both debug and release folder, like this: app.config --> bin\debug\myapp.exe.config app.config --> bin\release\myapp.exe.config But I have different config for release and debug. How can I do something like this: app.debug.config --> bin\d...more >>

Specified cast is not valid
Posted by DotNetJunkies User at 8/23/2004 9:06:41 AM
I am getting an error when an add-in executes. Following is the code snippet where it fails events = (ProjectItemsEvents)applicationObject.Events.GetObject("CSharpProjectItemsEvents"); I have made sure that dte.olb is registered and all other DLL's - office.dll, extensbility.dll, EnvDTE.dl...more >>

Deleting Addin Menu Items
Posted by mark NO[at]SPAM corporatedigital.com at 8/23/2004 12:28:57 AM
I've been working with extensibility projects and somehow have ended up with two AddIns on my Tools menu. They cause a fatal error (sends a report to MS) so I have no idea what the problem is. I've uninstalled and reinstall Beta1 but they're still there. They don't show up in the Addin Manager ...more >>

run resgen automatically during build?
Posted by Dick Bridges at 8/21/2004 5:32:00 PM
All I want to do is run resgen.exe automagically during a build. This kind of thing used to be easy. Now the .NET IDE "helps" me so much I can't figure out how to create a post-build linker step that will create a default string resource and embed it into the assembly. Environment is Microsoft...more >>

How to bind _special_ shortcut keys to a Command programmatically?
Posted by msnews.microsoft.com at 8/21/2004 1:16:35 PM
Hi, I would like to write a short macro, which programmatically sets some of my favorite Command shortcut keys. What I figured out that it can be done via assignment to Command object's Bindings array property. For example if I want to assign 'Ctrl + D' to Edit.GotoDefinition command I exe...more >>

any way to add tables to remote database in Server Explorer?
Posted by bennett NO[at]SPAM peacefire.org at 8/21/2004 9:45:34 AM
In Visual Studio .Net 2002 Server Explorer, if I add a new connection under "Data Connections", I can specify a remote server name and the username and password that I want to use, but then when the database appears, if I right-click on "Tables", there's no option to add a new table. If I rig...more >>

VS.2003 IDE Crash
Posted by harry at 8/21/2004 1:09:09 AM
Hi, After installing VS.2003, I just upgraded a VS.NET 2002 project to VS.NET 2003. I upgraded because VS.NET 2003 is slow and buggy. However, I find VS.NET 2003 is worse in terms of bugs. For approx 20 hours everything was fine. Now suddenly I have IDE+Debugger (VB.NET) problems. Comp...more >>

VS.NET 2005 - Whidbey Beta, problem with .projdata file(s)
Posted by Gary Morris at 8/20/2004 11:23:14 AM
Hello all, I just ordered (and received) the Whidbey Beta for just the cost of S&H, so I realize that it IS a beta and therefore no guarantees, but I cannot: 1. Convert a VS2003 project. 2. Open ANY project. 3. Create and open a new project. After numerous attempts, I still haven't been...more >>

C# Compiler Options
Posted by Paul at 8/20/2004 4:09:02 AM
I am trying to specify options to the C# compiler from within the IDE. Specifically, I need to use the '/res' switch to specify a resource file for the inclusion of string resources. I can see how to achieve this from the command line. However, how do I achive this from within the IDE? T...more >>

syntax highlighting inside <script> blocks?
Posted by Michiel at 8/19/2004 10:44:47 PM
Hello, how can I let Visual Studio highlight code inside <script> blocks with colors? I'm talking about an .aspx files that doesn't use code-behind/inherits. Thanks! Michiel ...more >>

How to add a _built-in_ Command to a CommandBar programmatically?
Posted by msnews.microsoft.com at 8/19/2004 2:19:55 PM
Hi, Q:How to add a _built-in_ Command to a CommandBar programmatically? After adding a built in command, it appears in the Controls collection of the CommandBar, but the added Command's visible property is False, and can't be set to True Here is the snippet what I try to run: Public Su...more >>

What happened to Windows Forms Designer
Posted by info NO[at]SPAM sigmaeconsulting.com at 8/19/2004 9:51:28 AM
Hello, I have been using VS 2003 for a while and eveything was OK. Now, I am not able to view any form and error "Required Permission can not be accquired" When I go to the Options and the Forms Designer I see nothing in the property page In fact it says "Error Loading this propery page" I h...more >>

Signing a vb.net class using a post build event macro
Posted by siener NO[at]SPAM gmail.com at 8/17/2004 7:46:43 PM
We use buildit to automatically build all of our solutions every night. In C# we are able to call a batch file for the post build event and sign the assembly for the GAC using our private/public key pair. Now, in VB.net there's no easy way to do this. I saw that you can create a macro that ...more >>

Compiled .Net 1.1 GUI in a.NET 2.0 application bound to .Net 2.0 datasources?
Posted by Tolga Erdogus at 8/17/2004 5:07:26 PM
Hi, can I build my whole application in VS.NET 2003 then take the GUI, compile it as a dll, import it in to VS.NET 2005 beta1 and use my web service source from VS.NET 2003 (this time compiled with .NET 2) and bind the remoted web service datasets to the compiled .NET 1.1 GUI. Woul the .Net 1...more >>

VS .NET with old ASP apps
Posted by Michiel at 8/17/2004 3:39:56 PM
Hello, when I buy Visual Basic .NET, can I also define oldschool ASP webapplications written in 'normal' VB, and continue to maintenance them in that program? If so, does it offer the same tools and options as it does for new applications (code completion etc)? Thanks Mchiel ...more >>

Start Page / Online Resources - no net?
Posted by Agoston Bejo at 8/17/2004 9:47:16 AM
Hi, on the Start Page when I chose the Online Resources tab, then Web Hosting, the following message shows: This feature requires that you have connected to the internet previously or are currently online The same with Headlines, Downloads, XML Web Services, etc. Meanwhile I can browse the...more >>

Why IntelliSense fails with long class names
Posted by mbosticky NO[at]SPAM aimltd.co.uk at 8/17/2004 3:39:16 AM
Dear Software developers, Concerning IntelliSense in C++, Templates and Namespaces: We all know that IntelliSense in VS.NET is fragile at best. I have just spend 3 days playing arround with my new project and IntelliSense because I wanted intellisense available for my team for a new library ...more >>

Change default project properties?
Posted by red floyd at 8/16/2004 4:26:38 PM
I have a set of default project properties I'd like to use. Right now, when I create a VC++ project, it comes up with what the VS team thought were good defaults. I don't like having to go through and change all the settings whenever I create a project. For example, I'd like to chang the ...more >>

"All Configurations" clobbers settings?
Posted by red floyd at 8/16/2004 9:00:35 AM
VS.NET 2003. When I set options (such as #defines) in a project's "All Configurations", it completely overwrites the previous settings for both Debug and Release. e.g. I'm seeing this: before: #defines Debug : _DEBUG Release: NDEBUG After setting MY_DEFINE in "All configurations" ...more >>

Strategic view of C# code
Posted by amir NO[at]SPAM sl.iae.nsk.su at 8/15/2004 11:03:19 PM
One of most notable thing when moving from C++ to C# is absence of header files. While it has some benefits it lost one important feature. Header file provide concentrated set of commented declarations without imlementation details. So it become a perfect documentation tool. "CollapseToDefini...more >>

Repost: IDE Problem/Bug
Posted by GregM at 8/15/2004 4:59:01 PM
Thread originally started 7/27/04 "GregM" wrote: > "Graham" wrote: > > I keep having a problem with the resources in use with my Menu, they keep reverting to numerical values in the .rc file. This results in the Help file not being displayed. > > Also the ICON is not displayed either. > > >...more >>

Repost: Getting a new .SLN from source control in VS03 loses setti
Posted by GregM at 8/15/2004 4:03:01 PM
Original thread started 8/4 > What I see in the .sln file in a text editor is: > > This is a MC++ project, maybe it's different for whatever you're doing. > ..suos shouldn't really be in source control I will try to explain this again. When the .SLN file on disk is replaced while Visua...more >>

Repost: Resource Editor Combo Box Data
Posted by Greg at 8/15/2004 12:52:37 PM
In VC6, there was a tab on the control properties dialog for a combo box that had a multi-line edit field for entering the initial data in the combo box. In VC 7.1, it appears this has been replaced by a single-line edit field. The help says to separate multiple lines with a semicolon. What ar...more >>

code profiling c++ code in visual studio .net 2003
Posted by Sid at 8/14/2004 5:49:01 AM
Hi folks, does anyone know how I can profile c++ code from within Visual studio .net 2003 Enterprise edition ? I looked at the MSDN help which says I need to go to the build menu, then settings, & then Project settings, then link tab -to turn profiling -However I don't see "settings" at all...more >>

Visual Studio 2005 BETA - Register Addin
Posted by Dan at 8/12/2004 2:26:57 PM
I have a Visual Studio 2003 addin that I'd like to use with Visual Studio 2005. I can't seem to find much on how to register the existing addin with VS2005. Any leads? TIA Dan ...more >>

Adding a new Macro for Build Commands and Properties in Vs.NET
Posted by David K at 8/12/2004 4:59:03 AM
in VS.NET you can use several macros to set properties of projects for example $(SolutionName) is there a way to add a new macro ? thanks David ...more >>

Hidden characters (tabs, etc.)
Posted by Cowboy (Gregory A. Beamer) [MVP] at 8/10/2004 1:34:35 PM
Accidentally turned on the hidden characters in VS.NET. Any idea how to turn them off? -- Gregory A. Beamer MVP; MCP: +I, SE, SD, DBA ************************************************ Think Outside the Box! ************************************************ ...more >>

Extending the Class View of VS.NET IDE
Posted by Saradhi at 8/10/2004 10:56:08 AM
Hi All, I wanted to access the Class View of the VS.NET IDE. I am able to add my own customized menu items to the Context Menu of = Class View. But Now I want to enable and disable thee menu items according to the = item seelcted. I want to 1) Select some menu items if the sel...more >>

Support Article 313512 - Could Not Copy Temporary Files...
Posted by MattC at 8/10/2004 10:19:27 AM
I have a solution with 4 projects, this is also the build order. DataAccess -20kb BusinessLogic -76kb InterfaceControls - 24kb WebApp - 28kb The references are like this: WebApp requires BusinessLogic and InterfaceControls, both are set to CopyLocal = true BusinessLogic requires DataAc...more >>

VS 2003 Customizations
Posted by Leigh Kendall at 8/9/2004 3:30:19 PM
Thought I had this nailed down in VS 2002 by using KB article 320851 which details how to move and save IDE settings. This works great, however, I'm having an issue with VS 2003 in locating my toolbar settings. I don't seem to have a toolbox.tbd file and yet my toolbar customizations are saved...more >>


DevelopmentNow Blog