Answer Questions
Jeff Lawson Extending VS2005
Hi all, I have a custom tool pane to aid in the documenting of our source code, but i have no idea how to read the line where the cursor is at in the editor, i need this to see what Methode or type i have selected.. Could anyone point me in the right direction Greetings I think I am trying to do about the same thing as you two... But I am a few steps behind. My basic goal is to respond to a develop ...Show All
Sweeps78 What does error CTC2114 mean?
I am using the Visual Studio SDK with Visual Studio 2005 Professional. The following problem occurs with both Oct and Dec versions of the SDK. The following also occurs when trying to compile any sample project that uses CTC. When I try to build a sample project the output is as follows: ------ Build started: Project: MenuAndCommands, Configuration: Debug Any CPU ------ d:\vssdk\2005.12\VisualStudioIntegration\Tools\bin\ctc.exe Ct ...Show All
Calumm Problem with Refactor - Rename feature.
Hello! I created Outlook Add-In solution (I experience this problem only with Outlook Add-In solution) and then I added few strings in code: .... int a = 0; private void ThisApplication_Startup( object sender, System. EventArgs e) { a = a + a; } .... When I tried to rename (Refactor - Rename) the 'a' variable I got the following error: --------------------------- Microsoft Visual Studio --------------------------- Rename ...Show All
Nick Waanders VSTO Installation
I am trying to install VSTO 2005, but I continue to get a message stating that "Visual Studio requires that Office 2003 with Service Pack 1 be installed on your computer before you install Visual Studio" However, I do have Office 2003 with Service Pack 2 installed. I also have Visual Studio 2005 installed. I would greatly appreciate any help that I can get. I have searched the forums and the web, but haven't found anything rel ...Show All
ZoranPecenovic Conditionally setting the AssemblyVersion at build time
I have a need to build a project and only increment the version number if and only if the project has changed, is there ANY way to do this other than build the project twice Can this possibly be done with a custom MSBuild task So far I have seen that you can update the AssemblyInfo.cs from the MSBuild process but doing so before the build makes it so that it will produce a new assembly, which I don't want to do unless something else changes whi ...Show All
tex222 How to view extension methods
The extension methods are linked to class into compiler time, right so, what work at ejecution time I review the assembly hoping view some code but i don't see anything. I think that compiler generate the method from extension method and add this to the class. I appreciate any help to understand how this work gabriel It sounds like you are asking how extension methods translate into IL. I put together a small sample and tested ...Show All
Rob Grigg Crystal problem
Hi hopefully someone will be kind enough to help. I am using a crystal report viewer to display my crystal reports. I initially run a store proc to populate a table which I need to become the source of the report I wish to display. However, when the report is displayed, it always shows the data from the table that the report was based upon when designed and not the new data table. I have tried both the below methods to change t ...Show All
Don Peterson Hi , How can I add a web brower in VS
I want to create a window/document to show a html file in VS. How can I do that I tried DTE.Documents.Add(Constants.vsDocumentKindHTML) , but failed. DTE.ItemOperations.Navigate(...) will open the given URL into a web browser. Craig ...Show All
Ameralis Zaiir Locbaml doesn't work
Wrote a XAML application very similiar to the sample from the devx website (and the same way as in the SDK). Used the locbaml tool to extract information. No problem. Got my CSV file. Translated it. Put it back into a new dll. Tried to run the application and it gives an exception saying that it can't find mainwindow.xaml (which is my primary window). Tried all sorts of things, but couldn't get it to work. Only time it worked was when I took the ...Show All
jjamjatra Can't open Class Designer
When I click in the Porject-Explorer on a Form e.g. Form1.vb and select "View in Diagram" than a new file "ClassDiaram1.cd" is created but, no Class Designer is opend and I get the Error-Message: "There is no editor available for 'C:\....\ClassDiagram1.cd. Make sure the application for the file type (.cd) is installed. So which is the application Why does the Visual Studio 2005 Beta1 Setip don't register this application Or Do I ...Show All
Asim Patnaik Uninstalled Visual Studio 2005 Standard and having problems with the re-install
I hope someone can give ma an idea of how to go about solving this problem. I re-installed the previously uninstalled verson of Visual Studio 2005 Standard Edition. Since then, when I try to restart VS, I get the message window that VS is shutting down since it encountered a problem. I tried repairing it, re-installing it two more times, even deleted some keys in the registry. (Yes, I did a back up first). I do notice that I can open an appli ...Show All
Chin Tian Property notation decision
i'm curious about the decision in msbuild to go with the <PropertyName>PropertyValue</PropertyName> notation for properties instead of the n/ant style <property name="foo" value="bar" /> approach. using property names as element names drastically restricts what types of names are acceptable (eg. periods and spaces are not allowed in element names). the decision to use script-specifiable to name elements seems highly ...Show All
Rusi Hilloowala Using Layout toolbar in custom windows forms designer
Hi, I am building a custom windows forms designer and I would like to enable the "Layout" toolbar for it so that I can use Align commands (and also TabOrder command). VS does ask the designer if designer supports these commands, but I do not know what to do once the user activates the command. My designer uses existing DesignSurface class for design. Does the existing DesignSurface support Align and TabOrder commands out of the b ...Show All
rana das How to logon to a database programmatically. vs2005
I have a web report (without a datasource) with two different subreports. The subreports are each based on a different stored procedure. When I run the report I always have to logon to the database, although I set the connectionInfo programmatically. The code is from the cr tutorialsamples. Is it because I use a stored procedure instead of tables (the sample uses: CrystalDecisions.CrystalReports.Engine. Table) Regards, Goos. <code> ...Show All
Jaans Visual SourceSafe Internet... ?
Ok... I was just wondering... I need to implement the web pages of the SourceSafe all by myself ! Isn't any default pages for that Hopefully I'm wrong... Please tell me that there is some web-interface with SourceSafe without me having to do it all by myself... ok Moshe. Hi Mark, I have no idea why the server says the file is not found. Do you run any software that blocks certain extensions in IIS (like IIS Lockdown tool for XP, Web Ser ...Show All
