visual-studio

Visual Studio Shortcuts

In VC6 i could navigate between compilation errors with F4 Whats the appropriate key in VS2008? Thanks ...

ClickOnce asking for a password everytime I try to run the app

I'm trying to setup a test app using ClickOnce as the deployment model. It's all gone quite well so far. I signed the manifests with a test certificate, but now every time I try to run it in release or debug mode, it asks me for the password. Not only is this a pain, if it worked, but it's giving me the error message "Object already exi...

How does Visual Studio set sizes for WPF controls?

In visual studio, when dragging a control from the toolbox onto the design area, VS automatic sets width and height of the control with some values. Do you know how it does it? I was suspicious that there were some kind of attributes for the Width and Height properties or even the class itself but could not find anything from reflectin...

Call C++ class member function from C (Visual Studio)

I need to call a C++ member function from a C program. I created .cpp/.h wrapper files in the C code, wrapping the C++ member functions. i.e.- wrapper.cpp #include "wrapper.h" extern "C" { void wrap_member1() { Class::member1(); } void wrap_member2() { Class::member2(); } } and wrapper.h: #include <windows.h>...

Why does VS have to rebuild ALL of my projects every time I hit "Play"?

Do I have some weird setting that is making this happen? I only want to change the text of a message box (and no other assemblies depend on that one) yet VS rebuilds all of my projects and it takes forever. Any ideas? ...

newbie C runtime library questions in Visual Studio 2008

I've just gotten an application to compile and run by telling my VS 2008 project to ignore libc.lib in the linker->input section off the project properties menu. Before I did this VS gave me the old "fatal error LNK1104: cannot open file 'LIBC.lib'" message. I'm not sure how this app compiles if I'm ignoring the crt, but that's obvious...

In VisualStudio 2008, emacs mode - how can you enable "overwrite"?

Using VisualStudio 2008, have emacs keyboard mapping scheme enabled. If I select text and try to paste over it, it INSERTS the new text, rather than replacing it. Also, if I select text and hit DELETE it deletes the first character AFTER the selected text (just as if I didn't have any text selected). Does anyone know how to fix this...

Does Eclipse have this extensibility Feature like Visual Studio without any coding?

In Visual Studio you can add an external tool and pass it the selected text as parameter. Does eclipse have the same kind of feature or are one obliged to code a plugin for that ? If so, any specific code sample to do just that because all I found is general sample plugin for custom editor. ...

visual studio 2010

Is visual studio 2010 ready to actually build proper applications and websites on or is it just for play at this point. Any feedback on stability and performance? ...

visual studio extensibility - how to add folder to database project?

I'm trying to add a folder to a database project in visual studio 2008. I've found out that database projects don't implement the full EnvDTE.Project interface. Specifically the ProjectItems property is not implemented so I can't do this: dbProj.ProjectItems.AddFolder("test") Does anyone know of a workaround? Is there another API avai...

AJAX CalendarExtender problem

work on VS05 C# in web. I am adding a CalendarExtender to a page, using the default styles. When I click the calendar button to trigger the calendar popup, the calendar displays normally.Under the button event i save this calendar value on database.After this event CalendarExtender does not work show ERROR ON PAGE on web form status bar...

Crystal Report - Report Header Section

Hi, I have created a Report using Crystal Report(Visual Studio 2005 and .NET Framework 2.0). In the Report Header section I have added a TextBox control to display header for the report. But when I execute the application the Text in the Report Header section is not displayed. What should I do to view the text entered in the report hea...

is there anyway to have Visual studio start up a certain browser when running asp.net project

question in subject ...

Visual Studio 2008 publishing .svn folders

Does anyone know how to prevent VS copying the .svn folders associated with subversion when publishing a web project? I'm using Tortoise SVN and Ankh svn VS plugin. Thanks ...

error while deleting from database

I have 2 tables MachineGroups and Machines. Machine Groups has values MachinegroupID MachineGroupName MAchineGroupDesc And Machines has values MachineGroupID (FK) MachineID MachineName Machinedesc Now i want to delete am machinegroup but it gives me an error because there are already values in it. So i want to de...

I managed to break DebuggerNonUserCodeAttribute, anyone experienced this?

Look at the following program. The comments show the order of execution when I use Visual Studio 2008, and start, and step through the program only hitting the F11 (Step Into) debugging hotkey. The first column is what I actually experience now, the second column is what I expected to happen. Note that the method in the class marked wi...

Can Visual Studio always open ASP.NET pages in Source view, not Design view?

Anyone know how to tell Visual Studio 2008 to always open up ASP.NET pages in "Source" mode, not "Design" mode? ...

deleting row from gridview

I have 2 tables MachineGroups and Machines. MachineGroups has columns: MachinegroupID MachineGroupName MachineGroupDesc And Machines has columns: MachineGroupID (FK) MachineID MachineName Machinedesc Now I want to delete a machinegroup but not the ones that have machines in it. DELETE FROM MachineGroups WHERE MachineGroupID NOT ...

Visual Studio solution structure using Codesmith frameworks (NetTiers / Plinqo)

I have been using the Codesmith framework NetTiers to generate a DAL etc., into a folder called, say, 'NetTiers', outside my main project's folder, and referencing the DLLs within that folder from my main project. I've started using the Plinqo framework, and want to use the generated files from that framework within the same project as ...

Is it possible to prompt the user for information in a Visual Studio template?

Is it possible to prompt the user for more than just a file name when they create a new item from a Visual Studio 2005 template? It would be nice to have more than just the class's name filled in when a template is used. ...