I created an .exe using AutoHotKey. I created it in Windows XP. I've pushed it to some other users who are using later versions of Windows (Vista and/or 8). The .exe is not working in their systems. I don't see any activation of windows or any keystroke functions.
The .exe is opening windows and inputting keystrokes in XP.
Thank you
You have to run AutoHotKey under the Administrator account. See explanation in this article, AutoHotkey cannot interact with Windows 8 Windows…or can it!
Related
Hey all I am trying to figure out how to set the WebBrowser control in my windows form to emulate IE9 or IE10 under Windows 8.
Currently, when I use the webbrowser control on my form and load up a website it tells me:
Your browser, Internet Explorer 7, does not support the advanced...
However, going to that same site with just the normal IE10 browser shows the page just fine. I also double-checked the IE9 compatibility using the Developer tools within IE10 to emulate IE9 standards and that also worked.
I also tried adding my EXE file name to the registory:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\
Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION
For 64 bit Windows 8 but that doesn't seem to have any effect on it when I run the program.
Any help would be great!
FIXED:
Using vbTestProg.exe for the build EXE
Using the vbTestProg.vshost.exe for the Debug inside VB
If you're application is a 64bit application, or compiled for AnyCPU and running on 64bit Windows, you need to set the emulation setting in:
HKEY_LOCAL_MACHINE\SOFTWARE\
Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
(Without Wow6432Node.) The registry location you specified is for 32bit applications running on 64bit operating systems.
Does anyone know which windows-APIs are used by the explorer.exe to find the files of a directory?
In Windows XP it used FindFirstFileW() and FindNextFileW(), but on windows vista and 7 the explorer does not use them anymore...
The newer Windows versions automatically sort the Files in a Folder when opening them.
It is possible to restore the old behaviour.
A description how to do that is here
I have created an application with VB 2010. My computer runs under Windows Vista. I created the .EXE file as well; simulated an installation and everything works fine. But when I try to install the application in a computer that runs under Windows 7, I get an error message and the application won't install. How can I get the application to run under Win7?
You want to be sure you have the .NET Framework installed on the PC, since VB.NET (and C#, etc.) use the .NET Framework to interact with the CLR, which is not included with Windows by default.
You can either set-up your installer to install the .NET Framework on its own or download the framework separately.
Hey all i am trying to find some code that would allow me to run a program with administrator rights and also windows xp sp2 compatibility mode. But i have not yet found any code to do that using VB.net
Any help/links would be great! Thanks!
David
If you don't have to pass command line params, you can create a shortcut to the exe, and set it to compatibility mode and admin there. Then just ShellExecute the shortcut.
I developed an application for a local company that required printing a chart and some data. I made the program on a Windows 7 machine using the PrintForm control. It printed just fine and I sent it to the company, but they are running it on WindowsXP and the program is crashing. I assumed that PrintForm would work on all Win operating systems but apparently that is not the case?
If there is something special that needs to be done to get PrintForm to work on XP that would be fine (downloading a lib file or something), but otherwise what is the best way to print out a VB.NET form on Windows XP?
Thank you!
My guess is they don't have the Microsoft.VisualBasic.PowerPacks.VS.dll on their PC's. You need that to be included in your deployment project so they can call PrintForm.
I don't think this is unique to XP though. According to MS, this has been a feature ported from the early VB days.