.NETGURU
microsoft.public.vsnet.ide
Up to: Discussion Lists

  • RSS Syndication
  • Post a new message to this list...
    Latest Discussions Archive
    Designer-given control names causing version control conflicts (23 replies, VIP)
    microsoft.public.vsnet.ide
    Hi, everyone, After spending a whole day manually fixing this problem I'd like to know if it could have been avoided. The problem is that when a new control is added to a form, the designer gives it a new name such as Label65. Now if two developers edit the same form and add a label they'll both get a Label65 and if they don't rename it, when they try to checkin they'll be in conflict land for a w...
    Setup Project Problem (4 replies)
    microsoft.public.vsnet.ide
    Dear All, I just wanted to know, how can I register a service using Visual studio setup project. I can create a Setup Project successfully, it installs all the program, but I need a hint on how to run "InstallUtil.exe ApplicationDirectory \ApplicationName.exe" in order to install and register the service. And of course how can I unRegister the Service when uninstalling the application. I look forw...
    UserControl / ActiveControl / Designer (3 replies, VIP)
    microsoft.public.vsnet.ide
    Hi, I am trying to develop a component that inherit from UserControl for my application. My goal with that component is not to reuse it in many places through the project, but to instanciate it dynamically when i need to show it in a form. What happens is that i have a relatively huge form (like 10 tabs) and in run time and design time loading/using the form takes for ever. I thought it would be n...
    Installing Services Using VS.Net Base Setup Project (2 replies)
    microsoft.public.vsnet.ide
    Dear All, I just wanted to know, how can I register a service using Visual studio setup project. I can create a Setup Project successfully, it installs all the program, but I need a hint on how to run "InstallUtil.exe ApplicationDirectory \ApplicationName.exe" in order to install and register the service. And of course how can I unRegister the Service when uninstalling the application. I look forw...
    VS.2003 IDE Crash (3 replies)
    microsoft.public.vsnet.ide
    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. Compilation was fine 20 hours ago, yet now it's not. I haven't installed any more software since installing VS.2003, a...
    ToolboxItems: Sort programmatically (4 replies, VIP)
    microsoft.public.vsnet.ide
    Hello, I'm creating a ToolboxTab with a macro and add cumstom components to it. I use this to obtain it: ToolBoxTab.ToolBoxItems.Add("Name", BinPath & "Assembly.dll", vsToolBoxItemFormat.vsToolBoxItemFormatDotNETComponent) I only can't figure how to sort the ToolboxItems after they have been all added. Any ideas would be greatly appreciated. Kind regards, Michael
    How To Set CodeGeneratorOptions In VS AddIn (2 replies, VIP)
    microsoft.public.vsnet.ide
    I want to be able to set the CodeGeneratorOptions (e.g. BracingStyle, ElseOnClosing) in a Visual Studio 2003 add in so that it generates code the way I want it to. I know how to create an add in but I don't seem to be able to find the place in the VS2003 automation model where these get set. Can anyone help ? Thanks. Nick Carter
    Addin for the "Easy MDI Document Window" (3 replies, VIP)
    microsoft.public.vsnet.ide
    I am trying to add a menu item to the context menu of the code page tab. Using the CommandBrowser from the download site, I found the name of this to be the "Easy MDI Document Window"; however, I am unable to add my own item to it. Can someone please tell me what I am doing wrong here: Command command commands.AddNamedCommand (addInInstance, "CloseAll", "Close &All", "Closes all the open code wind...
    VS 2005 feature-alike for VS.NET 2003? (2 replies, VIP)
    microsoft.public.vsnet.ide
    [might be a bit off topic] Hi, I recently read (but can't find again) an article on VS 2005 which described a (for me at least) long missed feature: templates for project settings that could be reused between different projects. Unfortunately I've also forgotten what it was actually called (which is probably why I can't find the article again). The feature was at least applicable for C projects. A...
    HOW TO: create custom project wizard that generates both a DLL assembly project + a setup project (4 replies, VIP)
    microsoft.public.vsnet.ide
    I'd like to thank everyone who posted to my request for creating a custom project wizard in VS.NET 2003. This is very similar to doing it in VS6. I'm taking this one step further now. My ultimate goal is to have a single wizard that will generate a solution containing 2 projects: 1) my custom C# assembly DLL project 2) an msi setup project that already includes the output of the C# assembly projec...
    ARGH. Stop rewriting my markup! (8 replies, VIP)
    microsoft.public.vsnet.ide
    I'm using VS.NET '03. I go to type a label tag in HTML mode of my ASCX page: label for "thisitem" I flip to design mode, then flip back and my tag now looks like this: LABEL for thisitem ARGH! How can I make VS.NET stop doing this? I've looked at all my HTML formatting options and I have everything turned off. Am I missing something? Is this just yet another incredibly annoying MS bug? Is this MS ...
    "variable 'x' declared but never used" warnings in VB.NET (10 replies, VIP)
    microsoft.public.vsnet.ide
    Hi, During compilation, a C# project in my solution triggers the following warning: "warning CS0168: The variable 'ex' is declared but never used" To trigger this warning, it appears the C# compiler WarningLevel needs to be 3 or above. In the same solution, I also have a VB project, however Help document ms help://MS.VSCC/MS.MSDNVS/vbcon/html/vxlrfvslangprojprojectconfigurationpropertieswarninglev...
    Macro to copy project output? (2 replies, VIP)
    microsoft.public.vsnet.ide
    I'd like to make a macro to copy the project outputs of all the projects in my solution to a different folder. Seems simple enough, and something that the automation of the IDE ought to be able to give me pretty easily. But I can't find out where to get the project output! I've looked at the project object (DTE Projects Project), but can't find anything in there that represents the project output!...
    Multiple Tabbed Pages in Combined Collection Help? (3 replies)
    microsoft.public.vsnet.ide
    Visual Studio .NET 2003 Combined Collection... Are we limited to one tabbed page open at a time or is there some way to open multiple pages in help and use the tabs to toggle between desired pages? % Clinton Gallagher, "Twice the Results Half the Cost" Architectural & e Business Consulting Software Development NET csgallagher@REMOVETHISTEXTmetromilwaukee.com URL http://www.metromilwaukee.com/clint...
    Core team, please help, VS crashes (3 replies, VIP)
    microsoft.public.vsnet.ide
    I can't open an .aspx page in html view or the web.config file inside VS.Net 03 (Win XP Pro SP1, Office 03), it causes vs to crash and I can send or don't send the error to MS. This is a production asp.net app that needs changes now and I can't modify any aspx pages. Also whenever I right click on a html, .js, or other non cs or vb file, and click "Edit in Visual Studio .Net 2003", VS crashes and ...
    Intellisense quits working...REPOST.. (4 replies, VIP)
    microsoft.public.vsnet.ide
    I never got an answer to my first post. 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 intellisense stopped working. I have read about deleting .projdata, but I do not eve...
    VS2003 Property Window empty (11 replies, VIP)
    microsoft.public.vsnet.ide
    Hello Group, I just reinstalled my DevPC (from OS to VS) and now if I open my C# Projects the Property Windows is always empty. It doesn't care if I select a Form or any Control on it or right click on a control and select the Properties, or select and F4. The Listbox in the Properties Windows is also empty I can't get to any property. I already reinstalled VS2003 but it didn't help. Any Ideas ? T...
    How to programmatically place add-in toolwindow in same frame as tasks? (4 replies, VIP)
    microsoft.public.vsnet.ide
    Hello everybody, I'm currently developing an Add In for VS.Net 2003. I already got beyond all the obstacles like Win32 resource DLL, transparent images, placing the toolbar, etc. Only for placing toolwindows I couldn't find anything. Instead of having toolwindows float initially, I'd like to show them docked initially, in the same frame as the tasks window. Anybody knows how to do that? Thanks, Ch...
    New to programming... (5 replies)
    microsoft.public.vsnet.ide
    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.0); when you executed programs in Debug mode with VS 6.0 holds the window open for you until you press a key...
    No autocompletion in the Command Window (3 replies)
    microsoft.public.vsnet.ide
    Hi everyone, I have moved to a new installation of Visual Studio 2003 (using C#), and I no longer have the autocompletion feature inside the command window. I have been all through the options dialog and cannot seem to change this. Any, and all help would be appreciated. Thanks, JRB
    Project Creation Annoyance (2 replies, VIP)
    microsoft.public.vsnet.ide
    VS.NET 2K3 How about letting the IDE have some respect for the developer? I wish to create a VC project. Specifically, I have an existing directory. For our purposes, we will call it C:\BigProject. I wish to create a project C:\BigProject\Subproject.vcproj. However, the IDE assumes I don't know what I really want and insists that new projects be created in C:\BigProject\Subproject\Subproject.vcpro...
    ANN: free DPack for Visual Studio .NET 2003 v1.3.0 (beta) (2 replies)
    microsoft.public.vsnet.ide
    Hi all, I'm pleased to announce a new beta version of our free VS.NET 2003 add in collection called DPack. Here's where you can download DPack setup application from (screenshots are available as well): http://www.usysware.com/dpack/ This is what's included in this release: * (New) Framework Browser add in locate Framework Component Library type, its corresponding namespace and assembly using the ...
    Auto assignment of ID attribute (3 replies, VIP)
    microsoft.public.vsnet.ide
    Hi, When I copy /paste some code in the VS IDE it automatocally adds an ID attribute... How do I get it to stop doing this... Thanks Donal
    Macro appears to run but no results (2 replies)
    microsoft.public.vsnet.ide
    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 deleted. As a matter of fact, any macro I attempt to run appears to run (hourglass cursor), but nothing happens...
    XP Image List Problem (2 replies, VIP)
    microsoft.public.vsnet.ide
    Dear All, I am writing an application which uses image list for listview and tree view usage. I encountered a problem in windows 2003 this is working fine and I don't have any problems. In Windows XP the images of this image list is not shown in ListViews and Tree Views. I don't know what is the problem. Could anyone help me out with this problem? I look forward to hearing from you. Alireza
    automatically including generated C# files into project build (5 replies, VIP)
    microsoft.public.vsnet.ide
    Is there a way to automatically include C# files (.cs) generated by a third party tool into a Visual C# .NET build? It's possible the set of files generated by this tool might change. Adding these files manually to the project would work in the short term, but this would require manual intervention if these generated files happened to change, and I'd like to avoid any unnecessary manual steps. NAn...
    How to re-use form code (2 replies, VIP)
    microsoft.public.vsnet.ide
    I'm using VS 2003 and C . I added a form to a project and then removed it, but now I want to put it back in the project. How can I do this? Simply adding the files (.cpp, .h, and resource file) does not work... I can no longer use the designer on the form. I don't want to reconstruct the form from scratch. There doesn't seem to be any way to "add an existing item" where the item is a form. I think...
    Whidbey Crashes (3 replies, VIP)
    microsoft.public.vsnet.ide
    I'm using VS.Net 2005 to make an .ASP application. It was working perfectly fine until last Friday when I tried to configure an SqlDataSource using a smart tag and the whole VS.Net IDE froze. Now every time I try to configure an SqlDataSource the same thing happens. I've tried both repairing and reinstalling the whole beta application. Anybody have any ideas or direction about whom to turn to for ...
    Namespace errors VCProjectEngine (2 replies)
    microsoft.public.vsnet.ide
    I'm trying to write a .net macro [in Visual basic] to manipulate the project solution of a .net c project. When I add Imports Microsoft.VisualStudio.VCProjectEngine to the top of the file , so I can use e.g. Dim prj As VCProject I get : vsmacros://C%3A/Documents%20and%20Settings/dave/My%20Documents/Visual%20Studio%20Projects/VSMacros71/AddFiles/AddFiles.vsmacros/Module1(3): Namespace or type 'VCPr...
    Major Cut and Paste Problems in VS.Net 03 IDE (2 replies, VIP)
    microsoft.public.vsnet.ide
    Please help!!! For a good year now I have had major problems when pasting code into an ASP.Net c# code behind page. Sometimes it works, sometimes it don't, and when it doesn't, it gets real ugly real fast. Chunks of other code will dissapear, intellisense stops working, the mosuse cursor ends up somewhere totally different, and lots of strange characters will show up all over the place. Using Win ...
    VC++ .Net Forms Designer Slow Load Times (3 replies, VIP)
    microsoft.public.vsnet.ide
    We have several forms designed with VSNet's VC Forms Designer. Some of our simplest forms have 20 30 controls and will take approximately 2 minutes to load. A very complicated multi layer form takes approximately 12 minutes to load into the designer. Sometimes it even fails to load and puts a big X in the designer. This is happening on several 2.8 GHz P4 machines with 512 MB memory and Multi Gig h...
    Loose all formating and most IntelliSense when I switch to code (3 replies, VIP)
    microsoft.public.vsnet.ide
    I have a project that is behaving very strangely. This is a Windows Forms application written in C# using VS 2003. When I open the form in design mode and then right click on the form and select View Code. All the code is black text. None of the keywords are highlighted and when I start typing code it isn't formatting any of it correctly and my local variables and objects don't appear in IntelliSe...
    register tags issue when switching from VS.Net to FrontPage (2 replies, VIP)
    microsoft.public.vsnet.ide
    Hi all, Due to the horrendous job that studio currently does generating and preserving html "code," I tend to use FrontPage (version 2003) to edit the html in my aspx pages. VS.Net is setup to auot reload the aspx pages into the IDE after detecting a change in them. The problem is that FrontPage seems to randomly delete register tags from the top of the page, paticularly tags that were placed ther...
    Creating a new module level variable (2 replies, VIP)
    microsoft.public.vsnet.ide
    What commands do I use to create a new variable in the declarations area?
    Closing a window in the IDE (2 replies, VIP)
    microsoft.public.vsnet.ide
    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/ScreenShot.jpg
    Project File (ProjectGuid attribute) (2 replies, VIP)
    microsoft.public.vsnet.ide
    What is the significance of the ProjectGuid attribute in the .vbproj or csproj files? For example, recently I copied the source for an existing web application into a new directory because I wanted to modify it but keep the old one unchanged. I then opened this project from the new directory and renamed it and the solution. I also created a new virtual directory in IIS for this app. I can now acce...
    Accessibility levels between projects (2 replies, VIP)
    microsoft.public.vsnet.ide
    I have a solution with four distinct projects. I have found that methods in a class in one project are not accessible to another project's classes unless they are set as "public". This definitely does not seem right. What do I need to do to make accessibility more restricted? I am new to VS.Net and using 2003. Thank you
    Per-file control of tab size in VS editor (6 replies, VIP)
    microsoft.public.vsnet.ide
    In VC 6.0, I could bring up the properties dialog, and among other useful things that are missing in VS 2003, were controls for the language and Tabs/Spaces settings for that particular file. This was incredibly useful when I tried to read a source file that had 8 space tabs, while set for 4 space tabs, or for reading a file with a non standard extension as a C/C file. I haven't been able to find ...
    Intellisense quit working THRID POST... (5 replies, VIP)
    microsoft.public.vsnet.ide
    I never got an answer to my first post or my second post. This managed newsgroup service is NOT working well at all. 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 intelli...
    How to print form design on IDE? (5 replies, VIP)
    microsoft.public.vsnet.ide
    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
    Setup project with custom-only folders not working (4 replies, VIP)
    microsoft.public.vsnet.ide
    I have created a setup project that consists of 4 custom folders only. The files being installed are: 1) an xml file in 1 custom folder, whose location is [TARGETDIR]\folder1 2) a single DLL assembly in the remaining custom folders, where each location is [TARGETDIR]\folder[2,3,4] respectively There are no files going to any of the predefined folders. The problem I am seeing is that TARGETDIR is n...
    CreateInstance fails from secondary domain in an addin (10 replies, VIP)
    microsoft.public.vsnet.ide
    Assemblies can't be unloaded, but there is a way to effectively do this by using a second app domain and closing it when you're done. Works in normal projects, but in plugins, using CreateInstance from the secondary domain throws an exception saying the file could not be found. I figured, OK, I'll just transfer the files to C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE. That chang...
    How to use AddFromTemplate to add new project item ( for C#) (4 replies, VIP)
    microsoft.public.vsnet.ide
    The AddFromTemplate statues that you must use the complete path to add a new project item. But how I do know the path where the user has installed his .NET ? What I try to do is to add a new Form ( in C# ). Thank you for your time, Andrei
    VS.NET 2003 removes InitializeComponent code in ASP.NET web page. (3 replies, VIP)
    microsoft.public.vsnet.ide
    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() section. Is Microsoft aware of this problem, and is there a fix? Ken Varn Senior Software Engineer Diebold Inc. ...
    Visual ToDo comments (3 replies)
    microsoft.public.vsnet.ide
    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 start and end in the Form Editor, and there's nowhere for me to put comments except in the source code. It's ...
    Extending the Class View of VS.NET IDE (4 replies, VIP)
    microsoft.public.vsnet.ide
    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 selected item is a namespace in the Class View. 2) Select some menu items if the selected item is a code item in the Class View. I...
    How to add a _built-in_ Command to a CommandBar programmatically? (3 replies, VIP)
    microsoft.public.vsnet.ide
    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 Sub Add() Dim cb As Microsoft.Office.Core.CommandBar Dim cbc As Microsoft.Office.Core.CommandBarControl cb DTE.Command...
    Getting Prototype position in Header File. (2 replies, VIP)
    microsoft.public.vsnet.ide
    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 a way to get the reference of the prototype defined in the .H? Thanks, Francois Chouinard jr. eng. Software Develop...
    Console.WriteLine() (2 replies)
    microsoft.public.vsnet.ide
    when using Console.WriteLine() in what window does the written content show up ? what are the menu commands to find this window ?
    VS.Net automation help needed (2 replies, VIP)
    microsoft.public.vsnet.ide
    I have a very simple add in that checks if a project item being added is a ..cs file, and if so, adds some things to the code structure. It works well, except for the fact that, well, it doesn't work anymore. My code: public void OnStartupComplete(ref System.Array custom) { // Get an instance of the currently running Visual Studio .NET IDE. ProjectItemsEvents CSharpProjectItemsEvents (ProjectItems...
    Visit the archive for messages from this site.
  • January 2002 (9 items)
  • February 2002 (20 items)
  • March 2002 (23 items)
  • April 2002 (14 items)
  • May 2002 (11 items)
  • June 2002 (10 items)
  • July 2002 (18 items)
  • August 2002 (10 items)
  • October 2002 (10 items)
  • January 2003 (43 items)
  • February 2003 (23 items)
  • March 2003 (13 items)
  • July 2003 (15 items)
  • January 2004 (350 items)
  • February 2004 (83 items)
  • March 2004 (46 items)
  • April 2004 (158 items)
  • May 2004 (77 items)
  • June 2004 (58 items)
  • July 2004 (53 items)
  • August 2004 (130 items)
  • September 2004 (43 items)
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification