What Anders presents at minute 60 of this video seems pretty cool
http://channel9.msdn.com/pdc2008/TL16/
However, I can't find it.
Is it released? Is there an alternative?
How do I implement "visual styles" into my GUI application?
Following the guide by msdn, I've written a manifest file, but how do I embed that into my program? My program is just pure C code (no resource files). Would I need to edit my app to use a resource file?
I'm using the winmm.dll API method waveOutGetPosition to get the current position of the playback of a WAV file. Sometimes this works as expected for me, but eventually one of the calls never returns and my application locks up.
I found this thread with a few users who have experienced the same problem:
http://social.msdn.microsoft.com/Forums/en-US/windowsgeneraldevelopmentissues/thread/c6a1e80e-4a18-47e7-af11-56a89f638ad7
but no solution. Has anyone run into this problem before?
I'm trying to localize a Windows 8 Metro style app as described in a guide on MSDN. This worked very well so far, but now I'm trying to localize a string containing a non-breaking space which appears in a XAML file (originally as hexadecimal xml-escaped string:  ).
Just putting the above string into the Resources.resw file does not work, it appears just as  .
What do I have to do to get a non-breaking space in my localizations?
Why is the parameter on UpdClient.Receive a ref parameter, instead of simply out?
According to the MSDN page, the parameter is filled with the address that the datagram was sent from. However it doesn't specify what kind of input it is used for, only output.
I just grabbed vs2010 release from msdn and I wanted to find out if anyone had any issues installing this on a machine that had mvc2 installed already for use with vs2008.
Just as the title says, if you know any resource, answer here.
Personally I'm more0interested in screencasts more than podcasts, because english is not my mother tonge, so visual clues help a lot:
NetBeans TV Screencasts
DimeCasts.NET
Apple Developer Connection (iTunes)
--- Suggested by the community
.NET Rocks
dnrTV
Channel9
MSDN Events and WebCasts
Software Engineering
DeepFries
RailCasts
Learnivore!
HanselMinutes
ThinkCode
I learned the range of int and long on 32 bit windows is:
signed int: -32767 to 32767
signed long: -2147483647 to 2147483647
why does the int has same range as long type as mentioned here?
http://msdn.microsoft.com/en-us/library/s3f49ktz%28VS.80%29.aspx
How do I set Environment Variables in Visual Studio 2010?
I found this web page:
http://msdn.microsoft.com/en-us/library/ee479070.aspx
Which says:
From the Project menu, choose Properties.
In the left pane, select Configuration Properties, and then select Environment.
But when I select "Configuration Properties", there is no "Enviroment" option:
http://i67.photobucket.com/albums/h292/Athono/microsoft/newstuff.jpg
This is an example in VS 2008:
http://i21.photobucket.com/albums/b279/GrunchCan/env.jpg
But how is it done in VS 2010?
Back in January 2009, Dino Esposito published an article on MSDN titled "Managing Dynamic Content Delivery In Silverlight". We are considering using an approach like this for an upcoming project and were wondering if anyone had any advice on whether this is a good approach. Are there any traps or pitfalls we should look out for? We currently use Prism and would need to look at how the two would live happily together.
There are three possibilities, but I can't find examples:
System.Linq.Expressions.MemberAssignment
System.Linq.Expressions.MemberListBinding
System.Linq.Expressions.MemberMemberBinding
I want to write some unit tests to see if I can handle them, but I don't know how to write them except for the first one, which seems to be new Foo { Property = "value" } where Property = "value" is an expression of type MemberAssignment.
See also this MSDN article.
I have read under: Compiling Web Application Projects (http://msdn.microsoft.com/en-us/library/aa983464.aspx)
... this compilation model creates a single assembly, you can specify attributes, such as assembly name and version.
You can supply a PATH (directory name only) in the Visual Studio "Build Options".
But where can the file name for the assembly be specified?
The MSDN documentation doesn't generally specify the assembly a namespace is in, so there's no easy way to add the necessary assembly reference.
NOTE: I am using MonoDevelop, so right-click, resolve is not an option.
I'm looking for a way to set a selection in a textarea in Internet Explorer. In other browsers, this works just fine:
textarea.selectionStart = start;
textarea.selectionEnd = end;
In IE, I assume I have to use createRange and adjust the selection somehow, but I cannot figure out how.
Extra bonus points for a link to a proper documentation about createRange and associated methods, MSDN isn't helping out much.
The company for which I work has an MSDN license and upgrading to TFS 2010 from 2008 is not an expensive option. However, I haven't been able to find any features that make this something neither my colleagues or me feel we need. Is anyone experienced with TFS 2010 enough to convince me that my company needs this?
In books I have seen that it exists but MSDN says it does not???
What do you guys have to say on this subject???
Might load up VS later on and see if it appears in 3.5 .Net. I;m asking as some of you lot know I am lsowly revising for the exam and I don't want little nougets like this to suprise me.
TIA
I have a dlg box as the main window. After a few searches on the we I tried downloading and running the sample the source here:
http://msdn.microsoft.com/en-us/magazine/cc164067.aspx
I get a compile error:
error C2440: 'static_cast' : cannot convert from 'UINT (__thiscall CStaticLink::* )(CPoint)' to 'LRESULT (__thiscall CWnd::* )(CPoint)'
1 Cast from base to derived requires dynamic_cast or static_cast
(VS 2008)
The tooltips functionality seems to be a bit of a challenge. Any suggestions on how to get this working are much appreciated.
I'm doing this:
http://blogs.msdn.com/b/ie/archive/2009/03/10/more-ie8-extensibility-improvements.aspx
But it's not working.
I have "iexplore.exe" set to 8888 (decimal mode) under MACHINE, but it's still coming up documentMode = 5.
I thought 8888 was suppose to force IE8 Standards Mode whether you have a doctype or not.
What is going on?
hi-
i'm following the instructions on how to build a custom search provider for windows federated search:
http://msdn.microsoft.com/en-us/library/dd742956(v=VS.85)
i'm returning local results of the form:
File://C:\Users\user\file.txt
however, when i perform a search, i get results that say:
"This item was blocked because of your Internet security settings".
how can i change my security settings so that federated search will allow my customer search provider to return local filesystem results?
thanks.
Hi,
since the new SDK 1.1 is missing the tutorial for "ASPProviders", i am currently asking myself how i would implement a "azure session state provider" ( this is the path in the "old" SDK: C:\Program Files\Windows Azure SDK\v1.0\Samples\AspProviders )
Related threads:
http://stackoverflow.com/questions/1023108/how-does-microsoft-azure-handle-session-state
http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/2d1340ed-0ad0-456a-b069-aa6b85672102/
Has anyone an idea or even the old example project and could post some snippets of the config here?
So I read MSDN and Stack Overflow. I understand what the Action Delegate does in general but it is not clicking no matter how many examples I do. In general, the same goes for the idea of delegates. So here is my question. When you have a function like this:
public GetCustomers(Action<IEnumerable<Customer>,Exception> callBack)
{
}
What is this, and what should I pass to it?
I have a C program which has a function call that is defined in windows.h (which I have included), however, when I try and compile it with gcc, I get the error:
warning: implicit declaration of function `LockWorkStation'
I looked at the MSDN documentation and I see that this function is the User32 library file, and I was wondering how I would go about linking that to my file.