visual-studio

create titles of columns in tables Visual Studio

I am trying to create visually a table with the visual editor of Visual Studio Express. I am using the tableLayoutPanel component, but I have the problem of creating the titles of the generated column as it seems that no properties is provided. Does anyone knows how to do it? ...

sharp architecture question - no strongly typed views

Hi, I am trying to get my head around the sharp architecture and used the visual studio template as described on the web: http://wiki.sharparchitecture.net/VSTemplatesAndCodeGen.ashx This is all cool. Unfortunately, I cannot add a strongly typed view as easily as I am used to ‘under’ asp.net mvc. What can I do to ‘enable’ this in VS ...

Crystal Reports - Underlay section overlays lines (drawing object)

I have a problem with CR (version that ships with VS2008). Report has two report headers, one of them is used for watermark (a picture), using the "Underlay following sections" option. The problem is that, while this picture underlays field objects, it overlays lines in all of the sections (details, report footer etc...). Any solutions...

How do I get the path to the associated file used to launch a program?

I have a program with an associated file type. However, when I double-click a file to launch the program, I can't figure out where that path was passed to the program. Initially I thought the file path would be in Environment.CommandLine, but the command line only contained the program path. I specified the file association using the P...

adding class diagrams from VS2008 to Sandcastle help file

I've made class diagrams for my projects in Visual Studio 2008 Team System and I want to embed these diagrams in my Sandcastle .chm file. I keep finding references to the Drawbridge component for Sandcastle but they apparently dealt with an older version of Sandcastle; not surprising since it looks like Drawbridge was last updated in 20...

Visual Studio 2008 setup looking at wrong drive

I'm trying to add a feature to VS 2008. However, the initial install was done with a DVD in drive D: ... I don't currently have the DVD, so I'm trying to do the updating using an .iso mounted as drive E: ... The VS setup program is not able to find the setup files. Is there a way for me to tell VS 2008 setup to look for files in E: in...

Time is updating when a form is not even running

A co-worker of mine had downloaded a vb example project a while back to see how to make a call or two, he discovered it today again, and noticed that while sitting in the IDE the time/date is updating automatically when the entire project is not even running. How does this work, we looked around for code but can't find anything giving i...

VIsual Studio : ASP.NET Extra Page Files

Is there any way to write a VS Add-In or something else that would allow me to be able to link files to an ASPX page in ASP.NET. My goal is to be able to have this extra file created with every ASPX page, and then use a custom MS Build Task to analyze those files and do some stuff. So for example, when I created "MyPage.aspx", I'd actu...

Show Visualizers Error "could not load this custom viewer"

When I try to inspect DataSet by standard DataSet visualizer I see this error "could not load this custom viewer". I wrote simple dataset visualizer, but error throws anyway too. On other computers with the same configuration visualizer show without any errors. OS: Windows 7 x86 (Release) VS: Visual Studio 2010 RC has somebody any i...

Can't step into stored procedure on remote SQL Server 2008

I have a domain controller installed on virtual Windows Server 2008 x64. SQL Server 2008 Express x64 is running on Windows Server 2008 x64 and client on Windows 7 RTM x86. Both have joined the domain. I'm starting both Visual Studio 2008 and SQL Server Management Studio 2008 under domain admin user. This account is a member of group sy...

Visual Studio 2010: browse the web within VS?

Consider a developer who spends lots of time in Visual Studio. Hours are spent toiling on source code. Sometimes, he needs to search the web. Can you browse the web right within Visual Studio? Consider all modern versions and SKUs of Visual Studio. If so, are there any easy ways to launch that browser window? Are there any gotchas in...

Visual Studio - "attach to particular instance of the process" macro

I guess prety much everyone who does a lot of debugging have a handy macro in Visual Studio (with shortcut to it on a toolbar) which when called automatically attaches to a particular process (identified by name). it saves a lot of time rather than clicking "Debug" -> "Attach to the process ...", but it only works if one is running a si...

Config transformations and “TransformXml task failed” error message

I’ve just enabled config transformations on a .NET 3.5 project in VS2010 RC after watching Scott Hanselman’s video on web deployment. Unfortunately every time I go to publish I now get the following error: The "TransformXml" task failed unexpectedly. System.UriFormatException: Invalid URI: The URI is empty. at System.Uri.C...

Getting Visual Studio macros in console app

In a Visual Studio extension, you can get the default include paths for all projects with C# code like: String dirs = dte2.get_Properties("Projects", "VCDirectories"); where dte2 is the Visual Studio application object. Usually, those directories contain macros like $(INCLUDE). You can expand those macros by looking at dte2.Solution...

Developer tools for Mac

Do you know of software like MS Visual Studio for Mac ? ...

Building Visual studio like application, need inputs..

Hi, I am working on a Visual studio like application i.e. have a tolbox, an editor and property grid similar to VS. User can drag and drop the controls(custom and third party) to the editor window and perform operations like resize, move, align, group etc.; Properties of that control needs to be displayed in property grid and user can ...

Porting a win32 application to Win CE

I have a win32 GUI (MFC) application which I need to port to a WIN CE environment. I keep encountering undefined identifiers. What is the best way to deal with this- is there some site where i can get a mapping of some kind between win32 supported features and corresponding wince features (even if they are not supported, the information ...

Uninstall the remote debugger in windows 7 x64

Hi all, I can't uninstall the Remote Debugger in Windows 7 x64. Uninstaller display the following error: "Error:1324. The folder path 'Program Files' contains an invalid character" That looks stupid. Please help me ...

How to automatically execute a shell command after building in Visual Studio 2005

Is it possible with Visual Studio 2005 alone? If not with TFS ? ...

Visual Studio Recompiles Project Every Time I Try to Run it

Hello, I have a Visual Studio 2005 solution. Every time I try to run the startup project (C++), the project gets build again, although I did not make any change. How can I get the normal, sane behaviour, where projects get built only when needed? How can I debug the problem further? Thanks, ...