REply

alice johnson replied to Shekhar Somani at 04-Jul-08 10:34

Verify Session Switch Notifications:


This task assumes that you have at least two Windows XP user accounts. If you only have one account, create a new account first. 1. Rebuild the project.
2. Run the application.
3. From the Start menu, click Log Off, and then click Switch User.
4. Click the current user name to revert to your previous user session.
5. Verify that you have received WTS_SESSION_LOCK and WTS_SESSION_UNLOCK notifications.
6. Click OK to dismiss both message boxes.
7. From the Start menu, click Log Off, and then click Switch User.
8. Switch to a new user's session, and then switch back to the original user session.
9. Verify that you have received WTS_SESSION_LOCK, WTS_CONSOLE_DISCONNECT, WTS_SESSION_UNLOCK, and WTS_CONSOLE_CONNECT notifications.
10. Click OK to dismiss all message boxes.
11. Close the application.

Go throuught his link:

http://www.pellesoft.se/communicate/tips/tips.aspx?tid=1884

http://support.microsoft.com/kb/310153

http://www.codeguru.com/forum/showthread.php?t=172548



Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Getting to know the active (console connected) username - Shekhar Somani  04-Jul-08 02:34 2:34:52 PM
      REply - alice johnson  04-Jul-08 10:34 10:34:45 PM
          But what about the name of the user? - Shekhar Somani  05-Jul-08 05:22 5:22:48 AM
View Posts

promotion
Silverlight    WPF    WCF    WWF    LINQ   
JavaScript    AJAX    ASP.NET    XAML   
C#    VB.NET    VB 6.0    GDI+    IIS    XML   
.NET Generics    Anonymous Methods    Delegate   
Visual Studio .NET    Expression Blend    Virus   
Windows Vista    Windows XP    Windows Update   
Windows 2003 Server    Windows 2008 Server   
SQL Server    Microsoft Excel    Microsoft Word   
SharePoint    BizTalk    Virtual Earth   
.NET Compact Framework    Web Service   


"Everything" RSS / ATOM Feed Parser
How to send and receive messages through message queuing in .Net
How to Read text file as database
SQL Server 2005 Paging Performance Tip
Display code of web page.
Fully Scalable Excel File Importer class for .net using Microsoft Jet driver
Generic Chart Color Manager class that can be used for any charts
Helper class to style the infragistics wingrid
Using Reflection to detemine as Assembly Info in and out.
Helper class to play with Window (Owners and position)
Resolving displayname from the culture using the XmlLanguage and LanguageSpecificStringDictionary class