visual-studio-2010

Launch Visual Studio 2010 with new document?

Is there any way to launch Visual Studio 2010 with a new document instead of the usual start tab? I'm just curious--I usually use Notepad++ to jot down quick things, but Visual Studio seems like it would be preferable. ...

asp.net 1 formview, 1 gridview, 1 detailview and entitydatasources

Hi All, I have a formview of customers and below it I have a gridview of contact points for the displayed customer. And below that I have a detailview (insert mode) for new contact points for the displayed customer. 1) how do i default the formview.selectedvalue in the detailview for customerid? 2) how do i get the gridview to automat...

Making your own cusctom workflow developed in visual studio 2010 available in sharepoint designer 2010

Well my requirement is : Need to develop a custom workflow,the workflow should take properties like site url, list names etc., From the client. I am able to develop the workflow, but i need to make it available in designer. I tried the method mentioned here: http://www.chaholl.com/archive/2010/03/13/make-a-custom-activity-available-to...

Creating a new site sharepoint 2010 under parent site with my custom template Programatically using visual studio 2010

Hi, I have a parent website under which i want to create subsites on the fly using visual studio 2010. The subsites which i want to create have a common stuructre(in temrs of lists & custom). So i saved the template in sharepoint 2010,it becomes wsp and goes into soution gallery. Now how do i use this template say mytemplate.wsp,to c...

Cannot add System.Web.dll reference

I'm trying to use the HTTP functions contained in the System.Web.dll assembly. However, whilst the dll seems to exist in the same directory as every other dll Visual Studio 2010 references in my project, it fails to link in and raises a warning - "The referenced component 'System.Web' could not be found". The dll, however, is definitely ...

VS2010 T-SQL editor color problem.

My background color in VS is set to black, the problem is that the numeric sql types also (by dafault I guess) are set to black, so I can not see them. Under what name are associated numeric types in "Fonts and Colors" options menu? ...

Control.Bindings.Add problem, exception telling me that the program cannot bind to a column that does not exist (but it does)

When I try to use the following line of code: cboSite.DataBindings.Add("Text", _dtSite.Select("Site <> 'ALL'"), "Site") I get the following exception: EXCEPTION : Cannot bind to the property or column Site on the DataSource.{10}Parameter name: dataMember details I am connecting to an Access database and using .net 3.5 and writing th...

What's the equivalent of Visual Studio 2008 Object Test Bench in Visual Studio 2010?

I am surprised not to find it in 2010, I would be very sad if it has disappeared as it is very useful to train and practice at the same time so where to activate it? ...

Visual Studio 2010 cannot add existing items as links

Hi all, I'm trying to add existing files as links to a Website project in Visual Studio 2010. This is so they will get added as a reference rather than as a new copy of the file. VS2010 help says there should be an "Add as Link" choice on the open file dialog in the Add dropdown box. However, I only see an "Add" choice in the dropdow...

Visual Studio 2010: Build DLL project before 'Active' project.

I have a solution consisting of 2 projects. One is a DLL, and the other is a console app making use of this DLL (runtime). The console app is set as my active project and when I run (F5), it is started (optionally rebuilt first). I want to make Visual Studio 2010 rebuild the DLL project everytime I run my console app. How can I do this?...

sort my entity data source

Hi All, I dragged an Entity Data Source on to my asp.net web page and a gridview. How exactly do I sort my gridview by default on a column (and descending order)? I've tried a lot of things with no luck. Thanks, rod. ...

Does Visual Studio 2010 have a 64bit version?

I am really confused, I am trying to read about its new features but some pages in google come up with 64bit versions, but not in MS' official site. To my knowledge MS decided to keep it 32bit for the time being for VS 2010. Is this the case? ...

How to make toolbars in Visual Studio 2010 float?

I used to make my toolbars float in Visual Studio 2008, but it can no longer be done with Visual Studio 2010. Read the documentation and found nothing, any idea how to do that? Holding either Ctrl, Alt, Shift wouldn't help. ...

How do I get to the Design Tab in Visual Studio 2010 for Windows Form programming?

Hello. I am new to Visual Studio 2010 and I am trying to develop a Windows Form. I do not see a Design tab where I can toggle between the form design and the .cs code. How can I do this? Thanks ...

UseHostCompilerIfAvailable False causes an "One or more types required to compile a dynamic expression cannot be found" error

The C# dynamic type seems not to compile when UseHostCompilerIfAvailable is set to false. I have both the required references Microsoft.CSharp and System.Core in my project, but it refuses to recognize it. Using the integrated Visual Studio compiler works, however. The offending line is: dynamic obj = this.Engine.Operations.CreateInsta...

instellisense not working for just one solution (VS 2010 express for phone edition)

[Edited] intellisense is not working just for just one XAML file in a particular solution (the solution compiles and runs fine) it works on every other project and other files.. can someone point me to instructions on how to fix it ? I am using Visual studio 2010 express edition for windows phone. ...

"View Test Results" is missing from TFS 2010 web access build summary?

I'm using vs\tfs 2010 to queue builds with tests. When using vs to queue the build, I can access the "View Test Results" in the build summary. But when I queue the build using the TFS web access, this link is missing from the build summary. ...

Infamous assembly binding error

Hello, I really need help on this because I lost my hopes to correct the problem. I am using Office Communications Server 64bit libraries. There are 3 dlls I use in the project, Microsoft.Rtc.Collaboration.dll, Microsoft.Rtc.Internal.Media.dll and SIPEPS.dll. I am not sure about Microsoft.Rtc.Collaboration but Internal.Media and SIPEPS ...

Visual C++ Include File not found

I have a project, and I added all the source files to it. I then clicked build, and it said: fatal error C1083: Cannot open include file: 'common.h': No such file or directory 1> crc64_tablegen.c This is rather annoying, because common.h is in my project! It's right there! I think it might be in a different directory though. Is the ...

In VS2010, how to get VB.NET enum values to autocomplete without typing the enum type first?

In VS2008, you could write, for instance, dim enumValue as MyEnum enumValue = .. and then as soon as you typed the =, you'd get a list of possible values of MyEnum. With VS2010, you have to type dim enumValue as MyEnum enumValue = MyEnum. ... before getting the list on typing the final . This makes for a lot more typing and seem...