visual-studio-2010

Visual Studio 2010 and .NET 4.0 Client Profile

We are a .NET component vendor, our product needs to connect to the internet to be activated. In Visual Studio 2010, as soon as you create a new WinForms project the .NET Framework 4.0 Client Profile is selected not providing the necessary support for internet connections. Despite this arguable Default chioce, is there something we can ...

.net DrawString Hebrew font with zero-width characters

Are there any additional properties or parms in the DrawString to solve this problem. I have a Hebrew font with many zero-width characters so that two characters should render in the same location. This example shows the .NET problem on the left, and what is should look like on the right: http://hebrewresources.com/html5/images/ren...

Visual Studio 2010 System.Diagnostics.Debugger not starting with Windows 7

I'm using Win7 Ultimate 32bit with Visual studio 2010 Ultimate. I place System.Diagnostics.Debugger.break() in the ASP.net 4 code behind however it only start the debug process once then when I place it on another line or different function. It will not start again. I don't see other have the same problem here so is it just me or am I mi...

set path for code generator in Visual Studio

I set the stringPath to the .edmx file like stringPath = @"Solution\Folder\Model.edmx" It works in one solution but not in another. All the text templating code is the same. In the solution where it doesn't work, it trys to find the file here: .....Microsoft Visual Studio 10.0\Common7\IDE\Solution\Folder\Model.edmx. I was wondering wh...

Steal/borrow Visual Studio 2010 tabcontrol-template?

I want/would like a TabControl with TabItem's I can close (with an x) and move around. If I also could move the tabitems to other screens it would be great. In fact I want it exactly as in VS2010 with docking and splitting side-by-side etc. But to implement all this by my self would take weeks. Thats life I suppose, but perhaps there is ...

VS2010 pdb lock error when modifying a css file

In one of my VS projects I get this error when I modify a css file in a App_Themes catalog in runtime. CS0042: Unexpected error creating debug information file '[..]\Temporary ASP.NET Files[..]\App_Theme_MySite.pdb: The process cannot access the file because it is being used by another process. I've used the Process Explorer and ...

Can't change target platform to "any CPU"

Hey there. I work on a x86 pc and use .NET4.0 (same probelem witn 3.5) in VS2010. If i make a new Project (e.g. WinFormsApp), the first thing i want to do is to change the targetplatform of the project/solution to "Any CPU". I do the following: Project Properties -> build -> change TargetPlatform to "Any CPU" On top of the propertie...

I want to develop Sharepoint webpart from my XP. Please guide.

I have installed Virtual PC with Windows 2003 server and installed WSS 3.0 and MOSS 2007 in it. And in my XP i got visual 2010. i have copied all the SP dll files from c:\ windows\assembly of Windows 2003 server to c:\PF\CF\MS\WSE\12\ISAPI of my XP system. Now i am trying to create SP webpart in my VS2010 in XP but it says SP server not ...

what are the best distributed development methodologies for sharepoint

Hello Sharepoint experts ;) Let's say we have some distributed developers in different countries working on the same sharepoint project. Problems that they might face including (but not limited to): webparts deployment & debugging which doesn't work anywhere but the server. how can they apply source control over created sharepoint p...

How to output log in MS Unit Testing Framework VS 2010

Hi, I am trying to log some information while the unit test is running in MS Unit Testing Framework VS 2010. I tried Trace.WriteLine, Console.WriteLine and Debug.WriteLine but I am not able to see the output in the output window. Any idea how to do it? Thanks in advance ...

Do you have an open source example for saving data in RFID smart card reader..

I am starting an open source project by using RFID card readers for saving data from an hotel information system. heres my scenario, i will be using rfid to save the data from the database and store it into the rfid cards. and then they can use the card as an id to their room. btw my platform is wpf vb2010 ...

CodedUI Test: Keyboard.SendKeys not working.

Hi, I'm trying to use the CodedUI Test feature of Visual Studio 2010. I've got a problem while replaying the various actions for one of my html component. The Keyboard.SendKeys generated do not work (like if there was no input). The code generated is : // Type '{F4}{F4}{F2}titre{Enter}' in 'SaisieSD_DS' custom control Keyboard.SendK...

why do i have to rebuild the test project, whenever i change the code ??

I have visual studio 2010, and a unit-test project. when i run (debug test in the current context),then stop it,and then change the code, i have to rebuild the project, otherwise the project will run without debugging, and it will use the old code !!! why is that happening ? ...

VSPackage: Modify toolbar button text/tooltip at runtime

I have been developing a Visual Studio extension as an Add-in for VS2008/2010. The new version now is to be done as a VSIX package for VS2010 only (as it has to be .NET 4 anyway), and I am having some troubles with (rather simple, I would think) UI handling. The extension primarily consists of a toolbar with some buttons that launch var...

TFS 2010 Automated Build Server

Hi There! I'm looking to create an automatic build server which runs either when the developer check in changes to a solution or a certain time frame is reached (say 24 hours). I've looked around, and from what I understand - VS2010 has a different CI to older version, and as such, I can't find much information regarding such a process...

Error creating dbschema file with VSDBCMD.exe

I have a VS 2010 database project that needs a database reference to a Dynamics CRM database. I have remote access to the 32-bit Windows 2003 R2 SP2 server. My strategy is to create a .dbschema file and use it as the reference. The two best resources I have found for creating the .dbschema file are http://stackoverflow.com/questions/276...

OpenCV Visual Studio 2010 - RC6034 Error (DLL Hell?)

[ Add HTTP:// to the beginning of picture links to make them work for you. ] [ All Steps here were done with both Release and Debug versions. The pictures shown only display debug-related information. ] OpenCV 2.1.0 does not work properly with Visual Studio 2010 on my computer when it begins to load _Video files with the opencv_ffmpeg D...

Manually adding text to html.ValidationSummary?

I am rather new to mvc2 and when following a writeup on data annotations and such, I came across a bit of code that let me manually add a line of text to the validation summary. I've searched for the last 2 or 3 hours and I've come to the point where I think I'm just searching for the wrong thing. Its not custom validators I'm looking f...

Passing Parameters to Sub Reports in RDLC Under VS 2010

Currently I'm working on a reporting website in VS 2010 using ASP.Net 4.0 and the 2010 RDLC designer. The report I'm building is similar to a Master-detail report, but I'm trying to do it with nested tables. My issue is that I'm trying to pass a field value from my main report to a sub report. The table setup looks something like this: ...

downgrade .csproj from 2010 to 2008

I've been working on a program in Visual Studio 2010. I'm still having compatibility issues I've mentioned here before. Is there a way to downgrade my C# project so that I can open it with Visual Studio 2008 (without copying the code over and recreating the form)? For those who'd like to know, the problem I'm having is some sort of unh...