I wrote the following Nant script on my Vista dev machine and was pleased as punch with the output of the Nant zip task, as I can unzip it with any problems:
<zip zipfile="${dir.build}CeoConfigUtilities.${build-version}.zip">
<fileset basedir="${dir.configutilities}" prefix="CeoConfigUtilities">
<include name="**" />
</files...
Hello,
I've been trying to embed an icon (.ico) into my "compyled" .exe with py2exe.
Py2Exe does have a way to embed an icon:
windows=[{
'script':'MyScript.py',
'icon_resources':[(1,'MyIcon.ico')]
}]
And that's what I am using. The icon shows up fine on Windows XP or lower, but doesn't show at all on Vista. I suppose this is...
Having spent a small age looking for the solution and having now found it, I figured this would be good to document for Stack Overflow. So my answer will follow right after this question.
I was using Borland C++ Builder 5. This probably also applies to the equivalent version of Delphi. I had a form with a TButton on a TPanel. The bu...
I have a WinForms .NET app that, according to the Vista Task Manager with UAC enabled, runs with virtualization "Disabled" even though I do not recall adding a manifest with "asInvoker" to the app. VS.NET (this project has gone through all four versions of VS.NET) must have added the \Properties\app.manifest file I see in Solution Explor...
I'm trying to write an application that responds whenever the Shift key is pressed, no matter what application currently has focus.
I tried this with SetWindowsHookEx() and with GetKeyboardState(), but both of these only work when the application's window has focus. I need it to work globally.
How do I do this?
...
I have a web application that I've always been able to run in Visual Studio and it debugs just fine (breakpoints work, I can pause execution, etc). Recently, the behavior changed suddenly, and a few things happen:
I start debugging, it lauches IE and loads the application, but after a few seconds (sometimes the page hasn't even display...
Hello,
I am trying to write a system restart Task for Windows Vista. I'm a web developer by trade so I'm a little out of my element here. I have got into my OS and discovered Task Scheduler.
So far I've been able to set up some various tasks to run small WPF programs by calling the *.exe files. What I really need to do is set up a sys...
Besides the obvious fact that there's no sidebar in Windows 7, are there any differences in the way gadgets are put together? Anything I should look out for / resources I should read through?
Thanks!
...
[I'm sorry that this isn't directly a programming question. But I have recently switched to a new Vista machine where I am keeping UAC enabled (please don't tell me to disable it, it's not an option).]
Every time I run gnu's patch.exe I get an elevation dialog from Vista. If I rename patch.exe to foo.exe it does not do this, so I assume...
I'm writing an application that communicates with the serial port to control a device. The development environment is on a virtualized Windows 2003 R2 machine hosted on a Windows Vista machine. When I try to map the COM ports through virtual PC so they can be use in the virtual machine, I get the following error right after the machine...
Is there any way to programmaticly disable a device? (preferably in .net, win32, or batch).
Most hits on google suggest using devcon but it does not seem to be working on Windows Vista/7 64bit.
http://stackoverflow.com/questions/252185/-net-how-do-i-disable-a-system-device has a solution using SetupDiSetClassInstallParams but it also d...
I'm working on a Django project that's slated to be using Satchmo for its e-commerce aspects. I'd like to install it on my Windows Vista machine but some of the cPython modules it needs can't be compiled or easy_installed.
Has anyone been able to get Satchmo working on Windows, and if so, what additional steps does it take over the ins...
I'm using InstantRails (on Vista), and I'm at the stage where I'm looking to integrate a Rails app with PayPal (recurring billing via web payments standard - no ActiveMerchant needed). What is the best step-by-step process for enabling HTTPS for my local development/testing purposes?
I'm using the default Mongrel/Apache setup that comes...
Hi all,
I want to kill a process programmatically in vista/windows 7 (I'm not sure if there's significant problems in the implementation of the UAC between the two to make a difference).
Right now, my code looks like:
if(killProcess){
System.Diagnostics.Process[] process = System.Diagnostics.Process.GetProcessesByName("MyPro...
Hi,
I am trying to setup a batch file to copy files from my XP laptop
to my Vista desktop on a workgroup network.
But I am getting a Access denied error. Same in a command prompt.
I can copy the files fine using Windows Explorer.
Any ideas please?
Malcolm
...
I'm using Billy McCafferty's rather excellent S#arp Architecture. Everything was spiffing and running very quickly.
I then updated to the the latest ASP.NET MVC RC. This meant I had to get the latest trunk of S#arp.
Also, two weeks ago, I updated from XP to Vista (32 bit)
My problem is that the performance has suddenly become woeful...
My question is a slight variation on the question What is the best way to test whether a file exists on Windows?, with some specific caveats. Specifically, the data is located on a mapped drive, and the SMB 2.0 protocol is used. (By definition, this requires that the drive be mapped from a Vista machine to either a Vista or Server 2008...
I've been facing a problem that can only be described as weird for the past couple of days, while trying to install .NET 3.5 SP1 on my x64 Vista Ultimate. The problem first started while trying to install Visual Studio SP1, which I had installed before on the same machine without any issue, giving me a scrambled screen followed by a Blu...
I really like when you hover over a window in Vista on the taskbar and it gives you a little preview. if it is video it even plays in the thumbnail.
Often I really wish I could 'tear off' this little window and keep it as an 'always on top' thumbnail on my screen. Maybe its a progress bar I'm watching, maybe its a video i want a littl...
I would appreciate any help with this problem, I have spent hours trying to diagnose it myself to no avail and haven't received a single response when posting it to the Netbeans user list and the bugs list.
Netbeans is an excellent IDE, and I have loved it since switching over from Eclipse a few months back. I do Java on Unix and Win32...