Questions tagged [msdn]

Microsoft Developer Network

The Microsoft Developer Network (MSDN) is the portion of Microsoft responsible for managing the firm's relationship with developers and testers, such as: hardware developers interested in the operating system (OS), and software developers standing on the various OS platforms or using the API and/or scripting languages of Microsoft's applications. The relationship management is situated in assorted media: web sites, newsletters, developer conferences, trade media, blogs and DVD distribution. The life cycle of the relationships ranges from legacy support through evangelizing potential offerings.

1089 questions
9
votes
3 answers

Visual Studio help system targets wrong framework version

Sometimes, when I press F1 in Visual Studio Code Editor, it opens browser with MSDN page for .NET Micro Framework. My projects are using .NET Framework 4.5 and there is no trace of Micro Framework in them. For example pressing F1 over…
Anri
  • 6,175
  • 3
  • 37
  • 61
9
votes
2 answers

Drawbacks to Team Foundation Service and TFS on Azure

I'm an MSDN subscriber beginning a personal project that will involve WPF, Web Services, and SQL Server. I'm planning on using my MSDN benefits to host the Web Services on Azure and the database on SQL Azure. I was going to run TFS on my own dev…
ThatShawGuy
  • 1,363
  • 1
  • 14
  • 27
8
votes
1 answer

How does windows assign Display Device names? (eg \\.\DISPLAY1) and determine display ports?

We are writing a program that must be able to push setting to specific monitors, requiring us to have unique identifiers for each display device. So far, the best I can get is querying a handle to the DEVMODE struct returned by EnumDisplayDevices…
LeapDayWilliam
  • 197
  • 1
  • 2
  • 11
8
votes
1 answer

Reading joystick capability

I'm trying to read my joystick capability by using the winmm.dll library. Here is how I'm doing it... from ctypes import windll, Structure, c_uint, c_ushort, c_char, c_ulong WORD = c_ushort UINT = c_uint TCHAR = c_char winmm =…
Dudi b
  • 240
  • 3
  • 12
8
votes
3 answers

Why code snippet in VB is more featured than in C#?

As I read http://msdn.microsoft.com/en-us/library/ms165394.aspx: For VB: Inside the Snippet element, add the References element and all of the required child elements that add a reference to the project when the snippet is inserted. For…
user310291
  • 36,946
  • 82
  • 271
  • 487
8
votes
6 answers

Microsoft C++ Language Reference

Whenever any question is asked, and a reference text is needed, I never see MSDN C++ Language Reference being referred. I was browsing through it and I personally feel that it is extremely well written. Is there some specific reason it is not used…
Lazer
  • 90,700
  • 113
  • 281
  • 364
8
votes
1 answer

Azure - Credit spread across multiple subscriptions

I have 2 subscriptions on Azure, both of which have MSDN credit associated to each subscription. At the moment each subscription has an equal amount of credit, however all my virtual machines and cloud services reside on one of the subscriptions,…
Richard Read
  • 923
  • 6
  • 13
8
votes
2 answers

Login info fails every time I open Visual Studio

I get this every time I open Visual Studio 2013/2015 (premium): TF400813: Resource not available for anonymous access. Client authentication required. I can simply renter my credentials and everything works. But why do I have to do it every time?
ScottStonehouse
  • 24,155
  • 7
  • 32
  • 34
8
votes
5 answers

How to figure out which exceptions a certain method can throw if that is not documented in MSDN?

Recently I got got an exception that I wasn't expecting because it wasn't documented in MSDN that it can be thrown by the particular constructor. So here is the C# line that threw exception: using (StreamReader sr = new…
matori82
  • 3,669
  • 9
  • 42
  • 64
8
votes
0 answers

What is the benefit of the ValueConversion attribute?

I have no problems with the implementation of a ValueConverter. On MSDN I found the ValueConversion attribute: [ValueConversion(typeof(DateTime), typeof(String))] public class DateConverter : IValueConverter { public object Convert(object value,…
punker76
  • 14,326
  • 5
  • 58
  • 96
8
votes
2 answers

Preventing to dispose objects multiple times

Consider the following code: using (Stream stream = new FileStream("file.txt", FileMode.OpenOrCreate)) { using (StreamWriter writer = new StreamWriter(stream)) { // Use the writer object... } } When the writer stream is beeing…
CloudyMarble
  • 36,908
  • 70
  • 97
  • 130
8
votes
3 answers

Contract of ICollection.IsReadOnly

I'm writing an array wrapper class that implements IList. I’m unsure of what to return for IList.IsReadOnly (inherited from ICollection), though. My class disallows insertion and removal. It does allow modifying items via the this[int].set…
Konrad Rudolph
  • 530,221
  • 131
  • 937
  • 1,214
8
votes
4 answers

MSDN License (Development, Testing, Demo)

I have a question about my MSDN Premium Subscription. This is what I want to setup: Install Windows Server 2008 (maybe R2) on a Dev Box Install System Center Virtual Machine Manager 2008 (maybe R2) on the server. Create several VMs hosted on the…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
7
votes
3 answers

performing Arithmetic on SYSTEMTIME

I have a time value represented in SYSTEMTIME, i want to add/subtract 1 hour from it and get the newly obtained SYSTEMTIME. I want the conversion should take care of the date change on addition/subtraction or month change or e1 year change . Can…
Peter
  • 2,719
  • 4
  • 25
  • 55
7
votes
2 answers

Where can I download MSDN documentation?

How can I download an off-line installation of MSDN documentation of Visual Studio 2010 Express for Win32 and COM development, so that I don't have to download it again while installing on other computers?
bunty
  • 2,665
  • 8
  • 30
  • 27