Click here to Skip to main content
15,892,005 members
Everything / Visual Studio / Visual Studio 2010

Visual Studio 2010

VS2010

Great Reads

by Szymon Roslowski
Just another approach to understanding communication between HID devices and C#.
by Dmitri Nеstеruk
Let's create a simple project estimation DSL using F#!
by Colin Eberhardt
This article describes the development of a cross-platform HTML5 application for Windows Phone and iPhone.
by Sergey Alexandrovich Kryukov
Display names and descriptions for enumeration members: a non-intrusive, reliable, localizeable method.

Latest Articles

by Elmue
An easy to use 3D control which can be integrated into an application in a few minutes
by Ștefan-Mihai MOGA
How to download files from an HTTP server.
by David MacDermot
This article describes the creation of a non-MFC custom PropertyGrid control.
by Paulo Zemek
A tutorial explaining how to create a Virtual Machine and a Compiler for such virtual machine

All Articles

Sort by Updated

Visual Studio 2010 

19 Oct 2010 by "Fish" (David B. Trout)
Simple parsing of VS_VERSIONINFO version information strings displayed in an XP-style file-properties "Version" tab
29 Jan 2010 by #realJSOP
Since you didn't specify the language, you get C# from me.Create a List, add the strings to it, and use the List.Sort() method.
10 May 2010 by #realJSOP
Have you contacted the DevExpress folks? It's their library...
13 Oct 2010 by #realJSOP
All you have to do is google it (I would try "Expression Blend 4 trial" first). I mean seriously, are you so inept that you can't google that yourself? That's what we would have to do.Also, considering VS2010 was released well after Windows 7, wouldn't logic dictate that it would actually...
13 Nov 2011 by #realJSOP
New and improved! Keep an eye on your CodeProject articles and reputation without having to log onto CP.
13 Dec 2010 by #realJSOP
It's new. It's "better". It's Visual Studio. Complaining about it here isn't going to do you any good. Even complaining about it on Microsoft's site isn't going to do you any good. The product is guaranteed to slog on any machine, regardless of how much memory you have or how many cores your CP...
12 Jan 2011 by #realJSOP
That's because Click-Once deployment is a web-based deployment strategy.http://msdn.microsoft.com/en-us/library/t71a733d(v=vs.80).aspx[^]
18 Jan 2011 by #realJSOP
You could just store GMT, and let the client app adapt it to local time.
19 Jan 2011 by #realJSOP
Convert it something like this:DateTime fromDB = new DateTime(1,1,2011,12,0,0);fromDB.Kind = DateTimeKind.Utc;DateTime converted = fromDB.DateToLocalTime();
19 Jan 2011 by #realJSOP
Here's a handy guide:http://www.akadia.com/services/dotnet_inherited_forms.html[^]
8 Feb 2011 by #realJSOP
You might try deleting and then re-adding the DLL references to your GUI project.
11 Feb 2011 by #realJSOP
We could recommend a thousand books, and none of them would be sufficient.The ONLY way to gain the knowledge you seek is to sit down, start writing code, and make mistakes along the way. It's called "experience", and books simply can't teach that.The best thing to do is to pick a...
18 Mar 2011 by #realJSOP
Instead of getting the red circle, I get the hollow circle with an exclamation point icon, and when hovered, it says:This breakpoint will not currently be hit. No symbols have been loaded for this document.I've tried shutting everything down, deleting the bin and obj folders, and even...
27 Mar 2011 by #realJSOP
I'm building a new website and I have to set the build action on a couple of files in the App_Data folder, but when I click the Properties tab, there's no way to set it. (the option just plain isn't there). What's going on, and how do I fix it? BTW, I tried the site as .Net 3.5 and .Net...
6 Apr 2011 by #realJSOP
Install the Windows SDK, and look at the resulting folder under Program Files.
30 Jul 2011 by #realJSOP
There's NO WAY we could tell you "all" of the possible interview questions. If you've been using Visual Studio for any length of time beyond 1 year, you should be familiar with most of the features of the app. Just explore around, learn what you don't already know, and go into the interview...
1 Sep 2011 by #realJSOP
Write a method in your code behind, put the if in there, and call your method from the markup.public void ControlEval(string evalThis){ if (pnlFeaturesText.Visible) { Eval(evalThis); }}and then you can do this:
14 Nov 2011 by #realJSOP
In MFC, the programmer is the layout manager.
30 Mar 2012 by #realJSOP
I'm on a project where the code is currently being developed with QT Creator, using the QT framework. We've run into problem after problem, and we've effectively stopped development until we resolve the problem (one way or the other).One approach is to force VS2010 to work for us (this is...
8 Mar 2018 by #realJSOP
Deriving your control from PictureBox is the right way to go. At that point, you can override any method or event handler that your heart desires.
18 Feb 2013 by $ultaNn
i want three fields in dropdown list in gridview . Pending , Solved , Escalate.when i first submit the record it should show pending , then from dropdown i want to update it to solved or escalate , and it will be update with dropdown in database . how can i do this process
29 Jan 2015 by /\jmot
This error message hints that either the report parameter has not been passed from the parent report to the child report or that the wrong format of report parameter or an unacceptable value for the report parameter has been passed from the parent to the child report (I mean the subreport when I...
23 May 2011 by 01.mandar
i am using Atmel AVR UC3 L0 (Board)Atmel AVR ATAVRSBIN1 (Sensor Board)AVR Studio 5sensors_xplained-1.0.1.zip (Sensor header files)AVR-SoftwareFramework-2.4.0 (not needed as per the document)i have seen the documentation for all of above and done accordingly.AVR UC3 L0 code runs...
19 Feb 2024 by 0x01AA
There is I direct way without first declaring a helper vector: vector > myVector { /* Element 0 */ {1, 2, 3, 4}, /* Element 1 */ {5, 6, 7, 8}, /* Element 2 */ ...
9 Jun 2015 by 0xC0000054
A C# library that resolves 64-bit shortcuts from a 32-bit application
1 Feb 2012 by 10Pints
I am using VS2010 SP1 C++. (Windows 7)I have an app that uses the MSXML parser:IXMLDOMDocument::load( const _variant_t & xmlSource)xmlSource points to a valid xml fileIf I turn exception handling on then I get:First-chance exception at 0x757fb9bc (KernelBase.dll) in Backup.exe:...
7 Feb 2012 by 10Pints
I have a VS2008 Silverlight 3.0 sample (from Pro Silverlight 3.0 book examples) which I have upgraded to VS2010 and Silverlight 5.0The build fails with:Pro Silverlight 3\Chapter16\DataBinding\DataBinding\Product.cs(11,29): error CS0234: The type or namespace name 'DataAnnotations' does not...
26 Jul 2013 by 2006 Flauzer
I'm developing a C# assembly which is to be called via COM from an old vb6 (ie, "native" win32, not .net) application. I've installed VS2010 Premium in a W7 x64 and simply my goal is to use Visual Studio to debug the C# code...Other hint: the C# assembly is compiled in "x86 mode" (.NET4)...
29 Jul 2013 by 2006 Flauzer
From menu Debug->"Attach to.." option, please point the correct process ie, dllhost.exe COM Surrogate. and not win32 client....
21 Oct 2011 by 2011999
Dear Experts,VS2010 Ultimate is it available Business Intelligence? Business Intelligence is available in 2008. if available in VS2010 please give me the path.Thanks for your valuable replay
23 Oct 2011 by 2011999
Dear all Experts,Through using grid view in VS2010 and SQL server 2008 Back End how to generate the Reports. I need Cristal ReportsThank you for your valuable replay.
12 Feb 2012 by 2011999
Dear All,In my system install vs2010 ultimate. I add Crystal report through solution explorar. but not reflect .rpt display extention hmt. i need any downloads for crystal report.Regards
14 Jun 2014 by 2011999
I had my system two partions one C and D Drives C in Win xp3 and D in Win 7. i was installed vs2010 in D Drive. i one project taken in to internet. and Extracted that project. but not converted in to VS2010. show the Error Message. "Your D Drive is read only bout not converted this project" how...
15 Jun 2014 by 2011999
Dear Experts,I had my system two partions one C and D Drives C in Win xp3 and D in Win 7. Is it possible to install sql Management studio express edititon in D drive. D Drive had a VS2010. plz give me solution.
25 Jul 2023 by 2011999
Yes it is possible which drive in install, you need to install that drive in install SQL Management Studio Express edition. If support that more than one operating system.
21 Sep 2013 by 23741
I did this once using Glassfish (java side) to a WCF service.Mind you this was web server to web server using soap 1.2 and that's probably overkill for your requirement.What type of IPC (interprocess communications) is available from a java process to a windows process? I realize java...
17 Mar 2013 by 7774tlas
You need to compare the datagridview cell valuesif DGV1.Rows("row index").Cells("# of cell").Value = DGV2.Rows("row index").Cells("# of cell").Value Then 'do thisElse 'do thatEnd If
13 Apr 2016 by @nkit Bajpai
This article discuss a simple application built using WPF MVVM design pattern and explain the basics of Command Binding and DataBinding.
1 Aug 2012 by _Amy
How can you forget Google[^]?These books may help...
18 Feb 2013 by _Amy
You need to change the .NET framework version in the Application Pools from v4.0 to v2.0 for the Default App Pool. Here is a link to common ASP.NET 4 Breaking Changes:Configuration Errors Related to New ASP.NET 4 Root Configuration[^]Refer the links below for similar threads:There is a...
4 Aug 2014 by _Amy
You need to verify the points listed below:Similar Thread[^]:1) It sounds like the instance you're trying to reach is SQL Express. In which case the instance will be called myserver\sqlexpress ("SQLEXPRESS" literal; case doesn't matter). "myserver" won't work with a "named instance";...
23 Oct 2011 by _Ashish
I am trying to debug the following T4 template file using VS2010 professional , windows 7.But debugger doesn't highlight the Correct line in the File : "Texttemplate2.tt"File 1: File1.tt
22 Jun 2014 by _Asif_
Welcome to the wonderful word of CCXML/VXML
21 Jul 2014 by _Asif_
Article will demonstrate how to develop generalize framework for creating Outlook style Auto Refresh Count of Menu Items
22 Aug 2014 by _Asif_
I have looked over this issue. You need to do following to get what you want.* On Your test machine open VS* Goto: Project->Properties->Configuration Properties->C/C++->PreProcessor* Add _TEST_MACHINE at the end in Preprocessor Definition* Change your macro like this#if _TEST_MACHINE...
5 Aug 2015 by _Asif_
Framework helps resolve Template Codes present in any text at Runtime
5 Nov 2015 by _Asif_
Article helps reducing offsite development efforts by presenting a Mocking Layer for financial Middleware systems
10 Mar 2015 by _bluRe_
i wanted to change the 1 , 2 ,3 ... 8 to months in the graph. is their any way?its the column graph. sorry i dont know how to post a picture. i'l just use this site for reference....
16 Jun 2016 by _eol_
This article presents the minimal code necessary to display a hierarchical tree using Popups.
11 Sep 2018 by _Flaviu
A way to use OpenCV in MFC project
22 Sep 2014 by _groo_
An interface not present in .NET BCL, IIndexable exposes methods for iterating and indexing a read-only collection.
23 Jan 2012 by _Maxxx_
You really need an HTML editor - this link may helphttp://stackoverflow.com/questions/214124/winforms-html-editor[^]
28 Dec 2012 by _Noctis_
Hi guys, I'm trying to wrap my mind around this asynchronous and background worker stuff ...As a playground, i have a WPF application that searches for prime numbers.Basics are easy. Create bgw (my short for BackGroundWorker), create DoWork, RunWorkerCompleted, ProgressChanged delegates....
24 Jun 2016 by _Q12_
I Uninstalled vs 2016 because it slowed down my entire OS !!!So, I installed back my trusty VS 2010 but after install, it throw error "Exception has been thrown by the target of an invocation".Because I installed a newer version of VS than the 2010...After some time of...
24 Jun 2016 by _Q12_
///////////////this topic is Closed!the final solution! (reinstalling windows and backing up personal stuff)Thank you all for your support!///////////////This is an Advanced topic!I Uninstalled [Visual Studio 2015 Enterprise] some days ago, because it slowed down my entire OS !!! I...
7 Apr 2015 by _R_S_
I have an Installer project for my application in Visual studio 2010. I was successfully able to make it uninstall the older version of the application before installing the new one by 1. Setting RemovePreviousVersion to false 2. Setting DetectNewInstaller to true 3. Incrementing the project...
10 Dec 2012 by _Vitor Garcia_
Your problem is within sql sintaxe as you can't compare that way at where clause.try to change your code to this :Private Sub Searchbtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Searchbtn.Click Dim str as string = "" Str = "Select...
21 Aug 2015 by A 24lb Pizza
So, I am fairly new to C++ and I am trying to get a list of files in a directory. I found a solution from microsoft here:https://msdn.microsoft.com/en-us/library/windows/desktop/aa365200(v=vs.85).aspx[^]but when I go to build it I get an error:error C3861: 'StringCchPrintf':...
7 Nov 2012 by A N Saraf
Just Add Listbox control to your form designer, populate a datatable from where you want to display data and bind it to listbox using DisplayMember and ValueMember Properties.Try this and let us know if you have any problem
26 Aug 2014 by A-joy
We program a software to process the Medical Image,all of the image fomat is Dicom.Now, we have a problem about the memory management, our computer is Win7 32 Bit + 4G +VS2010, We use ITK + VTK to read and display the image.When processing the image which is larger than 200M, it will be called...
27 Jun 2012 by A. Ganzer
I run your code on following Systems: Windows 7, 32 bit and 64 bit. The program is created for any CPU and for x86 explicitly by using VS 2010 and .NET 3.5 as well as 4.0. All is done well.Probably you have not posted the complete code. E.g: what is width and height?The only possible...
18 Jan 2019 by A.R Farooqui
how to add serial nos in crosstab in crystal reports??? plz help need quick answer
23 Oct 2012 by a1mimo
First how do you know you are not logged in???Second if you did exactly what they do that is the right thing to happen to be redirected again to the default.aspx,why?simply because the defaultUrl property in the web.config file hasn't been set, so what is the defaultUrl property?it's the...
2 Feb 2011 by aaawesome
HiI am using VS 2010 Express and have ported some code proven in VS 2008 but it fails in VS 2010 and I cannot understand why.The code uses InvokeMember:.Interface.GetType().InvokeMember("", System.Reflection.BindingFlags.InvokeMethod,...
19 Apr 2011 by Aabid
class Stack{ int *ptrStack; int top; int size;public: Stack(int = 10); // Default Constructor};Stack::Stack(int s): size(s > 0 ? s ? : 10), top(-1), ptrStack (new int[size]){ // Body}main(){ Stack...
22 Apr 2013 by Aadi164
code starts from here
14 Jun 2022 by Aamir Mitha
I am a new user to visual studio 2010 ASP.NET and I am struggling to connect to my database. The code I am testing to try and get it working is as follows:protected void Button1_Click(object sender, EventArgs e) { SqlConnection con = new...
13 Aug 2013 by Aamir Mitha
My solution what thanks to venkateshCST:He told me to change my appsetting connectionstring within the web.config to be:He also told me to change;In places...
6 Sep 2014 by aarif moh shaikh
Actually you have one Identity Column so You have to specify rest of Column Name for Inserting Value into the table.For Example :INSERT INTO EMP_TBL (NAME,ADDRESS) VALUES ('"+TextBox1.Text+"','"+TextBox2.Text+"')
28 Apr 2015 by aarif moh shaikh
Use it.. btnReturn.OnClientClick = "return confirm('you selected " + j.ToString() + " checkboxes.');";Thanks & Regards,AARIF SHAIKH
5 Jul 2015 by aarif moh shaikh
Add this DLL in your Web.config file.For Example:Quote: ThanksAARIF
20 Jan 2018 by aaronjohnson9973
I have a VS 2010 solution with two C++ projects. One produces an application (.exe). The other produces a static library (.lib). The application uses the static library. The solution builds and the application executes as expected. The class is declared as follows. class MyClass { public: ...
2 Nov 2012 by Aarti Meswania
I am vb.net developer not so fluent in C#sorry if any mistake in code-blocks,but process should like below...,create a class LookNFeelcreate static 'NewFont' variable so, that in your application it can work as global variable... and you can retrieve it in other forms...
7 Nov 2012 by Aarti Meswania
If you have put this code inside New() method [Constructor]thenmake sure you have called InitializeComponents() before codeelseput code inside this conditionIf ComboBox1.SelectedValue Isnot Nothing then .... 'your codeEnd IfHappy Coding!:)
1 Jan 2013 by Aarti Meswania
it could be problem related toCrystalDecisions.Web, Version=12.0.2000.0make sure version of crystal report installed on server is same as used in development.and install .net framework 2.0 also, because mostly crystal report need it as prerequisite.Happy Coding!:)
4 Jan 2013 by Aarti Meswania
go to the toolbox, right click and Choose Items. On the .NET Framework Components tab, click Browse to browse to the install path of Crystal Reports. for example...:C:\Program Files\Business Objects\Common\2.8\managed\ depending on which version of Crystal you have installed. From...
27 Feb 2013 by Aarti Meswania
How to create setup for windows phone? I have create application in vs2010 for mobile phone now I want to install it in windows phone for testing
27 May 2013 by Aarti Meswania
you should use datafielddragdrop datafield right click itopen Display "expression Formula" windownow write whatever you did in textbox textsave & run Happy Coding!:)
16 Sep 2013 by abbaspirmoradi
Look at this same question:creat an exe project with C# and sql server[^]
6 Nov 2016 by abboudi_ammar
Good evening everyone, I try to develop a website with CMS PrestaShop using the VS2010 IDE?What I have tried:is there a free plugins to add in Visual Studio 2010 to open php project?
4 Aug 2015 by Abdul Ahad Monty
Convert DataTable to List using Generics.
14 Aug 2012 by Abdul Quader Mamun
Custom TreeView web user control for parent child relatioinal data upto infinity
16 Nov 2010 by Abdul Quader Mamun
Paging must be effective for large scaleable applications. Without smart and effective paging and sorting for huge amount of data, user request takes more time and uses more resources.
13 Jan 2010 by Abdul Sami, PMP
This article is an introduction to some of the new features in ASP.NET 4.0 and the Visual Studio 2010 IDE.
21 Jan 2014 by abdul subhan mohammed
You wrote this query:SELECT ClientName FROM Clients WHERE (@ColumnName = @Criteria)it works as a stored procedure, if yes, then where you are using stored procedure name,instead you are using QRY,secondly, dont use direct sql query for search, because any other...
25 May 2014 by abdul subhan mohammed
Response.Write("");...
7 Feb 2013 by Abdullatif M. Abu Al Rub
Simple example of reading RSS feeds from Facebook page using Syndication Library
4 Mar 2015 by Abdulnazark
if you mean to get specified user data, then add a column with userid in your table and Query for specific user row only like,select * from your table where userid=suser_name() if it is windows/sql user sql server suser_name() or user_name() return the current logon userthank you
28 Jul 2019 by Abduu Atef
I have a problem with accessing the process This is the code Dim p As Process = Process.GetProcessesByName("Wolfteam.bin")(0) For Each moz As System.Diagnostics.ProcessModule In p.Modules If moz.FileName.IndexOf("obj") -1 Then Label1.Text =...
5 Jul 2014 by abhijeetgupta1988
HiYou can not use Https in Visual Studio Development Server.But you can use HTTPS for site hosted in IISExpress and can be debugged through VS.Please follow this link[^]the above link explains how to enable HTTPS in IISExpress and debug through VS.Hope it helps!
5 Oct 2014 by Abhijit Ghosh (Subho)
Creating a Issue in Jira using Rest API and Microsoft XML Core Services (MSXML)
19 Oct 2014 by Abhijit Ghosh (Subho)
This is an alternative for "Creating a Issue in Jira using Rest API". This is an upgraded version as it contains a way of sending attachments with the issue. This version doesn't use MSXML as it is not recommended by Microsoft.
4 Jan 2010 by Abhijit Jana
This article describes how to use Pin/Unpin of Object/Variable Data Tip during debugging In Visual Studio 2010 Beta 2
10 Jan 2010 by Abhijit Jana
This article describes the use of Caching Application Block - Enterprise Library 4.1.
8 Feb 2010 by Abhijit Jana
Scrollable Zooming Extension for VS 2010
6 May 2010 by Abhijit Jana
Describes all debugging features like Breakpoints, DataTips, Watch Windows, Multithreaded Debugging, Parallel Program Debugging and IntelliTrace Debugging
20 Jul 2010 by Abhijit Jana
A Solution Navigator features in VS 2010 Productivity Power Tools
22 Dec 2010 by Abhijit Jana
New Features of IntelliTrace Debugging in Visual Studio 2010 – Service Pack 1 Beta