windows-vista

Vista User Access Controls with cx-freeze/python script

I'm trying to build a python script and freeze it with cx-freeze but with Vista User Access Control support. As it stands my script runs fine under Server 2003/Win XP, however I need to be able to write files into the root of a drive which requires elevated privileges under UAC. My compiled script is then executed by another process (s...

How to cope with “... failed to start. Veryfy that you have sufficent privileges..."?

:( i can't install my msi file because of that. does anyone know why is that? ...

Flickering UI problems - what causes the DWM in windows 7 to decide to refresh immediately upon calling SetWindowPos?

I have a custom tabbed style control, and internally it works by showing or hiding the relevant page when you click on a tab. The basic order of things that happen when you click a tab is Bring relevant page to front Show relevant page (by calling SetWindowPos with the appropriate flags) Hide the old page that we just covered up Repai...

Word is trying to recover

Hi, We are currently processing big word documents in c# program. During processing i am getting message "Microsoft Windows has stopped working". The program reads the word document based on the comments added to the document and processes the images and other text in the document and also creates lot of independent word documents with ...

Create Process with FS Virtualization Enabled

With UAC disabled, I need to create a process with the same characteristics as the process created with UAC enabled - basically I'm emulating process creation with UAC enabled. My only roadblock is virtualization. The sample code below should create an instance of notedpad at medium IL with virtualization enabled. In actuality, it cre...

Can Windows Vista+ Sidebar Gadgets display web pages?

I'm trying to make my Gadget html to navigate to another page, but when I try to do it via window.location = 'http://newurl.com' It opens the address in a default browser new window. All I could do so far is to iframe the page in the gadget html (in the flyout html it didn't work), but the site I'm trying to frame has a frame detecto...

Is there any way to add a program requiring Administrator Rights on Windows Vista/Seven to autorun?

My program asks user if he wants it to be added to autorun, and it requires administrator rights to perform its code properly (level is set to "requireAdministrator" through manifest). However, after adding it to autorun through registry, Windows Defender blocks its start on system start-up due to it requiring administrator rights (as i...

Why don't QLocalSocket/Server connections work when one process was invoked by an NSIS installer?

I have an NSIS installer that installs my Qt application. At the end of the install process, the installer gives the user the option to launch the application immediately. My application uses QLocalSocket/QLocalServer to talk to other local instances of the application. (They talk to each other basically just to ensure that there's only...

After uninstall the program data file remain same as before in Vista

I have developed a win form application with .NET 3.5 and C# in Visual Studio 2008. This application using Microsoft Access 2003 file as database. My development machine have Windows XP installed. When I've completed the development of the application, I've created setup project for this, which is keeping the database in windows Common ...

What is causing one Vista machine to be 10 times faster than another machine?

We run a Fortran console program we have run for years. Recently we purchased identical new HP server class machines (4 processors, 8 gig ram, 4 hard drives) for everyone in the office. We configured them identically as nearly as we know. We can compile the Fortran program on one machine, pass the executable to the different machines,...

How can I make RDW_NOERASE (RedrawWindow) work in Windows Vista?

I am trying to draw behind the desktop icons and didn't manage to do it. Then I found out that the RDW_NOERASE flag used in RedrawWindow is disabled in windows vista. I tried to start the program in xp compatibility mode and with administrative privileges. I does not work. The code is ok. I tested it in xp and it works perfectly. ...

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

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...

Can I use SAPI 4 on Windows 7?

The problem with SAPI 5 is that I can't find any free Portuguese (Brazilian) voices; plus, I need to distribute the speech engine along with my program, so the paid alternatives would be way too much expensive. Is there any way that I can use and distribute the SAPI 4 engine and voices and make it work in Windows Vista and Windows 7? ...

Run as administrator in win vista and win 7

I am working on a IE addins my adding workes on XP but on vista when I run IE as administrator it works fine but without run as administrator it shows some exception. How to resolve it Plese suggest thnaks in advance ...

How to cope with Install error 1920 about winsxs merge modules in Vista and 7?

Hi all, When I try to install my msi package I get an error only in Vista and 7. "Error 1920. Service ... (...) failed to start. Verify that you have sufficent privileges to start system services" I get this error in Vista or 7 if I build my setup with C++ 9 CRT Winsxs MSM merge module If I use C and C++ 7 runtime libraries it doesn't...

booting from a Windows Vista drive that used to be C drive but now in a USB case

Hi I have upgraded my laptop with a solid state drive and Windows 7. I still have the old Vista install on the old hard drive. I would like to be able to boot up from the old hard drive without having to swap out the two hard drives in the laptop. I have put it in a usb case and selected it as the boot drive. When I start the system...

AQtime not working properly on windows vista / 7 with multi-core processor

Hi, I'm tryin to run AQtime (v5.45), as preformance profiler under windows vista or 7 on my multi-core laptop but it seems that the program is not working correctly, he does not show any routine and seems to throw an exception when trying to call InstallCustomModule in clr.dll, i tried to install a demo version of AQtime 7 which is work...

Dropping a file onto a script to run as argument causes exception in Vista

edit:OK, I could swear that the way I'd tested it showed that the getcwd was also causing the exception, but now it appears it's just the file creation. When I move the try-except blocks to their it actually does catch it like you'd think it would. So chalk that up to user error. Original Question: I have a script I'm working on that I...

Silverlight 4 website dies on Internet Explorer 7 on Vista

Hi All, Ive had a quirky issue brought up by one of my website users. They are running Vista and with IE 7.0.6. When they open up my Silverlight website it seems to download the XAP correctly but once the XAP has finished downloading IE just dies/crashes. Just wondering if anyone has seen this problem before and has any advice? Thanks ...

Oracle 10g and Problem on Vista with visual studio 2010 installation

I am havng the following problem after installing oracle 10g on vista machine and running an asp.net application. Rather strange: One 2010 project on the same machine using the same database is able to work but the other that was converted to 2010 recently isnt working on the same machine. The error is : OCIEnvCreate failed with return...