windows-7

How do I get rid of broadcast routing entries to the link-local (169.254.x.x) address range in Windows 7? These cause UDP broadcast problems.

I've been having problems with a third-party application that uses UDP broadcasts to configure some propitiatory networked hardware and I think I've worked out what's going on. It seems that all outgoing broadcast packets are being lost because of bunch of entries in my routing table that route broadcast packets to a non-existent link-lo...

Modal dialogs opened by a fullscreen OpenGL window on Windows 7 are not showing.

Hi, It seems that my problem may be the same as an unanswered related question (OpenGL with GLUT on windows 7, fullscreen mode not showing the message box). Since I switched to Win7 as a development environment, and a possible target platform for my applications, I noticed a regression in their behaviour. Whenever I have a fullscreen ...

How to programatically retrieve the "Location" as displayed in the Regional and Language Settings?

Hi, How can I programatically retrieve the "Location" as displayed in the Regional and Language Settings? ...

Windows7 WAMP 64-bit stack MySQL problems

By using this guide here -> http://www.elxis.org/guides/developers-guides/64bit-apache-php-mysql-windows.html And hacking through the errors and issues that came up, I've got an apache, php, and MySQL stack almost working on Windows 7 - all 64 bit. PHP and apache are working just fine, and phpinfo tells me that mysql support is enabled...

MAPI Windows 7 64 bit

I've got a legacy application that creates an email message with an attachment. The code uses the MAPI interface to create the message. This code has worked for quite some time. When the application is run on a Windows 7 64 bit machine, the call to MAPILogon fails with a generic error code. Is there an incompatibility with MAPI and Win...

How to collect the new "Applications and Services Logs" found on Windows 7 or Windows Server 2008 using WMI?

In Windows Server 2008 and Windows 7 there are new Events categorized under "Applications and Services Logs". There is also a subfolder called Microsoft which has tons of subfolders as well. Is there any way to collect these events through WMI? For the regular "Windows Logs" such as Application and Security, it is possible to use the Wi...

How can I avoid my web browser from redirecting to localhost using WAMP in Windows7?

I'm currently using Windows 7 with WAMP to try and work on some software, but my web browsers will not accept cookies from the "localhost" domain. I tried creating a few bogus domains in my hosts file by pointing them to 127.0.0.1 but when I type them in I am automatically redirected back to localhost. I have also configured virtualhosts...

document.open ignores window features in .HTA on Windows 7 when url is local intranet

This code open(sUrl,'','width=791,height=550,left=800,top=0',true); works as expected from a .HTA on XP/IE8. It also works as expected from a .HTM on XP/IE8 as well as Windows 7/IE8 However IF sUrl points to a site listed in IE's Local Intranet Security Zone when used in a .HTA on Windows 7/IE8 it then opens sUrl but it does so in a de...

Client Certificate installed in IE8 on Windows 7 doesn't work - 403.7

We have configured IIS 6 to accept client certificates and have installed the certificate services on our server. When we go to http://[our site]/CertSrv and request a Web Browser Certificate (client certificate) from IE7/8 on Windows XP and Vista and Windows 7, then issue the cert on the server certificate authority manager, all combin...

ANT delete task and Windows 7 UAC permissions

When I do a simple delete of the contents of a folder, I get an error: <delete includeemptydirs="true"> <fileset dir="${developmentenvironment.www.dir}" includes="**/*"/> </delete> C:\Users\...\build.xml:42: Unable to delete file C:\...\www\appserv\AUTHORS.txt When, I try to delete the file in the OS, it requires elevated permiss...

How can I turn on DynamicCompression feature of IIS programmatically?

I'm making an installer program for my web application. My web application uses CSS and JS heavily, so I want to enable both Static and Dynamic HttpCompression for IIS7/7.5. It needs 2 steps: I can modified the web.config, put <httpcompression> tag, it's ok. DynamicContentCompression must be turned on in Windows Feature to make httpC...

Windows 7 Federated Search - How to make it send search requests to my .net assembly

I am trying to display search results in the windows 7 explorer thru the federated search feature, from a local .net assembly. (not from a web service) I have found various tutorials, but all of them are for web services. Earlier I thought that it was not possible but then, I came across the StickyNotes federated search connector. The c...

How to determine what invokes User Access Control restrictions?

In a Delphi app intended to build an internet software update service for my software, the Windows 7 UAC system requests authorization from the user to run the exe.The following possible contentious/risk areas exist in the code: A named pipe server is created for communications TCP is used for FTP and HTTP SHGetSpecialFolderPath api ca...

Automatic program update and Windows 7

Hi We have a suite of programs that check for new versions at startup, and then download new versions to run if required. This is obviously a problem in Windows 7, when it is locked down as a 'standard user', as they can't write to the c:\program files directory and below. Anyone seen a example of an application that gets around with is...

Change the ApplicationID of a running process from c#

In Windows 7 we have the concept of ApplicationID, which allows (among other things) to group several icons in the task bar. How can I change the ApplicationID of a running process from c#? I'm trying to make my WinForm app's icon group with another application. I've tried using Windows API Code Pack Library, sticking the following code ...

How to use VisualStyleRenderer in Windows 7?

In a small project of mine I've came across the need of a collapsible group box. Searching the Net, I've found one here. In one of the comments there's an improvement on the original code that uses the VisualStyleRenderer class in order to acquire the TreeView open and closed glyph. Running the code it draws properly the Plus and Minus...

How to install a provisioning profile on windows 7 for testing

Hi, how can I install a provisioning profile on windows 7? Just dragging it onto the iTunes icon doesn't seem to work like it would on a mac... It only "pins" it together. ...

assembly on windows 7

how can i make a device input and output control program on windows 7?? Previously there was an option called debug where we wrote our programs. but as far as i know this feature is no more in windows 7. how can i do assembly on windows7?? ...

Is git suitable for one developer without server

I am a single developer without another computer to backup my projects on. I'm looking into source controls and I came across git but all the setup tutorials are targeted to an external server. I used to use SourceGear Vault, but seeing that git is getting alot of attention, I might as well familiarize myself with it. I do not always hav...

A Guide to Windows Hacking for Mac Users?

I am a long-time Mac user looking to gain a decent understanding of Windows. I want to be able to control the environment, understand how the OS fits together and, eventually I guess, think about application development. I'm not really interested in the history except as it is still relevant to Windows 7. I'm competent with the Mac and ...