windows-7

What are the differences between "Run as administrator" and a manifest with requireAdministrator?

I've written a program with a manifest that includes requireAdministrator. On Windows 7 systems with UAC enabled, Windows pops up a dialog asking for permissions, as it should. Works great. If a user starts my program by right-clicking it and choosing "Run as administrator", then Windows 7 also pops up a dialog asking for permissions....

Send UDP broadcast on Windows 7

I have a PC with two network cards connected to different networks (multi homed network setup). I want to send UDP broadcast frames on both networks. The senders IP address of the frames must be the IP address of the adapter, that is used to send the frame. The destination address should be the LIMITED BROADCAST address. The customer ap...

import pyodbc results in DLL load failed with error code 193 on Win7

I am running 64-bit Windows 7 and the ActiveState Python 2.5 installation (64-bit version). I just downloaded and installed the pyodbc 2.1.7 win32 package. When I run the installer as an admin it proceeds with no problem. When I run python and try import pyodbc I receive the following error: ImportError: DLL load failed with ...

What devices are available to test WM_GESTURE and WM_TOUCH code on a desktop machine?

I'm writing some code to handle WM_GESTURE and WM_TOUCH events in Windows 7, but I can't figure out how to test it. I do my development in Boot Camp on a 17" Mac Book Pro. So far, I have determined that the Boot Camp trackpad driver in Windows 7 does not generate those events, and this generic trackpad I found on Amazon.com that claims ...

icons not display in 64-bit build under windows

I have 256x256 PNG compressed icons working under Win7 with my 32-bit builds, but my 64-bit builds aren't showing the high res icons. When I extract the ICO file from the 64-bit executable, it has the 256x256. I was under the impression I shouldn't have to do anything special for 64-bit builds vs. 32-bit builds and that if it works in ...

Measuring WLAN RSSI in C# using P/invoke and wlanapi.dll in Windows 7 Pro

Hi, I'm developing an application using Visual Studios 2010 C# running on a Windows 7 Professional machine. In my application, I am trying to read the RSSI of a WLAN AP on a specific WiFi channel, regardless if my WLAN radio / bridge is connected to an AP or not. I've search different forums and tried implementing sample codes that I f...

How do I expose local IIS to other PCs on Windows 7?

Hi, I found the good article to do that http://msdnbangladesh.net/blogs/munnacs/archive/2009/06/13/exposing-your-local-iis-to-network-in-windows-xp.aspx ,but it's for Windows XP and I'm using Windows 7 which gets extremely complicated Firewall settings. So here is my question, how can I achieve the same thing on Windows 7 as the articl...

Unable to start debugging in Visual Studio 2010.

Similar to http://stackoverflow.com/questions/1928957/debugging-asp-net-with-iis but for different version of visual studio, different OS and his fix didn't work. Before I shut down my computer last night everything worked fine. This morning I rebooted and I started getting the error message below when I tried to start debugging my web...

Book about programming in Windows 7

Could anyone recommend good book about programming in windows 7 in C++? ...

FileSystemWatcher and windows 7

I am writing a tool that monitors a network directory and is running off of a Windows Server 2008 machine, the OnChanged event for the FileSystemWatcher is being fired correctly from files placed on the network drive by any computer that is not using Windows 7, for some reason if the amount of files copied is more than 19 on a windows 7 ...

Apache, PHP, MYSQL on Windows 7

What is the best (and easiest) way to set these up on Windows 7? I have tried Xampp and WAMP but all I get after installing them is a blank local host. So I create a php info file using the following code: <?php phpinfo(); ?> Put it in the httpdocs folder, call it using http://localhost/info.php and I get a 404 file not found erro...

Getting helpful error messages on Windows 7

During Windows XP development, if my application encountered an unhandled exception it would display an error message "X has encountered and error..." and give me the option to launch the debugger. Under Windows 7, all I get is a message that says "X has stopped working, Windows is checking for a solution". I can no longer see any deta...

how to upload files using ajax in jquery, windows 7

how to upload files using ajax in jquery. system: windows 7, iis, asp.net, c# ...

When I run or debug a web application in VS2005 on Windows 7 it occasionally leaves iexplore.exe open

When I am running Visual Studio 2005 on Windows 7, I try to run or debug my web application. (C#, but I doubt that matters). It will leave iexplore.exe open over and over again. Open VS Run your web application Visual Studio will lock up (if you try to click back to the window it will dim and not be accessible) but your web app will ...

ListView displays data in debug build but not release build

I have a project on a Windows 7 machine in Visual Studio 2010 that contains a WPF ListView using a DataTemplate and it is showing strange behavior. I can run the project in Debug or build a Debug executable and launch it outside VS and the ListView will be populated with data. If I build in release mode the data is returned but does not ...

Event Logging in C# on Windows 7/ 2008 Server.

Hi i am trying to make an event logger for my cmd line application. However I get this error when it tries to create the log for the first time. The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security. So I found this is a because of windows 7 and some new security. So right now...

How to enable vsync in DirectX10

I'm working on a apps that's based on DirectX10 by using SlimDX. I would like to enable vsync similar to DirectX9, but the fps doesn't seems to lock to 60Hz(which happens if I'm using Direct9). I'm setting vsync by using this SwapChain.Present(1, PresentFlags.None); Did I do something wrong? Btw, I'm running Win7 with ATI HD5570 vid...

Task Scheduler 2.0 - Run C# UI in foreground

I'm trying to schedule a c# app to run in Windows 7's task scheduler. It's set to run as an admin user. Logged in as that user, the UI is visible. Logged in as anyone else, the process appears in the task manager, but the UI is not visible. Through some googling, I eventually stumbled across this caveat listed on wikipedia: Runni...

Where to store custom configuration files

I currently store a serialized XML file in the application directory that contains all changes specific to the program operation (not typical system or user configuration). Weeks ago, we started running into problems where it would not save correctly (read my previous question about this). Long story short, we finally discovered that W...

How to get rid of unwanted scrollbars in an SSRS reports within an Iframe and increased Windows display size?

We run an web-app with built-in SSRS reports, which are integrated via an Iframe. A user has set her display percentage to 150% in Windows 7. (Control Panel > Appearance and Personalization > Display). She is displaying the webpage with the report in Firefox and she has to scroll horizontally and vertically within the Iframe to view th...