windows-7

Java Swing rendering bug on Windows 7 look-and-feel?

The knob on vertical JSlider's on my Windows 7 machine (with native look-and-feel) is really, really tiny in both directions. Not just skinny but short as well. Can anyone confirm this? Should I report it? If so, where? Thanks! Here is the code for the sample program (in the screen shot): import javax.swing.JFrame; import javax.swing...

How do I convert Windows 7 file-name encoding to UTF-8 for Ruby on Rails?

Hi (Ive looked at the other questions - none seemed to quite fit my problem.) I have some file-names under Windows 7 that need to be translated in to MySQL database (UTF-8) with Ruby on Rails. An example file-name includes "íéó" in some kind of Windows 7 file-system encoding. Ive tried many combinations of gsub and ActiveSupport::Mul...

MDAC and ActiveSync for Windows 7 64bit - need help

hi i try to install my C# program on Windows 7 64bit and i got error. i need to install MDAC and ActiveSync on computer. from where i can download MDAC (that fit for Win-7 64 bit) and ActiveSync ? thank's in advance ...

Monitor Windows API withOUT drivers or injection - Can it be done?

I have a list of a few windows API I would like to monitor on both 32 and 64 bit versions of Windows. Now, there are two basic approaches to this - Kernel based system wide hook driver - which won't work on Win 7 64 bit. And I'd like to refrain from using kernel drivers where possible in any OS. DLL Injection into specific processes....

Microsift.jet.OLEDB.4.0 not registed - error

hi i try to run my program on Windows 7 64 bit and i got this error when i try to connect to access database Microsift.jet.OLEDB.4.0 not registed i even installed access 2007 on this computer thank's in advance ...

SharePoint 2010 Development on Virtual Machine - Windows 7 or Server 2008?

I recently switched to a MacBook Pro for my development machine (for many reasons). I want to setup a Virtual Machine for ASP.NET, IIS, and Visual Studio 2010 development. I also have need to do some development work with SharePoint 2010. What I am wondering is if I should use Windows 7 (64 bit) or Windows Server 2008 (64 bit) as the O...

When will the ADT plugin work with Eclipse 8.0?

The ADT plugin requires Eclipse 3.0 or 3.5. I would like to upgrade my PC from Vista to Windows 7. But Eclipse 3.5 is not compatible with Windows 7 (as of today, 5/3/2010). Eclipse 8.0 is compatible with Windows 7, but the ADT plugin requires versions 3.0 or 3.5. Any solution in sight? ...

How to detect if an application has UI elements in it from C# in Windows 7?

I have a c# application in Windows 7 that runs in Session 0. This application is basically a framework for software patches installation that will install patches in the background (in session 0). So this app will download patches from the server and start installing them on the client machines. The way it installs the patches is by cal...

How do I make my program run with different privileges at Windows 7 startup?

Hi, I am trying to add my program run in Windows 7 startup, but it doesn't work. My program has an embedded UAC manifest. My current way is by adding a string value at HKCU..\Run. I found a manual solution for Vista from http://social.technet.microsoft.com/Forums/en/w7itprosecurity/thread/81c3c1f2-0169-493a-8f87-d300ea708ecf Cli...

Cygwin make always processing target

However it happens only on Windows 7. On Windows XP once it built and intact, no more builds. I narrowed down the issue to one prerequisite - $(jar_target_dir). Here is part of the code # The location where the JAR file will be created. jar_target_dir := $(build_dir)/chrome # The main chrome JAR file. chrome_jar_file := $(jar_target_d...

how can i diagnose exception in window 7 release mode compilation with VC 2008

Hi i have strange problem , my application (exe) is working fine in debug mode in windows 7 but stop to work with exception when compiling in release mode . how can i debug the program to find what is causing the exception this is application with more then 300,000 lines of code .. ...

Programmatically limit CPU usage by any application on Windows 7?

Hi, I'm looking for a way to limit the CPU usage by any application on Windows 7 to 50%. I've tried searching the Internet for a way to do this, and it looks like this is an easy thing to do on Linux and Mac OS X (one command in the terminal) but I'm not sure how to do it on Windows 7. Any help would be much appreciated. Thanks! Rohan ...

Shakin' things up

Hi All I have a little app here, and I would love to be able to do my own stuff in Vista/Win7 when I shake the form. Currently, when a form is shaken, it will restore/minimize everything else. But I want to change that behavior in my app only. So when my form is shaken, I could, for example, shuffle the playlist, or Clear the contents ...

socket.error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions

Hello all. I'm trying to create a custom TCP stack using Python 2.6.5 on Windows 7 to serve valid http page requests on port 80 locally. But, I've run into a snag with what seems like Windows 7 tightened up security. This code worked on Vista. Here's my sample code: import SocketServer import struct class MyTCPHandler(SocketServer....

Changing The Underlying Background Color Of A Swing Window

As discussed here, when resizing a Swing application in Vista (and Windows 7, which is what I'm using) you get a black background in the right/bottom corner while Swing's repaint catches up to the changes. Playing with other applications (Windows Explorer (Native), Firefox (C++?), and Eclipse (Java)) I notice that they all have this sam...

Editing code in Visual Studio 2008 in debug mode

I am curious to know if there is a way to edit code in C# VS 2008 right when it has hit a breakpoint and I am walking thru the code... can I modify the code (such as the value in a variable or if my stepthrough line is about to hit an if statement ... can I modify the if statement....etc)? So far, I have to stop running VS, modify the co...

Windows7 run as admin with password

I love running as a standard user for its security pluses, my admin account is password protected. The problem appears when I need to run a program that requires admin rights, is there a way to include the password somehow so I won't have to type it every time ? Without changing my current setup: admin password protected account and I l...

Environment Variable to determine the OS type (Windows XP, Windows 7)

I want to differentiate between Windows XP and Windows 7 in a XML file. Thought i will use an environment variable for it inside the XML. However I could not find any system environment variable defined in windows that gives this information. I see the %OSTYPE% variable but it is only available in Windows 7. It is not defined in XP. ...

Is Visual Studio Development Server producing log files?

If so, where? (running against win7) thx ...

Accessing Every File on the File System (no matter what) On Windows 7

In c#, on a windows 7 machine, how can I programmatically access every file on the file system as though I was a "Master Administrator". The main priority here, is that after my c# program is installed, that it won't run into any file/folder access permission problems. My program runs as a windows service, and it must allow a user to ba...