windows-7

IWDFDevice::CreateWdfFile returns ERROR_INVALID_FUNCTION?

Hi, I am writing a UMDF sensor driver for a device that connects to the system via Bluetooth and is accessible as an HID input device. I saw the "Sensor Development Kit" sample driver and noticed that it works with the Freescale hardware via HID also though it connects to the system via USB. Is there any difference in the way the UMDF...

How install LINQ Preview May 2006 on windows 7?

I have Visual Studio web developer Addison , Visual Basic 2005 Express Edition, Visual C# 2005 Express Edition and Visual Web Developer 2005 Express Edition installed on my system. My operative system is a Windows 7 When I start the installation of "LINQ Preview (May 2006).msi", I get the next error message: "Cannot find a valid Produc...

Ajax scheduling not working for Win 7 clients

First off, I am not a programmer at all. This question is from a client perspective. A website I frequent uses ajax to instruct client browsers to send and XMLHttpRequest to check for updates of new posts to the forum. I am using Firefox 3.5.7 with JAVA build 1.6.0_17-b04 and the same version of flash, etc. One system has Windows XP, t...

The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly

I am getting repeated errors about the ReadOnly property on performance counters whenever I try to debug a .NET windows service app. This app works fine on x86 windows vista, or x86 windows 2003. It's just stopped working on my new 64bit dev machine. I've run the relevant InstallUtil invocations on 64bit and 32bit command line VCVARS.b...

Code Blocks with GCC compiler compatability with Windows 7

Is the latest binary release of Code Blocks with MinGW setup compatible with Windows 7? If not, is there any way to fix this, or any good alternatives ( via switching to a different compiler, different IDE, or both depending on the problem ). P.S. For those who have used CodeBlocks, will switching IDE's or compiler change the file forma...

WMDC not starting?

Hi all, I am trying to start windows mobile device center on windows 7 machine. But it only shows me the small green window that is shown at loading time and then it is closed automatically. I am not getting what the problem is. I tried to uninstall the previous update then re-installed again but the problem is not gone. Guys please h...

Sharepoint edit task from outlook on windows7

I have sharepoint approval workflow on Moss2007. Windows XP users are able to approve the task from their outlook. But in windows 7, outlook would not open the task edit form at all and no error message either. is there anything need to be turned off/on in windows 7 outlook in order to approve an item from their inbox? ...

Need to Unlock Win7 Desktop from C#.

Hi , I am working on some Automation Project where one needs to perform some action related to display resolution.Change the Display resolution , Lock the Desktop and then Unlock Desktop again to check that resolution remained same. I am able to perform LockWorkstation but unable to have any thing for Unlock Workstation. Can any body h...

python windows vista/7 uac and copying (only reading) files? permissions/interaction of UAC?

I'm currently making a program for a lan center that scans a users hard drive, and copies/archives certain save game files into a zip and uploads them to a FTP server. But I've created a lot of the program at this point and just had a major issue that I had not tested for spring to mind: How does Vista/7's UAC permissions account for c...

Testing Software on Windows 7. Install vs Virtualization

Hello We want to test a software we develop on XP on Windows 7. We have Vista installed on a PC. But we would like to avoid installing Windows 7 and rather run it in a Virtual PC or VMWare. Questions: Q1: Is it possible to run Windows 7 in a Virtual PC or Ware ? Q2: Is it possible to run a 64 bit Vista or Windows 7 in Virtual PC or V...

Programatically enable / disable multitouch finger input?

I have a multitoch-enabled tablet PC running Windows 7. However, when using the stylus pen and getting too far away from the display, I often accidently hit it with my fingers which causes unwanted mouse-clicks. The solution is navigating to "Control Panel - Pen- and Finger Input - Finger Input" and deactivate the checkbox "Use the fin...

msbuild calling powershell script under windows 7 gets signing error

We have a powershell build script that calls out to other scripts that is giving me trouble under Windows 7 64 bit. It works fine under XP. I've run set-executionpolicy to RemoteSigned (and also tried it with Bypass and Unrestricted). I can pull the command line from the error message and run it myself and it all runs fine. Build err...

WCF on Windows 7 not working

I am using an example from iDesign about one way calls. I can get it to work on a Vista machine (VS2008) but not on a windows 7 machine (VS2010). I get this error: HTTP could not register URL http://+:8001/MyService/. Your process does not have access rights to this namespace ServiceHost host = new ServiceHost(typeof(MyService)); host...

launch4j exe has nothing to say for itself, anyone got a suggestion?

Running on Linux, I've used launch4j to package an exe. I copy the exe into my Windows 7 VM, and run it. And nothing happens. I run it with --l4j-debug, and nothing still happens (at least, if there's a log file, I cannot find it). Is there some diagnostic technology that I'm missing here? ...

WPF Controls disappearing in Windows 7?

We have a system built using WPF and have (until recently) been developing using Visual Studio 2008 SP1 and Windows XP SP3. We have upgraded some of our development boxes to windows 7 and we have discovered we are getting some unexpected behaviour when running our applications. Some controls do not display at all. Has anybody else exp...

ASP.NET page will not start on IIS7 on Win7 x64

Hi, I try to run a simple "Hello World" ASP.NET web site on my system, but te page does not start (it is not accessible via "localhost/virt_dir/default.aspx"). I have reinstalled framework, run the aspnet_regiis.exe -i command, .... I don't know where is the problem ... :S I have been able to publish the same web page on winXP usin...

Saving Excel Add-In in Windows 7

I have an Excel add-in I am developing that works fine in Windows XP. However, I just got a hold of Windows 7 Professional and now I cannot save this add-in, either manually from the VBA Editor or programmatically using ThisWorkbook.Save. The error message says "Micrsosoft Office Excel cannot access the file 'C:\Program Files\Microsoft...

Visual Studio 2008 and Windows 7 render text differently

I have attached a screen shot : http://i.imgur.com/tU05T.png I have checked my DPI settings. they are 100%. I cant seem to find out why the test would be a differnt font size in the runtime application vs the designer.. Can anyone assist. I have tried googling, have have not come up with any meaningful links.. ...

Copy and paste problems with Word 2010 and Windows 7

I have a program which is able to exchange data with MS Office applications, via the clipboard. This works fine in Office 2007 and Windows Vista/XP, but fails with Office 2010/Windows 7 IDataObject *d = NULL; HRESULT hr = ::OleGetClipboard(&d); if (hr == S_OK) { FORMATETC formatEtc; formatEtc.cfFormat =...

Displaying complete context menu in windows 7 library folders

When browsing non-special/standard folders in explorer (windows 7), I have various custom right-click context menu options such as: "Open command window here" (shift+ rightclick) TortoiseHG WinMerge ...etc... The problem is that these options do not come up in the context menu when navigating library folders (such as Documents/My Do...