visual-studio-2010

Custom Programming on a SharePoint Server site

Which route should I take? A) Using a SharePoint 2010 Visual Studio Project B) Building a normal asp.net website and incluing my pages using the "Web Part Page" web part in SharePoint Basically I'll be doing some workflows, like filling out travel expenses forms, with approval and feedback. ...

Are SQL Reporting Services Report Parameters deprecated in VS.NET 2010?

We use an Reporting Services inside an ASP.NET web application. (We have an *.rdlc which is presented to the ReportViewer web control in our page). Our ASPX page wires up a few report parameters in code: var parameters = new List<ReportParameter>(); parameters.Add(new ReportParameter("StoreAddress", InvoiceStoreAddress)); parameters.Add...

XmlDataDocument is obsolete, any thoughts on replacing it?

In Visual Studio 2010/.NET Framework 4.0, System.Xml.XmlDataDocument is marked as obsolete. Any thoughts on how to replace it with the least amount of work? ...

Disable VB.NET 10 Features in VS 2010

is there a way to disable visual basic 10 language features in VS 2010. our Dev team has moved to Visual studio 2010, but we still have to keep backwards compatibility with Visual Studio 2008. is there a way to disable the new language features to avoid any issues. ...

Cannot customize Solution Explorer project context menu in VS 2010

I'm trying to customize that context menu which comes up when you right click the project in the Solution Explorer. When I goto: Tools - Customize - Commands - Context Menu (radio button) - Project and Solution Context Menus | Project (drop down) I get nothing in the "controls:" list. I can modify other context menus starting with "Pro...

How can I get .NET/Silverlight source code symbols to work in VS 2010?

Back when M$ first released the ability to point visual studio at a symbol server and actually debug into .NET code I got it up and working no problem on VS2008. Now trying to do this with VS2010 or my local copy of VS2008 doesn't seem to work. It successfully downloads the symbols and the stack frames turn from gray to black but the...

VS2010 constantly searching for something

Hi, Recently my VS has started doing a search through all project assemblies after a project is reloaded, or after I close a window following a Go to Definition command. It just says Searching in the status bar, and enumerates the assembly names. It's driving me nuts, because the process can take up to a minute, and it completely locks ...

Building cURL & libcurl with Visual Studio 2010

With the help of question #197444, I have managed to build cURL & libcurl from source on Windows from within the Visual Studio 2010 IDE, OpenSSL 1.0.0, and zlib 1.2.5. The problem I see is that at the moment, if I run the resulting curl.exe with the argument -V, then the version that it report is curl 7.20.1 (i386-pc-win32) libcurl/7.20...

macro collapse all in solution visual studio 2010

Hi All, I found the CollapseAll macro online that has worked for me in vs2005 and vs2008. However, this half way works in vs2010. It looks like it only collapses the top nodes and not any subnodes that may be expanded? any ideas? Thanks, rod. Sub CollapseAll() ' Get the the Solution Explorer tree Dim UIHSolutionExp...

How to create a step by step wizard in C++ (with unmanaged code) in Visual Studio 2010

I would like to build a small wizard in C++ with no dependencies on any framework. Apparently, is really simple, but I don't know where to start. Can you point me to good information (tutorials, etc) on it. Should I use MFC Application or a Win32 project? Is there any step by step guide ? I'm using VS 2010. The majority of info I'd f...

Can I correctly debug assemblies loaded with the 'AssemblyResolve' event?

I'm experimenting with the AppDomain's 'AssemblyResolve' event by hidding the depedencies for an executable file in another folder. The assemblies seem to beloading and executing fine, however debugging seems to be crazy, sometimes it hits my break points, sometimes it doesnt , and sometimes it hits the same code twice(It seems absurd bu...

Difficulties getting GraphViz working as a library in C++

Am working on a program that will allow a graph of nodes to be displayed and then updated visually as the nodes themselves are updated. I am fairly new to Visual Studio 2010 and am following the GraphViz guide located at http://www.graphviz.org/pdf/libguide.pdf in order to get GraphViz working as a library. I have the following code whic...

Visual studio ORM designer option

linq to sql visual studio Object-Relational designer generates C# entity class names same as the table names (except pluralizing it). so if the table name is authors it generates entity class with name "author". If the table name is Customers it generates class with name "Customer". Is there any option that can be set to make the desig...

VS2010 almost always zooms text on scroll

You know the neat text zoom feature in VS2010 where you hold down Ctrl and then use your scroll wheel? Well, this seems to happen by default (and without ever pressing Ctrl) to nearly every file I open. Usually I open a file and have to scroll to some lower point, but instead it starts zooming the text! I have found that by tapping th...

Visual studio 2010 doesn't make the changes when i do a build/compile a DLL file

Ok so i change some code, re-build it and then, say for arguments sake i had a print statement outputting 'test2', well if i change it to 'test3' its still re-producing the old code 'test2'. Ive deleted the debug folder and rebuilt but no good. Then randomly about 10 builds later it will catch up. Ive also closed VS2010 and then re-open...

What happens with timer tick after wake up from stand-by?

My C#-programm has a windows.forms.timer that fires all 24h for a background task. During a day I put my Vista 64bit several times in stand-by mode (never switch it off). It seems that after wake-up the timer is sort of reset. ...

can I include normal asp.net pages (webforms or mvc) in a Dynamic Data web application

can I include normal asp.net pages (webforms or mvc) in a Dynamic Data web application? ...

How do you color a rectangle in C# that has been declared in XAML in WPF?

How do you color a rectangle in C# that has been declared in XAML in WPF? There is a rectangle control in XAML. In my C# code there are times in which it would be nice to fill the background color. How does one do this? ...

What is the easiest way to deploy a MVC2 application from Visual Studio 2010 to IIS 7.5?

I´ve tried a couple of different ways to deploy a application to a IIS 7.5 running on my machine for testing purposes and i´ve sort of hit a wall. Nothing works out of the box. Everything assumes I have knowledge I don't have and would prefer not to have to aqquire. Google isn't really helping either with answers ranging from "copy file...

Silverlight 4 UserControl?

For Silverlight 4 did TemplatedControl replace UserControl? Because when I goto add a new item in Visual Studio 2010 that is the only thing that closely resembles a user control in the dialog? ...