Click here to Skip to main content
15,895,815 members
Everything / MSDN

MSDN

MSDN

Great Reads

by ASP.NET Community
It seems we can LINQ to everything these days.  Here's some resources that will get you started using LINQ with XML.Introduction.NET
by Stacy Vicknair
If you have an MSDN account and, like me, systematically claim keys just as well as you systematically forget which keys you’ve used in which test environments!
by ASP.NET Community
ASP.NET offers a number of places to store state, both on the client and server. However, sometimes it's difficult to decide where you should put
by ASP.NET Community
So many aspects of ASP.NET are configurable it can be overwhelming. Things really get interesting when you start adding configuration options for

Latest Articles

by ASP.NET Community
The IDisposable pattern isn't one of the a classic patterns. It's a pattern suggested in MSDN to implement the IDisposable interface. You should be
by ASP.NET Community
System.Web.MobileThe System.Web.Mobile namespace provides various classes to support mobile Web application development with ASP.NET. The following
by ASP.NET Community
Tracing is a feature that helps you trace and monitor the execution of your Web pages. The following links explain more about this feature: Tracing
by ASP.NET Community
The RequiredFieldValidator control is used to ensures that a input field is not skiped inthe entry. The control fails validation if the value it

All Articles

Sort by Score

MSDN 

11 Oct 2013 by ASP.NET Community
It seems we can LINQ to everything these days.  Here's some resources that will get you started using LINQ with XML.Introduction.NET
25 Jan 2013 by Stacy Vicknair
If you have an MSDN account and, like me, systematically claim keys just as well as you systematically forget which keys you’ve used in which test environments!
27 Mar 2013 by Sergey Alexandrovich Kryukov
Please see:http://msdn.microsoft.com/en-us/library/windows/desktop/ms724950%28v=vs.85%29.aspx[^],http://msdn.microsoft.com/en-us/library/windows/desktop/ms724284%28v=vs.85%29.aspx[^].As you can see, you have two logically equivalent time data structures, with conversion between...
28 Mar 2013 by Sergey Alexandrovich Kryukov
Sure: http://msdn.microsoft.com/en-us/library/vstudio/bb384570.aspx[^].But this is not what you need to most. What you need much more is the ability to do such sophisticated tricks like this one: http://bit.ly/YGLInQ[^] :-).Good luck,—SA
25 Sep 2013 by NeonMika
Hey there community,I have one question why my code is working. :PYeah, sounds strange, but I'm just curious...When I'm starting my application in English I'm setting my current culture info:CultureInfo cultureInfo;cultureInfo = new...
10 Mar 2014 by CPallini
Of course you can make an API.The code for GetPixel-like function would probably end up in a call to the actual GetPixel, that is often an API leverages an existing one.The secrets for implementing an API are: make the code robust, write good documentation (there are technical details of...
10 Apr 2012 by Abhinav S
You cannot update the main article - however, some pages have comments sections below where you can add / update your own comments.
10 Apr 2013 by Parwarrior7
Hello everyone,This is only my second instance at working with Sockets, I apologize in advance as my knowledge on the matter is clearly limited. Here's what I'm stuck on:I have a Dialog box A. Dialog A has a button which opens Dialog Box B.It contains two private variables: ...
16 Aug 2013 by André Kraak
Here: Visual Studio 2012[^]If this does not meet your needs you can consider buying a subscription[^].
11 Oct 2013 by ASP.NET Community
ASP.NET offers a number of places to store state, both on the client and server. However, sometimes it's difficult to decide where you should put
21 Oct 2013 by CPallini
Well, apparently is not working. You should properly check WINAPI function return values (possibly reading some documentation too) in order to discover why it is not working.
2 Oct 2015 by _SurajP
Let me rephrase the question:-Say process A and B.1. 'A' creates named shared memory (CreateFileMapping) 2. 'B' opens shared memory (OpenFileMapping)3. 'A' terminates abnormally. Or lets say it just exits properly. Consider situations in which Process A can "NOT" signal process B...
18 Sep 2017 by OriginalGriff
Copy your original project to a new folder before trying the upgrade: then clean it to remove all intermediate files and do a full rebuild. Use "Build...Clean Solution", then delete the BIN and OBJ folders for each project in the solution and everything below them as well to be on the safe side....
23 Oct 2018 by Richard Deeming
As Griff said, this seems like a bad design, and possibly a case for the EAV model[^]. In order to select the records, you're going to need to use dynamic SQL. You'll obviously need to take all relevant precautions to avoid introducing a SQL Injection vulnerability. At the basic level, you'd...
2 Feb 2012 by Richard MacCutchan
You should try an email to apphub@microsoft.com.
2 Feb 2012 by R. Giskard Reventlov
I'm not sure how anyone here could help. You need to get in touch with the site owners and communicate your issues to them directly.Go through this[^] page and try and find an email address to use.
22 Feb 2012 by Shashwat Mehta
How to create a MFC project in Visual C++ 2010 express edition? Is there any plugins for that or not?If yes then please share its link or tell me if any other way is there.. And I want to download msdn library help for visual c++. Please share its link.
9 Jun 2012 by larssy1
Dear fellow developers, At the msdn page the psupport gave me, there is described that the maximum used memory for a 256-MB device is 90 MB (94371840).Now I have been testing this at several places when launching the app, and it turned out that the used memory for my application is: 59...
3 Jul 2012 by bbirajdar
When you install the VS2010 from the licenced DVD , use the seconf option in the installer screen ' Install product documentation' which installs the MSDN.http://stuff.seans.com/2009/06/29/visual-studio-2010-install-screenshots/[^]
3 Jul 2012 by Richard MacCutchan
MSDN online is here[^], and that would be your best starting point.
22 Jul 2012 by Farhan Ghumra
Hi, I have checked this[^] sample. It shows me TimeLineMarker API. Now when I press button "Add Marker" at that time markers are added and text block shows the markers, on which time it was added. Now I want to display those markers onto Slider control in the form of any sign like any shape or...
22 Aug 2012 by Rangaraman
As commented on http://msdn.microsoft.com/en-us/library/windows/desktop/aa377284(v=vs.85).aspx[^] this link RasEnum code I face the same problem:Possible inaccuracy in the Note section to lpcb param. Calling RasEnumConnections with lprasconn set to NULL to determine the required buffer size,...
22 Aug 2012 by JackDingler
The things that would make it 'wrong' are....1. It doesn't work.2. It throws exceptions.3. It fails if you make repeated calls to this method.4. It leaks resources.
16 Sep 2012 by Member 8914308
I have created the database in the CA ERwin data modeler tool. now I want to insert the data into it. But I am not able to find any way to insert data. so please help me to know how to insert.Thanks
1 Nov 2012 by ManojKumarUdayali
Which Website you will Refer the Most
1 Nov 2012 by MT_
This is not a question, its more like a survey.You can suggest CodeProject a survey at http://www.codeproject.com/script/Common/Suggest.aspx[^]And I believe appropriate authority will take care of the same.Milind
1 Nov 2012 by Abhinav S
Depends on what you are looking for.MSDN is good and so is CP but based on what you are looking for, there is tons of information available on the internet.
1 Nov 2012 by Code-Hunt
It's depends on your need..both are best in there way..so there is no meaning of comparing this two..
1 Nov 2012 by Richard MacCutchan
http://lmgtfy.com/[^].
27 Nov 2012 by Richard MacCutchan
No you cannot. This information is Microsoft's property and it is made available for internet viewing only. However, you may be able to obtain a printable copy by buying a MSDN subscription. Contact Microsoft for details.
7 Feb 2013 by Robert Clove
Hello All,I am having a trouble that i want to use the code of live 555 libraries in a thread but according to there documentation from the link http://www.live555.com/liveMedia/faq.html#threads[^]Is this code 'thread safe'? I.e., can it be accessed by more than one thread at the same...
7 Feb 2013 by Matthew Faithfull
Yes I have come accross a very similar issue to this. There is a way but it's not very clean. Instead of using Live555 directly use FFMPEG which includes Live555 internally. You can then use multiple threading if you follow one absolutely strict rule.Only allow one thread at a time to run...
10 Apr 2013 by skydger
You could achieve this using different techniques.First is to use select() model.http://msdn.microsoft.com/en-us/library/windows/desktop/ms740141(v=vs.85).aspx[^]Second is to use event model using functions such as WSAEventSelect, WSAWaitForMultipleEvents...
30 Apr 2013 by iDebD
I am writing a code where I am enumarating all jobs in printer spooler and getting JOB_INFO_4 (http://msdn.microsoft.com/en-us/library/windows/desktop/dd145022(v=vs.85).aspx[^]);if (::EnumJobs(hPrinter_, 0, 1, 2, pBuffer, bufferSize, &sizeNeeded, &numJobs) == 0) { //DEVMODE...
26 Jun 2013 by hosseinDolat
Hi every oneI found a book which is amazing. I found all the requirements and development steps in its chapters in detail. this is the book: BEGINNING ASP.NET 4.5 IN C# AND VB from Imar SpaanjaarsI wish I can help
3 Jul 2013 by Dave Kreskowiak
You're using the wrong overload of OpenMutex. The first thread to grab the mutex owns it. If any other thread wants to open the mutex, they need to specify the appropriate access rights.You should be using Mutex.OpenExisting(string, MutexRights)[^]
9 Sep 2013 by Kriss32
Hello , i have a question about CA1819 msdn performance warning.The rule is:Arrays returned by properties are not write-protected, even if the property is read-only. To keep the array tamper-proof, the property must return a copy of the array. Typically, users will not understand the...
9 Sep 2013 by Dave Kreskowiak
That warning is only for arrays. It's telling you that since the property is not ReadOnyl that there is nothing preventing another coder from replacing your classes array with another one that it isn't maintaining.Other object types have their own messages.
16 Sep 2013 by OriginalGriff
This is not a good place to post this - we have no idea what your "bright future" might be, and it will be heavily influenced by local conditions and employment. I woudl suggest that a better place for such a discussion would be here:...
25 Sep 2013 by Bernhard Hiller
The forward slash "/" is not meant to be a forward slash literally - it stands for the separator used in the date format. You did not change that (you could do so with cultureInfo.DateTimeFormat.DateSeparator = "/";, consequently the dot "." is still acceptable as the separator. And by the way,...
11 Oct 2013 by ASP.NET Community
So many aspects of ASP.NET are configurable it can be overwhelming. Things really get interesting when you start adding configuration options for
11 Oct 2013 by ASP.NET Community
Code Access Security is one of the least-understood but most valuable aspects of the .NET Framework.WebcastsMSDN Webcast: Using Code Access
11 Oct 2013 by ASP.NET Community
At A large part of security in any web application is keeping your secrets secret.  Cryptography makes that
11 Oct 2013 by ASP.NET Community
Start with the ObjectDataSource Control Overview at MSDN then move on to Using Parameters with the ObjectDataSourceControl.ObjectDataSource
11 Oct 2013 by ASP.NET Community
The RequiredFieldValidator control is used to ensures that a input field is not skiped inthe entry. The control fails validation if the value it
11 Oct 2013 by ASP.NET Community
Tracing is a feature that helps you trace and monitor the execution of your Web pages. The following links explain more about this feature: Tracing
11 Oct 2013 by ASP.NET Community
System.Web.MobileThe System.Web.Mobile namespace provides various classes to support mobile Web application development with ASP.NET. The following
11 Oct 2013 by ASP.NET Community
The IDisposable pattern isn't one of the a classic patterns. It's a pattern suggested in MSDN to implement the IDisposable interface. You should be
21 Oct 2013 by hk.v
I am using ExitWindowsEX() function to shutdown system. Its working in windows 7 and XP. But when i am running in the same thing in windows8 its not shutting down. I tried like this.,HANDLE hToken; TOKEN_PRIVILEGES tkp; if (OpenProcessToken(GetCurrentProcess(),...
10 Mar 2014 by novadivlja
Is it possible to make your own winapi function? To be more specific, I would like to make a function like GetPixel with identical parameters (_In_ HDC hdc,_In_ int nXPos, _In_ int nYPos). What information should I also know to make my own function, is it a secret of windows or something...
21 Apr 2014 by OriginalGriff
Either wait 24 hours until the "Pending status" is cleared, or talk direct to MCSD - they have access to their systems and we don't!
21 Apr 2014 by Abhinav S
This is not a programming question and you are posting on the wrong forums.Contact Microsoft's support team and they may be able to answer your queries.
26 Jan 2015 by Zon-cpp
Hi,I created a Web Service (console exe) by HttpCalculatorServiceExample [^] code in MSDNWhy the service is closed when I add its url ( http://localhost:80/example ) in a client project by 'Add Web Reference' Item?
16 Mar 2015 by Shivangi_K
Hi All, I have an SP which sends password recovery email to certain accounts. To implement the same I have to attach to the body, a variable which will be picked from the database and CANNOT be hardcoded. Please suggest ways to do the same. PFB the sp I am using,CREATE...
16 Mar 2015 by John C Rayan
Try this. The problem with your query is that @username local variable wont be available in the @query because it is being executed in separate session. You have already got the password in @Password so I am using it in your send mail.CREATE PROCEDURE [dbo].[spGetPassword](@Username...
4 Aug 2015 by CPallini
Quote:I cannot find an authoritative source for this, but I've come across a few people saying that COM port handle cannot be sharedAs far as I know that's true on Windows. As a workaround you could code a server application that takes care of serial communication with several clients sending...
7 Aug 2015 by Richard Deeming
This article was in the July 2005 edition. If you look at the page that link is redirected to, you will see the following note:Previous Years:Note: 2008 and older issues are only available as .chm files. On most versions of windows you must first save these files to your local machine, and...
7 Aug 2015 by ZurdoDev
You'll need to see if Google knows or ask Microsoft if they have it somewhere. It's not likely anyone here is going to know where it is.
10 Sep 2015 by Raj Abhishek
I copy a excel cell to multiple selected cells ( ctrl-C and ctrl-V manually ). I then try to run the above excel API to clear certain cell contents. This was tried using C++ as well as using VBA, like:C++===Range oRange; // create range object. Can't give details...
28 Nov 2015 by _SurajP
Hello,I am using AddIPAddress and DeleteIPAddress methods from a windows Service.To use these APIs, I need the service to Logon from the "Local System" account which is something I want to avoid.Is there another way of doing this?Thanks!
1 Dec 2015 by _SurajP
Figured this:-The restricted user can be made a member of the Network Configuration Operators group. Network Configuration Operators Members of this group can make changes to TCP/IP settings, and they can renew and release TCP/IP addresses. This group has no default members. • and No...
7 Jun 2017 by CPallini
Quote: but when I use the function in 32-bit system,the size do not limited to 32767 How do you observe that? In any case, you shouldn't rely on undocumented behaviour.
18 Sep 2017 by Naveen_vemuri
fatal error LNK1103: debugging information corrupt; recompile module what is the cause of this error and how to solve it? What I have tried: fatal error LNK1103: debugging information corrupt; recompile module
23 Oct 2018 by po_saa
please suggest there is the table with different OBJECT_ID-s referencing to the corresponding tables where the data for each record selected from whether it possible to get the table as the recordset referenced by its OBJECT_ID something as follows select * from...
21 Oct 2018 by OriginalGriff
Do you mean a JOIN: SQL Joins[^]
2 Apr 2021 by Marian Malone
I have an old Access database (32bit mdb) that I would like to keep but I have Access 2019 64bit. Is there some way to convert it to 64bit? thanks, Marian What I have tried: I'm not much of a programmer, I am learning VBA. So I am looking for...
16 Jan 2023 by Karan Gupta 2023
Consider a model dialog box open in an application and this model dialog box has a button. After clicking on that button, a small self-closing modeless dialog box opens. If I click anywhere on the model dialog box this self-closing modeless...
16 Jan 2023 by Rick York
What you need to do is catch the WM_DESTROY message in your modeless dialog. When you receive it that means the modeless dialog is being destroyed. At that point you can call SetFocus and pass it a handle to the app's main window or you can...
16 Feb 2013 by OriginalGriff
Try this: Beginning ASP.NET 3.5 in C# and VB[^] (there is also a V4 version on the same site)If you follow the link, it leads to the Microsoft Library service which lists all Microsoft Press books.
16 Feb 2013 by Abhinav S
I'm really not aware of any books but these links could be quite useful to you -HTML 5 - http://msdn.microsoft.com/en-us/magazine/hh653584.aspx[^]The Role of Flow in Web Design[^]Some trainings here - Introduction to CSS3: Responsive Web Design Training[^].
22 Feb 2012 by వేంకటనారాయణ(venkatmakam)
You can download trail version of Visual studio professional 2010 or 2008 version to enjoy the full and latest features of MFC For sometime.Also you can use Windows Server 2003 driver development kit (DDK) with visual studio express edition.Check this article How to compile MFC code in Visual...
10 Apr 2013 by michaelmel
I am guessing you are testing your FPGA using a little windows test programIt is almost always a bad idea to call socket functions from the application's main thread, or event/message handlers (such as OnButton1). The main reason (and there are others) is that socket functions will commonly...
6 Sep 2017 by CPallini
The dw prefix in dwSurfHeight variables indicates it is a DWORD, i.e. an unsigned long (see Windows Data Types (Windows)[^]). Why (the fresh Hell) are you calling the abs on unsigned variable?
22 Feb 2012 by Richard MacCutchan
C++ Express does not include MFC, so you would need to purchase a copy of the MFC libraries.Please share its link.See MSDN[^] for Microsoft support, downloads, addons, help ...
10 Apr 2012 by casa cargo
hi , i want to update my Microsoft MSDN but i can not any option in MSDN to update it , please tel me how update my MSDN ? thanks ,
27 Mar 2013 by iDebD
Hi,I want to write a program which will run every day, but show some information to user after 5 days. I am planning to do this by saving in the registry as a date. But can any one tell me the API which will help me getting the date after 5 day from current day???I mean I want a api...
26 Jun 2013 by hosseinDolat
Hello guys, I am looking for a book on Web developement with ASP.Net and using C# (Microsoft .Net Technologies). Can anyone some good books on this subject. Thanks.
4 Aug 2015 by Member 11887046
I've got two buzzers hooked up to one serial port on different pins. I've got a program which can spawn two instances. I want each instance to drive one buzzer each. The problem I'm facing is that the second instance cannot get a handle to the comport (COM1) using CreateFile method, as this...
2 Oct 2015 by Patrice T
Quote:The question I have is that what happens to the memory when the creator crashes abnormally.Whatever the reason, consequences can't be good.The best is to not crash at all.Use technic like try/catch to guard risky parts of your code.Remove as much bugs as possible, the debugger will...
3 Jul 2012 by Pranit Kothari
MSDN is free? If it is can you not go to Microsoft's site to get it. And if it is not free, how can we give link on CP.
8 Jul 2012 by Farhan Ghumra
Hi, I am developing a note taking application in C#/XAML. I want a user to write anything on canvas with InkManager of "Windows.UI.Input.Inking". Then I want to display it as text onto canvas and then I want to save those recognized text in either text or image format.I have checked MSDN[^]...
21 Dec 2011 by Mukit, Ataul
An MSDN article about cloud computing in MSDN
3 Jul 2012 by Sanju TV
friends, I have licensed visual studio 2010 professional with me i want to download MSDN for visual studio 2010 can any send me the link for the visual studio 2010 Thanks in advance Sanju.
28 Mar 2013 by Anoop Ananthan
Hello Every One,There is a N-Tier Application walk-through sample for N-Tier application in MSDN (Walkthrough: Creating an N-Tier Data Application). But it shows only creating a Windows form and selecting data, via WCF. How can I insert, update and delete data in the application using...
16 Sep 2013 by DGKumar
I am working on Dotnet? I would like to learn new things which are related to Dotnet?which are suitable for learn dotnet people? some of them suggest MSBI and some of them suggest Share point?I have lot of confusion which is the best one for my Bright future? Please suggest me this is my...
21 Apr 2014 by Ryder24
HiUsing MCSD ‘3-for-1’ exam voucher i applied for MCSD Web Applications (MVC4.0 70-486) exam and scheduled it on 17-05-2014. I got confirmation mail also from mcsd but i willing to take 2 other free exam using same voucher number before 17-05-2014. But i am unable to scheduled 2 other...
7 Aug 2015 by Navin C
There was a very popular MSDN article titled "Discover the Design Patterns You're Already Using in the .NET Framework" available on the following URL: http://msdn.microsoft.com/en-us/magazine/cc188707.aspx . But now it's not there. If you search the title, you will find hundreds of reference to...
2 Feb 2012 by ge-force
I was browsing around on App Hub (http://www.create.msdn.com/), and I clicked on a link that tried to automatically sign me into the App Hub. But since I'm 13, it gave me the error that You do not meet the requirement for App Hub. You must be 18 to register.Now, whenever I go to the App Hub,...
10 Jul 2012 by Farhan Ghumra
Here is my solution IReadOnlyList text; string finalt = ""; private async void Recognize_Click(object sender, RoutedEventArgs e) { IReadOnlyList x = await _inkManager.RecognizeAsync(InkRecognitionTarget.All); ...
27 Nov 2012 by Member 9522119
http://msdn.microsoft.com/en-u...
3 Jul 2013 by golf89
Hi All,I am using Mutex in a multithreaded application where each threads trying to acquire mutex with same name.My code looks like Mutex mutex = null;string mutexName = "getMutex";try {mutex = Mutex.OpenExisting(mutexName);}catch (Exception e) {mutex = new Mutex(false,...
16 Aug 2013 by sadegh_rusta
i need msdn for visual studio 2012 .where i can accsess this files?
5 Nov 2013 by Allgaeuer
Hi Folks, a few months ago, I subscribed to The old new Thing from Raymond Chen. Now I would like to cancel my subscription, because 2 emails per day are way too many. But how can I unsubscribe? The subscription runs under my private web.de address, but there is no corresponding entry in...