View Complete Post
MSDN Magazine April 2004
If your application performs any non-UI processing on the thread that controls the user interface, it may make the app seem slow and sluggish, frustrating users. But writing multithreaded apps for Windows has long been restricted to C++ developers. Now with the .NET Framework, you can take advantage of multiple threads in C# to control the flow of instructions in your programs and isolate the UI thread for a fast and snappy user interface. This article shows you how. Also, it discusses the pitfalls of multiple threads and presents a framework for safe concurrent thread execution.
MSDN Magazine February 2003
Edited by Nancy Michell
MSDN Magazine April 2002
Programmers using Visual Basic have always had an advantage over C++ programmers when it comes to component and window sizing. There are many third-party Visual Basic-based solutions to this age-old problem, but unfortunately, there are few elegant alternatives for the C++ crowd, short of using a full-fledged windowing toolkit. This article explains how to circumvent the tedious task of hardcoded pixel arithmetic. It starts by introducing a window sizing rules system, and then moves on to show how CWinMgr, a data-driven class, can intelligently manage an MFC application's window sizing.
MSDN Magazine July 2001
MSDN Magazine August 2000
I am struggling to set up a web site which sits in multiple domains.
I have two AD domains - Main and Secondary.
My site is configured as below.
<authentication mode="Windows"/> <identity impersonate="false"/> <roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider"/> <authorization> <allow users="*"/> <deny users="?"/> </authorization>
<location path="Default.aspx"> <system.web> <authorization> <allow roles="Secondary\All Staff,Main\Site-Editor"/> <deny users="?"/> <deny users="*"/> </authorization> </system.web> </location>
<location path="Edit.aspx"> <system.web> <authorization> <allow roles="Main\Site-Editor"/> <deny users="?"/>&n
Hi, I hope I will get a solution for my problem here. My question is how users from ohter AD domains can access a web site using windows authentication (web site level) and Automatic logon only in Intranet zone (IE level) turned on?
I just repost my issue here.
<location path="Default.aspx"> <system.web> <authorization> <allow roles="Secondary\All Staff,Main\Site-Editor"/> <deny users="?"/> <deny users="*"/> </authorization><
How can I use a private sub from one form in another? So I have a private sub called 'PasteFromClipboard' in my main form, and I want to activate that sub from another.
How do I do it in WPF?! Normally in Window2 I would just type Window1.PasteFromClipboard() but it doesn't work!
Really confused on this... let me explain the scenario.
i have a application on .net 2.0 .
once user is logged in, various session variables are stored for that users profile information (normal stuff). when user open a browser window and after doing some operation, closes the browser window directly.
and then reopen new window and try to access homepage of same application... he is presented with profile of the user which was logged in before (and widnow was shut down)
is this behaviour normal and common across all IE versions?
this behaviour is not consistent.... sometimes, its showing homepage of old user and sometimes its showing login page (as if session is invalidated)
is there any way to abandon all session if browser window is closed (apart from capturing browser window close event)
hope i get some replies on this...
we are running multiple instances of application.we want to have connection string seperate for each instance as long as instance is running?
How to achieve?
application created in .net 3.5
Hi allMy final HTML code creates dynamically many TEXTAREAs elements which contain multi-lines content. The contents of these elements are refreshed every 5 seconds. The problem is when the user hover over the TEXTAREA my current code does show the popup window but it disappear when the DIV area is refreshed.So I am looking for a sample code which will popup a window and display the content of each TEXTAREA when I hover the mouse over. BUT I wanted the window to stay and NOT dissapear after each DIV refresh. If a "Close" "X" icon is necessary to achieve the goal that would be fine too.PS: I have used the AJAX HoverMenuExtender but since my Textboxes are inside a UpdatePanel which refreshes the content of the Textboxes every 5 seconds, the Popup disappears and I need it to stay so the user can see the whole content.
Thanks for your help.
Learn how to utilize elasticity-the ability to provision resources and remove them on the fly-to take full advantage of cloud computing.
MSDN Magazine November 2010