Application Compatibility for Windows Development ForumDiscuss application compatibility testing, common compatibility issues, and best practices for creating Windows-based applications.© 2009 Microsoft Corporation. All rights reserved.Wed, 25 Nov 2009 12:06:03 Zfba4de8f-9459-4ca1-92a9-ea28f763178dhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/961ae2d6-d76f-46bc-894d-83c4da16baeahttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/961ae2d6-d76f-46bc-894d-83c4da16baeaKushiBobbyhttp://social.msdn.microsoft.com/Profile/en-US/?user=KushiBobbyXSS in Classic ASPHI,<br/><br/>Am using a Classic ASP Application with com components. i need to enhance the existing one with cross site Scripting.<br/><br/>Could anyone forward me any reference in this regard.<br/><br/>Thanks in advanceWed, 25 Nov 2009 06:19:22 Z2009-11-25T06:19:23Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/d78a4174-f161-4b54-8e3d-8f445eef5c10http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/d78a4174-f161-4b54-8e3d-8f445eef5c10ashlesh.patelhttp://social.msdn.microsoft.com/Profile/en-US/?user=ashlesh.patelScroll Form up and down manually on MouseDown Event(Right and Left button)Hi,<br/> <br/> I want to scroll the form up and down while pressing the mouse left key down. If I am in the upper area from the center and pressing the mouse left button then form should be scroll in up while am in bottom area of the form and pressing mouse left down key then form should be scroll in down.<br/> <br/> Any help will be appreciated.<br/> <br/> Thank you.<br/> <br/> /AshleshTue, 24 Nov 2009 06:15:55 Z2009-11-25T05:56:26Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/01a257c3-9683-4284-9979-45d4533b6fdahttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/01a257c3-9683-4284-9979-45d4533b6fdatrinodehttp://social.msdn.microsoft.com/Profile/en-US/?user=trinodeWindows 7 Program Compatibility Assistant and VS2008 Clickonce deploymentHi, <br/><br/>Everytime I try and deploy my clickonce solution (to a folder) it makes a setup.exe a *.application and such...<br/>however setup.exe triggers PCA alerts in windows 7, my visual studio is 2008 is SP1 patched, is there some other update that will make a &quot;compatible&quot; setup.exe? (my end users like to click setup.exe files over the myapp.application files, plus I'd like to have one procedure to follow for xp and vista and 7, and some of them didn't even have the framework installed, so the setup.exe was handy to install it automatically..)<br/>My application has the correct manifest to identify as 7 compatible, is there an update I can use for the clickonce setup.exe?Thu, 29 Oct 2009 23:11:50 Z2009-11-24T19:56:34Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/2194001e-2cfd-4825-8e60-b3188aef637ahttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/2194001e-2cfd-4825-8e60-b3188aef637aEyal Mhttp://social.msdn.microsoft.com/Profile/en-US/?user=Eyal%20MOLE automation server 32 bit execable not registered in Windows 7 64 bit<p>HI all,<br/>I have ole automation server application which works on Windows xp  and vista 32 bit and 64 bit and windows 7 32 bit.<br/>In order to work with this application as dcom I am setting the permission of the software  in component services (dcomcnfg).<br/>In windows 7 64 bit when i open the component services I cannot find the component and therfore i cant set the permissions i need.<br/>Please help!!<br/>Thanks</p>Thu, 03 Sep 2009 13:27:51 Z2009-11-24T19:28:20Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/4c5b2547-0593-457f-8a7a-0d241cd42b35http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/4c5b2547-0593-457f-8a7a-0d241cd42b35ha_rish77http://social.msdn.microsoft.com/Profile/en-US/?user=ha_rish77ShellExtension dll with MSIHi,<br/>I have created a shell extension dll using C++. It is getting registered with regsvr32 and working fine.<br/>Now I am creating an MSI installer for this , but I am getting the following issues.<br/><br/>1. In the setup project , if I specified &quot;primary output properties &quot; for register as &quot;vsdrpCOM&quot;.  On building the setup project I get <br/>   Unable to create registration information for file named 'SimpExt.dll'. I tried changing the dll's OLESelfRegister property to 1 manually in .res file , but that too didnt help.<br/><br/>2. If I change the Register type to vsdrpCOMSelfReg, it fails during installation.<br/><br/>3. I tried adding a custom action using ORCA as specified by <a href="http://social.msdn.microsoft.com/forums/en-US/windowscompatibility/thread/11c65800-e751-458d-a77c-ae069f44f9f2/">http://social.msdn.microsoft.com/forums/en-US/windowscompatibility/thread/11c65800-e751-458d-a77c-ae069f44f9f2/</a><br/><br/>Changed the Register type to vsdrpDoNotRegister and set <br/><span style="font-size:10pt;font-family:'Arial','sans-serif'">Target as regsvr32.exe /s . But that too giving error during installation <br/>[[  Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: RegDll, location: C:\MyExplorer\, command: regsvr32 /s SimpExt.dll  ]]<br/><br/><br/><span style="font-family:Verdana">This dll does not have any dependency dlls as shown by the setup project [ detected Dependencies] . <br/>I have selected the Primary output from the dll project. This consits of the DLL </span><br/><br/><strong>How can I register a Shell extension DLL (Win32-COM) using Windows Installer MSI ?<br/></strong><br/><br/>thanks<br/>Harish</span>Fri, 30 Oct 2009 10:13:39 Z2009-11-24T06:00:19Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/c75ae899-d05b-411d-a7f2-00fdd33b8589http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/c75ae899-d05b-411d-a7f2-00fdd33b8589Matrixisrlhttp://social.msdn.microsoft.com/Profile/en-US/?user=MatrixisrlEvent log error 4201 - ERROR_WMI_INSTANCE_NOT_FOUND<font face="Times New Roman"> <p class=MsoNormal style="margin:5pt 0in"><font face="Times New Roman"><font size=4><span style="color:black">ERROR_WMI_INSTANCE_NOT_FOUND<br>4201 The instance name passed was not recognized as valid by a WMI data provider.</span><span style="color:black;font-family:Arial"></span></font></font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;color:black;font-family:Arial"><a title="http://msdn2.microsoft.com/en-us/library/ms681387.aspx" href="http://msdn2.microsoft.com/en-us/library/ms681387.aspx"><u><font color="#800080">http://msdn2.microsoft.com/en-us/library/ms681387.aspx</font></u></a> &lt; this is the only error explanation I have found so far (it's really not very helpful) </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black;font-family:Arial"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-size:10pt;color:black;font-family:Arial">I cannot start the event log service no matter what I try as a workaround.  I really don't know what caused it to stop or what is causing the error above when I try to start it, but I have a hunch it is a compatibility issue.  This is a serious security concern and I need it fixed ASAP.  I hope MS addresses this issue in their next update...</span><span style="color:black;font-family:Arial"></span></p> <p class=MsoNormal style="margin:5pt 0in"></span></font></p>Tue, 27 Feb 2007 22:14:54 Z2009-11-23T20:51:31Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/e42b1fa5-c5a5-4372-b4ea-0a99048a674bhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/e42b1fa5-c5a5-4372-b4ea-0a99048a674balexforgoalhttp://social.msdn.microsoft.com/Profile/en-US/?user=alexforgoalHow to disable high DPI awareness in my MFC application?Hello All <div><br /></div> <div>&nbsp;&nbsp; &nbsp;How I can disable high DPI awareness in my MFC application on Windows 7? &nbsp;As we know, &nbsp;when set DPI to 120,&nbsp;</div> <div>the window will scale and the all the size of window, controls and fonts will be larger, &nbsp;but it is not nice to look, so&nbsp;I&nbsp;</div> <div>just want my application show normally&nbsp;as if it was 96DPI, &nbsp;that is how I can make my application show the same size</div> <div>as in 96DPI when the system DPI is 120.</div> <div><br /></div> <div>thanks.</div>Wed, 14 Oct 2009 09:37:36 Z2009-11-23T12:53:16Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/338177bd-de97-4e91-a8e2-ac4627044d40http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/338177bd-de97-4e91-a8e2-ac4627044d40lpszDanhttp://social.msdn.microsoft.com/Profile/en-US/?user=lpszDanRun as administrator work aroundIs there a list of actions software is not permitted to do unless it runs as administrator?<br/> I want to make my software compatible with W7 and Vista and I always have to run it as administrator. What exactly has to be changed?<br/> Thanks,<br/> DanWed, 11 Nov 2009 01:05:03 Z2009-11-23T12:01:02Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/c8fb6d2e-b6ef-4b7c-a059-97e83b0238a0http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/c8fb6d2e-b6ef-4b7c-a059-97e83b0238a0babhishekhttp://social.msdn.microsoft.com/Profile/en-US/?user=babhishek.net installation on win server 2008 r2<p>It is a known issue that .net 3.5 sp1 installation on win 2k8 r2 requires either application server role to be enabled or .net feature to be added. I need a native code to do this task in the background without actually prompting the user to manually enable the feature or roles of the server because my product needs .net 3.5 sp1 as a prerequisite before starting the installation. <br/><br/>During my search, I found this command <br/>dism /online /get-features /format:table | find /i &quot;net&quot;<br/>to look for the .net features present on the server <br/>and<br/>dism /online /enable-feature /featurename:NetFx2-ServerCore<br/>to enable the feature if not already enabled.<br/><br/>I need a native (C or C# etc) to do this thing in the background.<br/><br/>If the code itself is not possible, I need to know the mechanism (the apis etc) how the server gets to know about and enables its features so that I can write a code for it.</p>Fri, 20 Nov 2009 04:42:00 Z2009-11-25T12:06:03Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/d0c3be8e-da1d-4955-a820-9d9f13071f72http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/d0c3be8e-da1d-4955-a820-9d9f13071f72guanghanhttp://social.msdn.microsoft.com/Profile/en-US/?user=guanghanWhy system API "stat" cannot work under "C:\WINDOWS\system32\config\systemprofile" of Win64?On Win64 (2003 X64 SP2, logon as Administrator), I find that system API &quot;stat&quot; does not work under &quot;C:\WINDOWS\system32\config\systemprofile&quot;, it cannot detect the exist file.<br/> <br/> The test steps:<br/> 1 Copy 1.gz to &quot;C:\WINDOWS\system32\config\systemprofile&quot;.<br/> <br/> 2 Create aaa.exe with codes:<br/> struct stat sbuf;<br/> cout &lt;&lt; stat(&quot;1.gz&quot;, &amp;sbuf) &lt;&lt; endl;<br/> <br/> 3 Run it under &quot;C:\WINDOWS\system32\config\systemprofile&quot;, it will return &quot;-1&quot; -- it cannot detect the exist file. But the result is OK under &quot;C:\WINDOWS&quot;.<br/> <br/> Seems windows do something for security reason, but where can I find the related document?<br/> <br/> Thanks very much.Mon, 16 Nov 2009 09:22:53 Z2009-11-23T02:05:07Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/cbbfde77-4def-4abb-8dd0-125c6eb9441dhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/cbbfde77-4def-4abb-8dd0-125c6eb9441dMerrikhttp://social.msdn.microsoft.com/Profile/en-US/?user=MerrikDONE - Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)<p>I installed Daemon Tools on Windows Vista Business.  The result was that my CDrom went dead.  System Restore hasn't helped.</p> <p>Then CDrom properties reveals this:</p> <p>&quot;Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)&quot;</p> <p>If you update driver, you get &quot; Windows has determined that the driver software is up to date&quot;</p>Wed, 25 Oct 2006 14:26:25 Z2009-11-20T05:12:10Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/2f1341c5-c807-462f-8fab-2711e0ff3d31http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/2f1341c5-c807-462f-8fab-2711e0ff3d31Limanimahttp://social.msdn.microsoft.com/Profile/en-US/?user=LimanimaSetConsoleControlHandler() not working under Windows 7<p>Hi,<br/><br/>I have a Windows Service that uses SetConsoleCtrlHandler() to handle Logoff/Shutdown events (currently on Windows XP). <br/>The very same Service under Windows 7 doesn't catch this events (the SetConsoleCtrlHandler() function returns ok). Is there any security issue under Windows 7 with this API function?<br/><br/>Thanks</p>Wed, 11 Nov 2009 17:56:42 Z2009-11-19T21:15:39Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/b121a1d2-6c5a-4c1b-b773-cb2bcc5aad64http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/b121a1d2-6c5a-4c1b-b773-cb2bcc5aad64coleman8erhttp://social.msdn.microsoft.com/Profile/en-US/?user=coleman8erConfiguration Parser Error<p>Just installed Windows 7 on a box to test our app in the Windows 7 environment, when trying to launch the app I am seeing this error:<br/><br/><em>Error parsing<br/>c:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config<br/>Parser returned error 0x80070005</em><br/><br/>I am aware of the 'Troubleshoot compatibility' wizard when you right click on the executable, and it will run properly when I set it as a Windows XP SP2 app, but how do I get the app to run natively without having to run the compatibility wizard? Is there some option that has to be set before compiling the application? <br/><br/>Cheers, Andrew</p>Mon, 09 Nov 2009 16:40:51 Z2009-11-19T02:14:27Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/40767664-6bb6-4ed0-9749-c3fd8f0bbb8ehttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/40767664-6bb6-4ed0-9749-c3fd8f0bbb8eharleybrathttp://social.msdn.microsoft.com/Profile/en-US/?user=harleybratSony Model # DCR-TRV 22I have a Sony Camcorder Model #DCR-TRV22, Bought a new Dell with windows Vista Home Preimium. Plug me camera in and searchs for new hardware, cannot find. Sony and Windows Vista says it is Compatiable.. How??? Why is this not working? will not let me import video into Roxio either. Any help would be appreciated. Laurette <p align=left><font face=Arial size=2></font> </p>Sat, 19 Jan 2008 03:39:21 Z2009-11-18T18:03:49Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/481f9110-bcd5-4ca6-a0b4-ef558331e4edhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/481f9110-bcd5-4ca6-a0b4-ef558331e4edin_kshttp://social.msdn.microsoft.com/Profile/en-US/?user=in_ksIE8 Printing problemIn our code (C++, MFC) we use MS ActiveX control HTML View for printing - We use ExecWB function with OLECMDID_PRINT option. When we pass MSOCMDEXECOPT_DONTPROMPTUSER parameter to the function everything is OK. When we pass MSOCMDEXECOPT_PROMPTUSER, the Print Setup dialog pops up and we get an error: &quot;Internet Explorer script error&quot; - Error: Permission denied, URL: res://ieframe.dll/preview.js <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">What is a problem?</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">IE7 works fine.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">Thanks</div>Tue, 29 Sep 2009 12:52:02 Z2009-11-18T15:15:26Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/b703d389-9972-40dd-8b3c-c8fa145d3e40http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/b703d389-9972-40dd-8b3c-c8fa145d3e40P. Mandalhttp://social.msdn.microsoft.com/Profile/en-US/?user=P.%20MandalCan not enable WMI option of Windows 7 firewall settings from remote machine using 'netsh' commandHi,<br/>I have built a small application which will collect data from remote PCs within the network. In Win 7 PC, by default WMI is blocked by firewall. o, I have to enable that option from remote PC. There is a command (suggested by Microsoft) 'netsh' which can enable any option, but it is not working from remote PC, although there is an option 'netsh -r' for remote PC.<br/>Is there any way?<br/>Is 'netsh -r' command has bug?<br/><br/>//Prasenjit MandalTue, 10 Nov 2009 12:05:35 Z2009-11-19T12:37:48Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/38953071-4630-40ee-af42-72bfff5b84b4http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/38953071-4630-40ee-af42-72bfff5b84b4JVLHOGhttp://social.msdn.microsoft.com/Profile/en-US/?user=JVLHOGHow do I use the ADO in VB10I get a compiler error message when I try todim an adodb.ConnectionSat, 07 Nov 2009 20:23:17 Z2009-11-17T11:37:45Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/399803a5-89f6-47f4-a794-20b599f7b732http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/399803a5-89f6-47f4-a794-20b599f7b732trans007http://social.msdn.microsoft.com/Profile/en-US/?user=trans007Missinng flash.ocx in vista rc1.....Hello i need help about windows vista rc1 build 5600 ...<br>I tried to install my router's software but the autorun could not run because flash.ocx was missing (installing flash player 8 did not solve the problem)<br>In windows xp/2000 the autorun works properly.<br><br>What should i do? plz help me<br>Sun, 05 Nov 2006 13:17:46 Z2009-11-18T07:04:44Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/007e49ef-7253-4528-a82d-980a788aced1http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/007e49ef-7253-4528-a82d-980a788aced1Glyn Harperhttp://social.msdn.microsoft.com/Profile/en-US/?user=Glyn%20HarperLasermouse 6000 scrolls too fast<P>I have Vista RC1 version 6.0.5600 (32 bit) running on a HP Nx7010 laptop with 1 gig ram.</P> <P>I am using a Microsoft lasermouse 6000.</P> <P>The problem is that the wheel scrolls way, way too fast in the vertical direction. If you have a large document, you only have to breather on the mouse wheel and it's zoomed off about 3 pages (minimum).</P> <P>In the wheel options in the mouse settings of control panel, I've got it set to only scroll 1 line at a time, but it's still stupidly fast. It makes the wheel unusable and you end up resorting to dragging the sliders around.</P> <P>Cheers,</P> <P>Glyn.</P>Mon, 23 Oct 2006 15:53:56 Z2009-11-15T22:02:41Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/cc78074d-dca1-4afb-899e-1985648ce5f7http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/cc78074d-dca1-4afb-899e-1985648ce5f7anon0918http://social.msdn.microsoft.com/Profile/en-US/?user=anon0918Vista won't show file version unless extension is changed to DLL, for example<font face="Verdana, Arial, Helvetica" size=2>I posted this on the Vista General Discussion forum, and was directed to the MSDN forums.<br><br>Please try this yourself: rename a DLL to a different extension (such as <br>.asdf). Watch the Version tab disappear under the file's Properties. If you <br>switch the extension back, suddenly Vista recognizes the version <br>specification. Why is Vista ignoring file versions for custom file <br>extensions?? <br><br>We deal extensively with clients using older version of our files, so we <br>need to be able to easily see the versions. <br><br>However, since upgrading from XP to Vista, the file version (accessed by <br>going to the file's Properties and selecting the Version tab) is no longer <br>shown. There isn't even a version tab anymore! If you try adding a &quot;File <br>Version&quot; column in Details view, it also doesn't show up. <br><br>The only way to get the file version to show up is to change the file's <br>extension to DLL. Then suddenly the version tab appears, and the DLL also <br>shows its version in Details view. <br><br>With XP, we never had this problem. If a file had a version specified, it <br>was shown. <br><br>Try it yourself in Vista! Rename a .DLL file to .ASDF and try to find the <br>file's version. Now try it in XP and see how simple it is. <br><br>This happens even under Administrator login.<br></font>Wed, 08 Aug 2007 19:35:21 Z2009-11-14T03:44:35Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/85defe6a-721e-473a-8578-eb7694aacbdchttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/85defe6a-721e-473a-8578-eb7694aacbdcT.Watanabehttp://social.msdn.microsoft.com/Profile/en-US/?user=T.WatanabeSAPI on VistaHello,<br/> <br/> I am having problems with Vista's SAPI 8.0 in inproc/dictation mode, and need some help.<br/> <br/> When recording the recognized WAV audio, I only get a part of the recognized audio, i.e. the recognized audio stream (from ISpeechRecoResult Audio) starts well after the beginning of the audio. Does anyone know why?<br/> <br/> This only happens when the SAPI recognizes a word or phrase registered in a grammar rule set. However, ISpeechRecoResult always has the whole recognized audio stream if a word or phrase not in the grammar rule is recognized.<br/> <br/> Also, does anyone know how to monitor the audio stream (for file writing) even when the recognition is not started (and of course dictation state is active as well)?<br/> <br/> Best Regards,<br/> Watanabe<br/>Fri, 06 Nov 2009 05:18:47 Z2009-11-13T00:26:54Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/983e0736-57ef-4c6a-bb10-cfb2712dde24http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/983e0736-57ef-4c6a-bb10-cfb2712dde24Tim Hodgsonhttp://social.msdn.microsoft.com/Profile/en-US/?user=Tim%20HodgsonLimited User account cannot log on due to error: "could not connect to the system event notification service"<p><font face="Geneva, Arial, Sans-serif">In the test cases, step S12, I executed <span style="font-size:10pt;font-family:Arial"><font size=3>CreateLogousers.cmd which created a number of user accounts, including the limited user account &quot;Logo User 1&quot;.</font></span></font></p> <p><span style="font-size:10pt;font-family:Arial"><font face="Geneva, Arial, Sans-serif"></font></span> </p> <p><span style="font-size:10pt;font-family:Arial"><font face="Geneva, Arial, Sans-serif" size=3>When trying to log on with this limited user account I get the error message <font color="#ff0000">&quot;Windows could not connect to the System Event Notification Service service&quot;</font>.  Please consult your system administrator.</font></span></p> <p><span style="font-size:10pt;font-family:Arial"><font face="Geneva, Arial, Sans-serif"></font></span> </p> <p><span style="font-size:10pt;font-family:Arial"><font face="Geneva, Arial, Sans-serif" size=3>I am the system administrator <img src="http://forums.microsoft.com/msdn/images/emoticons/smile_regular.gif">; but, what the heck do I do to fix this?  I checked newsgroups &amp; the web, but came up short.</font></span></p> <p><span style="font-size:10pt;font-family:Arial"><font face="Geneva, Arial, Sans-serif"></font></span> </p> <p><span style="font-size:10pt;font-family:Arial"><font face="Geneva, Arial, Sans-serif" size=3>Running Windows Vista Ultimate 64-bit (Release version)</font></span></p>Thu, 29 Mar 2007 12:42:26 Z2009-11-12T23:29:21Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/741cb3fe-089f-41e7-8373-c940af355667http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/741cb3fe-089f-41e7-8373-c940af355667DushBopehttp://social.msdn.microsoft.com/Profile/en-US/?user=DushBopeCheck Box<strong>I want a add two chek boxes to my form. which is YES chek box and No chekbox. i need to tick yes Check box , data base must update &quot;Yes&quot;, if i tick No check box database must be &quot;NO&quot;  . how to code this in C#</strong>Thu, 12 Nov 2009 09:55:04 Z2009-11-17T11:40:19Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/c609f41a-e78c-43e6-81fd-1cf76384bb01http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/c609f41a-e78c-43e6-81fd-1cf76384bb01Vian Zhouhttp://social.msdn.microsoft.com/Profile/en-US/?user=Vian%20Zhouconime.exe<P>Hi Oliver,</P> <P>Could you please refer to the&nbsp;thread below?</P> <P><a target="_blank" title="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1097952&amp;SiteID=1&amp;mode=1" href="http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1097952&amp;SiteID=1&amp;mode=1">http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1097952&amp;SiteID=1&amp;mode=1</a></P> <P>Thanks for your help and answer!</P> <P>Vian</P>Mon, 22 Jan 2007 15:13:41 Z2009-11-12T06:43:51Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/f917e335-2b67-43d6-8d29-637fe4c8d370http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/f917e335-2b67-43d6-8d29-637fe4c8d370prakashguruhttp://social.msdn.microsoft.com/Profile/en-US/?user=prakashguruShell Extension Incompatible with 32bit & 64 bit Vista<font face="Verdana, Geneva, Arial, Sans-serif" size=2>Dear Friends <br></font> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>I have written a namespace extension in managed code. It works fine on <br>32 bit windows vista. </font></p> <p><br><font face="Verdana, Geneva, Arial, Sans-serif" size=2>It give me lot problem when I port that to a 64 bit OS. After installation it works fine for some time. after a restart the NSE will collapse. The child objects names are truncated <img height=19 alt=Sad src="http://forums.microsoft.com/MSDN/emoticons/emotion-6.gif" width=19>. I think I have to declare  some int32 vars to int 64. <br></font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>Is we going to change all 32bit int vars to 64bit int vars? <br></font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>[32 bit] void GetDefaultColumn( uint reserved, out uint sort, out uint <br>display); </font></p> <p><br><font face="Verdana, Geneva, Arial, Sans-serif" size=2>[64 bit] void GetDefaultColumn( UInt64 reserved, out UInt64 sort, out <br>UInt64 display);? <br></font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>I am unable to find any samples for 64 bit namespace extensions. </font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif"><br><font size=2></font></font> </p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>Could anyone please give me some pointers on namespace extensions? <br>Is it possible to create an NSE in managed code for 64 bit OS? </font></p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2></font> </p> <p><font face="Verdana, Geneva, Arial, Sans-serif" size=2>Thanks &amp; Regards <br>  Prakash </font></p>Sat, 16 Jun 2007 05:55:23 Z2009-11-12T05:48:31Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/fd8dbb93-e282-45f0-846f-36f8ecf4cb06http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/fd8dbb93-e282-45f0-846f-36f8ecf4cb06Larry47http://social.msdn.microsoft.com/Profile/en-US/?user=Larry47Problems installing MS Office Premium 2003 in Win7I cannot get MS Office Premium 2003 to install on my PC.  It's a Dell Optiplex GX260 with 2 GB ram.  I upgraded from Win XP professional.  So far my experiences with Win7 have been largely.  Not only will MS Office Premium not install but starting up takes 3-5 minutes considerably longer than my XP system.  My primary concern at this point is installing the MS Office Premium.  It gets to the point where it says Installation in Progress ..... unfortunately it doesn't make any progress from that point.  The task manager however says that MS Office Premium 2003 is running!Fri, 06 Nov 2009 20:45:44 Z2009-11-12T02:37:52Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/a7009804-b48d-45da-a666-c5cfd5d381bdhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/a7009804-b48d-45da-a666-c5cfd5d381bdmrrcomp7http://social.msdn.microsoft.com/Profile/en-US/?user=mrrcomp7Reading from Registry in Win7 not compatible.HI <br/><br/>I have VBA code that reads and writes to the registry key. The code works fine on all versions of Windows prior to Win 7. In Win 7 the write is working fine but the read can't open the key<br/><br/>  ret = RegOpenKeyExA(MainKey, SubKey, 0&amp;, KEY_READ, lpHKey)<br/>    <br/><br/>Any suggestions? HELP <br/><br/><br/>Fri, 06 Nov 2009 06:33:56 Z2009-11-16T13:22:59Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/4efc4127-b011-46a6-b2e0-8c51b14152c5http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/4efc4127-b011-46a6-b2e0-8c51b14152c5OlofChttp://social.msdn.microsoft.com/Profile/en-US/?user=OlofCWin 7 logo programHi, <div><br/></div> <div>On <a href="http://www.microsoft.com/windows/compatibility/windows-7/en-us/default.aspx">http://www.microsoft.com/windows/compatibility/windows-7/en-us/default.aspx</a> all win7 logo programs are listed. And customers can also suggest corrections. But how will a suggested correction be handled? Will it be listed in the web side and what is the erquirements regarding this if we get suggestions?</div> <div><br/></div> <div>Regards</div> <div>Marcus</div>Tue, 10 Nov 2009 09:49:03 Z2009-11-16T13:23:52Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/0316c65b-cca0-4c04-a070-f26da0a6a60dhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/0316c65b-cca0-4c04-a070-f26da0a6a60dMitesh Khatrihttp://social.msdn.microsoft.com/Profile/en-US/?user=Mitesh%20Khatrimake folder share and full control ( Permissions ) in vista using vb.netHi,<br/> <br/> I wan to make a new folder in vista machine in C Drive (like c:\Test) using vb.net and make is share and set the full control on this folder for all users. can any one suggest how i do this.<br/> Thanks <hr class=sig> ~Khatri Mitesh <br/> khatrimitesh@hotmail.com <br/> Software Developer <br/> Rajasthan-India <br/> http://www.youtube.com/watch?v=-oJaaPCrk3QTue, 10 Nov 2009 07:53:22 Z2009-11-17T11:38:39Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/bb1f35df-b5e8-48af-98c6-749813fb4f49http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/bb1f35df-b5e8-48af-98c6-749813fb4f49Wallace1_wanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Wallace1_wangI can't receive the message WM_GESTUREI'm developing with Visual Studio 2010 and Windows 7,in my program I can get the message WM_TOUCH and WM_GESTURENOTIFY,But can't receive the message WM_GESTURE. If I don't use the method RegisterTouchWindow() , both WM_TOUCH and WM_GESTURE can't receive.Fri, 30 Oct 2009 06:53:35 Z2009-11-11T00:40:32Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/355bcdac-5126-470c-aee9-7470fa287cedhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/355bcdac-5126-470c-aee9-7470fa287cedTimConnecthttp://social.msdn.microsoft.com/Profile/en-US/?user=TimConnectsigning and logo for 64-bit USB driver on Windows 7I'm a bit confused about how to go about getting a 64-bit driver signed and logo for Windows 7.<br/><br/>Currently I'm running with a self-signed certificate in test mode on 64-bit Windows 7 and all is fine. However, my customers do not want to put machine into test mode, they don't want the warning of installing an unsigned driver, and I want the Windows 7 logo for my driver.<br/><br/>I've read the instructions at:<br/>   <a href="http://msdn.microsoft.com/en-us/library/bb961459.aspx#59264251-8392-4f65-9f4c-2fdbd76a0f6d">http://msdn.microsoft.com/en-us/library/bb961459.aspx#59264251-8392-4f65-9f4c-2fdbd76a0f6d</a><br/>and even though there is mention of support for Win7 there is no mention of being able to use Win7 as a DTM Client System. <br/><br/>One other thing I need to know is what the cost is to go from where I'm at now to the conclusion of having an officially signed 64-bit driver and Win7 logo to go along with it. That also is information that I've been unable to find.<br/><br/>Thanks,<br/>Tim<br/><br/><br/><br/><br/>Mon, 09 Nov 2009 16:33:27 Z2009-11-19T02:12:37Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/cc106630-1d78-4bc4-bdf4-13cde5439677http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/cc106630-1d78-4bc4-bdf4-13cde5439677Neeti Kapoorhttp://social.msdn.microsoft.com/Profile/en-US/?user=Neeti%20KapoorOpening outlook mail item blocks operation on Outlook<span style="font-family:'Lucida Sans Unicode', 'sans-serif';color:#333333;font-size:10pt">I have a C# application that sends out email using Microsoft Outlook. The reference added is - <strong>Microsoft.Office.Interop.Outlook, Version=11.0.0.0.<br/></strong>Now when the mail item gets opened with a file attached to it - two issues arise :<br/><br/>1. Cannot open the attachment. It opens when this mail item is closed/sent.<br/>2. Cannot perform any operation on both - application and Outlook.<br/><br/>The OS is <strong>Vista</strong>. Is this an expected behaviour or some issue with our code ?<br/><br/></span>Tue, 27 Oct 2009 12:46:36 Z2009-11-10T07:33:36Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/793b5e74-8118-43ae-ad1c-748915f81288http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/793b5e74-8118-43ae-ad1c-748915f81288JRQhttp://social.msdn.microsoft.com/Profile/en-US/?user=JRQGetThumbnailImage not applying anti-alias when running on Widnows 7<p>I'm loading a 32x32 icon and scaling it to 16x16 image.<br/><br/>Any ideas?</p>Fri, 23 Oct 2009 21:27:25 Z2009-11-09T21:22:12Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/61239a60-f460-4fa3-bb74-cdba14340f04http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/61239a60-f460-4fa3-bb74-cdba14340f04rick fleischerhttp://social.msdn.microsoft.com/Profile/en-US/?user=rick%20fleischerI haven't found a complete answer for this UAC windows 6,7 question<em>&quot;Even if your application has been signed with the IT strong name that gives it Full Trust, you still cannot ... access certain parts of the ... registry</em>.&quot;  Yes, but<br/><br/>Can an installer, running as an elevated task, create keys under HKLM/software/OurProduct that can be written to by OurProduct, run by standard users without providing administrator credentials?  Can OurProduct create subkeys under HKLM/software/OurProduct (unelevated)?Fri, 06 Nov 2009 00:09:56 Z2009-11-10T13:38:23Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/b0c6732b-fc5d-4e17-9666-ae62b5f38d8fhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/b0c6732b-fc5d-4e17-9666-ae62b5f38d8fSanjaySkhttp://social.msdn.microsoft.com/Profile/en-US/?user=SanjaySkWindows 7 freeze on CallNamedPipeMy application sometimes freezes Windows 7 when it calls CallNamedPipe to communicate with a service. The freeze is such that nothing works and it needs to be rebooted. This occurs on latest build 7600 of Windows 7 64-bit. What can be wrong? The call uses NMPWAIT_WAIT_FOREVER. It worked fine on Vista. I even tried changing to a timeout and loop but the freeze is random. I will appreciate any hints on this.Mon, 09 Nov 2009 07:15:56 Z2009-11-09T12:26:23Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/a0ef1e18-6508-42a9-bb15-bbf15d7fa5aahttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/a0ef1e18-6508-42a9-bb15-bbf15d7fa5aalekfirhttp://social.msdn.microsoft.com/Profile/en-US/?user=lekfirMini Filter Driver and WHQL TestsHello,<br/>Does the WHQL test suites are relevant also to a Mini Filter Driver?<br/>If the answer is Yes, where can I start?<br/>thank!<hr class="sig">lekfirSat, 07 Nov 2009 18:43:36 Z2009-11-16T13:23:29Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/08a57083-45d2-4774-886e-af5d7d1a31cbhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/08a57083-45d2-4774-886e-af5d7d1a31cbNitesh Patelhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nitesh%20PatelWhich WLK version validate the requirement CONNECT-0124Hello,<br/><br/>Then new requirement  'CONNECT-0124: USB kernel mode drivers must use the WDF-KMDF or WDF-UMDF driver model' stated in septemner 15 2009, which versiosn of WLK will validate this requirement and if WLK is not available as of today then when it will be available ?<br/><br/>Which category of test cases will validae this requirement ?  is unclasified or specific to USB class category ?<br/><br/><br/>Thanks,<br/>Nitesh PatelThu, 05 Nov 2009 07:10:59 Z2009-11-05T11:34:56Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/ef5db08c-f108-411a-8917-2d3f64b0270ahttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/ef5db08c-f108-411a-8917-2d3f64b0270aDaniel Pereira - Acumenhttp://social.msdn.microsoft.com/Profile/en-US/?user=Daniel%20Pereira%20-%20AcumenNullReferenceException on RemoveInflatedListener error on WPF application after upgrading to Vista Service Pack 2If installed on a machine with <strong>Service Pack 2</strong> for <strong>Windows Vista</strong> my WPF application throws the following error:<br/><br/>System.NullReferenceException was unhandled by user code<br/>  Message=&quot;Object reference not set to an instance of an object.&quot;<br/>  Source=&quot;PresentationFramework&quot;<br/><br/>For any other OS/Service Pack combination works great including Windows 7.<br/><br/>On the stack trace the first few lines go like this:<br/><br/>StackTrace:<br/>       at System.Windows.DeferredResourceReference.RemoveInflatedListener(ResourceReferenceExpression listener)<br/>       at System.Windows.ResourceReferenceExpression.InvalidateCacheValue()<br/>       at System.Windows.ResourceReferenceExpression.InvalidateMentorCache()<br/>       at System.Windows.ResourceReferenceExpression.InvalidateExpressionValue(Object sender, EventArgs e)<br/>       at System.Windows.TreeWalkHelper.InvalidateResourceReferences(DependencyObject d, ResourcesChangeInfo info)<br/>       at System.Windows.TreeWalkHelper.OnResourcesChanged(DependencyObject d, ResourcesChangeInfo info, Boolean raiseResourceChangedEvent)<br/>       at System.Windows.FrameworkElement.OnAncestorChangedInternal(TreeChangeInfo parentTreeState)<br/>       at System.Windows.TreeWalkHelper.OnAncestorChanged(FrameworkElement fe, FrameworkContentElement fce, TreeChangeInfo info)<br/>       at System.Windows.TreeWalkHelper.OnAncestorChanged(DependencyObject d, TreeChangeInfo info)<br/><br/>If the machine is rolled back to Vista SP1, the application works perfectly. Does anyone have a similar experience with Vista Service Pack 2?<br/><br/>The only reference that I found on the internet about something similar is this: <a href="http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/f416d9cd-9295-4d67-a3f6-89306f2fef03">http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/f416d9cd-9295-4d67-a3f6-89306f2fef03</a>Thu, 22 Oct 2009 15:31:47 Z2009-11-05T10:26:12Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/f8ad24e5-f386-4cbc-a297-a868fc67530chttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/f8ad24e5-f386-4cbc-a297-a868fc67530cNitesh Patelhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nitesh%20PatelUnsigned driver (UsbtoSerial) on windows vista give access denied in nodadmin user<div>Dear all, I have usbtoserial unsigned driver , I have installed on windows vista(x64), and driver installed successfully and it detected com port , i am accessing com port uing CreateFile api. It works fine in admin user or select Run as Admin from non admin user. But it does not work in non-admin user , it gives ACCESS_DENIED (GetlastErrroCode 5). Is it signing issue or somethingelse. please let know if anybody have a idea on this. Thanks, Nitesh</div> Mon, 21 Sep 2009 13:06:48 Z2009-11-05T09:56:10Zhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/839ac8b7-d49c-4ccd-969e-93ddad1970cfhttp://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/839ac8b7-d49c-4ccd-969e-93ddad1970cfSEAN.Nhttp://social.msdn.microsoft.com/Profile/en-US/?user=SEAN.NCannot install catalog file with SetupCopyOemInf() on Vista & Windows 7 - 64 bit<p>I'm trying to install Android phone's driver on 64bit machines (Vista &amp; Windows7), calling SetupCopyOemInf() from my setup.exe.<br/>On 32bit machines, everything works fine, but somehow on 64bit machines, the catalog file is not copied by setupcopyoeminf properly.<br/><br/>Comparing the setupapi.dev.log of 32bit and 64bit, 64bit one is missing the following line.<br/><br/>   inf: Installing Catalog C:\Program Files\***\USB Drivers\androidusb*.cat as: oem*.CAT<br/><br/><br/>If I go to the &quot;Found New Hardware&quot; wizard and point out the correct path to the driver files, it works completely fine.<br/><br/>To test this function, I tried another driver on the 64bit machine, but it worked totaly fine...<br/>The difference between these two is only Android driver contains co-installer, WdfCoInstaller01005.dll, so I'm kind of guessing setupcopyoeminf isn't handling co-installer if OS is 64bit or somethiong... However, on 32bit machines everything works fine...<br/><br/>Does anyone have this kind of issue?<br/>Thanks in advance.</p>Thu, 29 Oct 2009 20:35:42 Z2009-11-16T13:22:12Z