windows-7

Sending mouse events to another windows, C# under Win 7

Is there a way to send mouse events to another window in Window 7 ? I used to do this : [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern void mouse_event(long dwFlags, long dx, long dy, long cButtons, long dwExtraInfo); But this does not seem to work anymore in ...

How do I intercept Windows key under Windows 7?

Greetings, I've implemented a low-level keyboard hook as described here. This works fine under WinXP. Problem is, under Windows 7 the left and right windows keys are no longer intercepted. Any suggestions as to how to recapture these keys under Windows 7 greatly appreciated! Cheers, Rony ...

How can i get this kind of window?

In eclipse you can detach tabs and they will displayed in a special kind of window. Win7 with aero displays it as follows [new users aren't allowed to post images] How can i produce this frame? i have tried many styles of JFrame,JWindow,JDialog, ... ...

Why does SetOverlayIcon throw an 'Invalid cursor handle' COMException occasionally?

In my VB.net Winforms application I'm using the ITaskbarList3::SetOverlayIcon interface to set status overlays on the application's taskbar button (under Windows 7). This all seems to work fine for me, with the icons being shown and removed correctly. From the form load event, one of my functions makes the call SetOverlayIcon(parentFo...

Delphi 2007 and Windows 7: Debugger fails to stop host application.

I'm running Delphi 2007 with Windows 7 Ultimate. The code I'm working on compiles to a DLL file. To use Delphi's debugger I launch a standard EXE application via Delphis' Run command. The application loads the DLL file and the debugger is automatically attached to the correct process. The problem occurs when resetting the host applica...

Windows7 Registry change Shell\Open\Command not working

hi, I have change registry settings to list a drive like folder in MyComputer by following the steps in http://www.virtualplastic.net/html/ui_shell.html#attributes In HKEY_CLASS_ROOT, I have added the following line, RegWriteStringValue(HKEY_CLASSES_ROOT, 'CLSID{My ID}\Shell\Open\Command', '', 'explorer /n, D:\Test') I have added s...

IE8 on Windows 7 - Link To MSI causes about:blank to open as well.

I'm maintaining an intranet page with installation instructions. Annoyingly in Windows 7 / IE8 when I click on a link that contains an MSI the page jumps to about:blank - this didn't happen in XP! The href part is below, I tried target=_blank but no joy!. href="subffolder/amis.msi" ...

Run managed code on secure desktop

I am working on creating an application which must interact with the user on the secure desktop (i.e. locked computer screen), but does not specifically provide authentication. From my research, it seems that the only way to get code running on the secure desktop is to use the Credentials Provider API. However, you can only write a crede...

Cookie Issue. Redirecting from trusted site to non trusted - IE 8 protected mode stays off

Does IE8 have a problem determining what protected mode state the resulant site should be in when following redirects? We are seeing this situation when using IE8 on windows 7 in an enterprise environment. Note: Server A is a secure site and is listed in the users trusted sites list. Server B is also a secure site but is not listed ...

[C#] Unregistering the Alt-Tab hotkey in Windows 7

I think this problem should be easy to solve, and I'm bringing it here because I really feel like I've looked everywhere for a solution. My code is written in C# and should simply over write the Alt-Tab hotkey. This line works in XP but return false in 7: RegisterHotKey(handle, ID__ALT_TAB, MOD_ALT, VK_TAB)); I know that Windows 7...

ie8 win7 background image bug vs ie8 on Vista

Hello, I've got an annoying bug that I just can't solve and after fiddling with it for several days I need some help. I'm working on a portfolio site and the site displays fine in all browsers. That is, on my desktop that runs Vista. Checking the site on my netbook which runs on Windows 7 showed an annoying thing: IE8 keeps reloading t...

Create SP 2010 List from Excel 2010 Worksheet

I have a user who wants to create a new SharePoint 2010 list from his Excel 2010 Spreadsheet. I have no problem performing this ( my config is XP SP3, Office 2010 Prelium Plus). But whem he tries, he gets a popup window Titled "Message From Webpage" with the error "An unexpected error has occurred". His configuration is Windows 7 64Bit...

MFC CTreeCtrl node (a ComboBox in this case) does not seem to lose focus in Windows 7

My application uses MFC CTreeCtrl. One of the nodes of the tree has a ComboBox control of DropDownList style. In Windows 7, if we were to select an option from the ComboBox dropdown and then click on another node of the tree, the new node gets highlighted but the focus remains with the CComboBox control! I don't see this behavior on Win...

Windows Seven seems to leave behind unwanted remnants in a virtual directory

I am working on a java application that targets both mac and PC. Recently I discovered a strange problem with Windows 7. My application has a projects directory that is not uninstalled by my uninstaller. Recently I uninstalled the application and then manually deleted this projects directory, then reinstalled the application. When I ...

Combine Windows in Win-7 style

Is it possible to combine two dialogs on taskbar in windows 7 fashion, if one of them is an unmanaged window. For example - I have a setup project and CustomActions library written on managed code. I'm opening a form in my CustomInstaller class. I know it's sounds crazy, but I suppose there is a way to combine them together on the taskb...

Why can't I test the return code in Windows 7?

I have a very complicated program that is failing, and I've simplified it to this test set with a batch file and C program. My C program uses ExitProcess to pass back the errorlevel to a batch file. Sometimes on Windows 7 (Microsoft Windows [Version 6.1.7600]), the errorlevel is not being interpreted correctly. I think this should run ...

How do I get a windows border like this in Tkinter?

Is there any way to get a border like this in Tkinter? Notice how it lacks the buttons on the top right. Also I don't want this program to show in the task bar. This is in windows 7, btw. ...

Can I run a native OS installation as a virtual machine OS?

I am using win7. I wish to use Fedora on my machine, but don't know just how much I will be needing either of my OS. I wish to install Ferdora and configure it as a dual boot system. At the same time, when time calls for it, I want to run the same Fedora installation as a virtual machine on top of win7. Is there a way to do it? ...

Randomly crashing .net app in kernelbase.dll, running in 32 bit on Windows 7 64 bit

We have a customer running our 100% .NET product on a W7 64 bit machine. The app explicitely targets x86 so runs in 32 bit mode. On the customer's machine we get random crashes in kernelbase.dll. Sometimes it crashes even by just moving the mouse over the app. On other W7, 64 bit machines it runs ok. Any clues on how to approach this? M...

Windows 7 Service differences between local system and local service

Hi, I have a rather complicated toolchain so prepare for a lengthy post until getting to the problem: I managed to get PDFCreator and a virtual PDF creating printer under Windows 7 running in server mode as a service. Next step in the process is PDFCreator calling a VBScript after the PDF is created. The script uploads the PDF to our s...