windows-vista

Is it possible to build exe on Vista and deploy on XP using py2exe

China☆狼群 提交于 2019-12-04 03:45:58
I have created some program using python on Windows Vista. But I want to deploy it on Windows XP. Is it necessary to make new build on windows XP? Or there is possibility to make build that will work on both of these systems? EDIT (EDIT 2 - very simple program does not work also): My setup: from distutils.core import setup import py2exe setup(console=['orderer.py']) Using dependency explorer i checked that dependencies are: msvcr90.dll kernel32.dll +ntdll.dll Almost solved: I figured out that installing: http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d

Clicking mouse by sending messages

不想你离开。 提交于 2019-12-04 03:23:06
问题 I'm trying to send mouse clicks to a program. As I don't want the mouse to move, I don't want to use SendInput or mouse_event, and because the window that should receive the clicks doesn't really use Buttons or other GUI events, I can't send messages to these buttons. I'm trying to get this working using SendMessage, but for some reason it doesn't work. Relevant code is (in C#, but tried Java with jnative as well), trying this on Vista [DllImport("user32.dll", CharSet=CharSet.Auto)] public

How do I set up smtp on Vista so I can use System.Net.Mail?

北战南征 提交于 2019-12-04 03:21:30
From what I understand there is no SMTP server in IIS on Vista. I am working on a project which will require me to send email. I'd like to start with some simple prototypes on my development box which is running Vista Ultimate. I'm not connected to a corporate network where I can just use an exchange server someplace. I realize that there are several smtp servers that I can install, but I'm not sure what to do once I install one. I know how to write the code to send the email, but I don't know what kind of configuration needs to be done to use the smtp server. What I'd like is a clear

What could cause redraw issues on 64-bit vista but not in 32-bit in .NET WInForms?

↘锁芯ラ 提交于 2019-12-04 03:16:04
This happens when compiling for Any Cpu as well as compiling to x86. Sections of the GUI doesn't redraw unless it's resized, for instance if the main form is maximized some of the controls don't resize with it, and others have sections that don't redraw and displays the what was previously there. This works fine on 32-bit machines, both XP and Vista, but on 64-bit Vista (don't have x64 XP to test with) the redrawing just isn't working properly. Anyone have any ideas on where to start tracking this down? Edit: This occurs on 2 separate machines, and at least the one I'm currently on has the

Why would our Java app not display windows on secondary monitor?

ぐ巨炮叔叔 提交于 2019-12-04 01:34:38
We have a Java/Swing client that's been around for quite a few years. When I moved from XP to Vista (client ONLY runs on Windows), I noticed that whenever a new window is created (usually a JFrame descendant) on my secondary monitor, the window initially shows as blank, i.e. instead of showing the normal contents of the window, it's just a solid block of gray. If I then drag that window onto the primary monitor, the second it crosses the monitor boundary, it draws itself properly and I can drag it back to the secondary monitor. If the window is created on the primary monitor, it always comes

How to run application with Admin privileges using Manifest file in Visual Studio 2005?

倾然丶 夕夏残阳落幕 提交于 2019-12-03 23:32:40
I need to create an application which needs to create files/folders in "C:\Program Files","Users[username]" and Sys32. Also the application needs to make some registry entry. This application needs to work on Vista and higher. Also, on Windows Server 2003 and higher. The above Operating Systems have the concept of User Account Control (UAC), where to access Program Files and writing in registry requires admin privileges. I looked into many forums and found that using Microsoft SDK we can check whether the current user have admin privileges or not . But the function "CheckTokenMembership" fails

Access to external window handles

ぃ、小莉子 提交于 2019-12-03 22:16:00
I am having a problem with the program I am currently working on. It is caused by the increased security in vista/Windows 7, specifically the UIPI which prevents a window with a lower integrity level 'talking' to a higher one. In my case, i am wanting to tell the window with a high Integrity level to move into our application, It works flawlessly on XP or windows 7 with the security off. I have tried setting the HWND of the higher IL window directly, rather than using the findwindow() function, this works fine but the program then fails when trying to move it or generally interact with it. The

Debugging javascript in Safari for Windows

删除回忆录丶 提交于 2019-12-03 22:06:25
Is there a way to debug javascript using Safari 3.2 in Windows Vista? I found a link to a debugger named Drosera but I can't get it to work because the information seams to be outdated. Well, apart from the Error Console that can be opened from the Develop menu (which in turn can be enabled in (Prefences / Advanced / Show Develop menu in menu bar) there aren't many javascript debugging options in Safari AFAIK. Still, the error console is quite useful as it shows javascript errors and also lets you to execute arbitrary Javascript statements. Since you are on Windows anyway, you could try using

Localhost not working on XAMPP - both service apache & mysql are fine

萝らか妹 提交于 2019-12-03 21:01:00
My xampp installation 1.7.1 does not seem to work. http://localhost returns not found error. Xampp Control panel shows both mysql & apache service running fine. I'am on windows vista. Frustrated since past 2 weeks to find a solution to this. Any pointers and support will be appreciated! Thanks a ton folks. I struggled for days figuring out why I was getting a blank screen while using xampp. The cultprit was skype. Always turn of skype when you want to use localhost. le dorfier In your "xampp" menu group, one of the items is "Port Checking". If I run it, I get: *********************************

Tool for exploring Windows Vista Audio device chain (tree?)

淺唱寂寞╮ 提交于 2019-12-03 20:47:38
The new Vista Audio subsystem is set up to be a chain of devices starting with the inputs, going through all the various controls (like mixers and volumen controls) and then ending up at various endpoints (like speakers or headphones). My question is: Is there a tool out there that will show all the endpoints devices in the system, and what devices are chained together? Ideally, it would diagram the topology, showing what inputs where connected to what outputs, and you would be able to see all the properties for each part of the audio system. David Phillips Larry Osterman (one of the Vista