windows-7

Check Service is running from a DLL

I have registered a COM Context menu DLL (to display Explorer Context Menus) in a Windows7 machine. In the DLL, I have checked whether a service is running in my system. The service is running under 'Local System Account'. I have checked the service status by OpenSCManager and QueryServiceStatus. It seems to work in XP without any issu...

UnauthorizedAccessException with System.IO.File.InternalCopy in ProgramData on Windows 7

I have a program installed in ProgramData. I use UAB 2.1 to updating app but it's failed because accessing to the path is denied (OK with text files so I think there's problem with UAC). How can I get overwriting rights in ProgramData/MyAppFolder or display a dialog to notice user give overwriting rights for updater. Many thanks in adva...

Symbolic Link - Windows

Hi, I am trying to test the 31 reparse point limit mentioned for Symbolic link in Visa. But I could not reproduce by any of following listed cases. Can someone guide? 1) Created 36 symlinks in a directory c:\temp\testlink for a executable residing in c:\temp\testlink. 2) Created 36 symlinks in a directory c:\temp\testlink to 36 differ...

Anyone having (or solved) these problems with Windows 7 Virtual PC (Recording sound, Drag 'n Drop, etc.)

Windows Virtual PC problems: There is no "Shared Folders" option to allow us to access folders on the Host machine within the Client machine using drive letters (E:\ etc.). We have several programs that I need to test and I need to access files on the E:\ drive, etc. Note that the Host folders that you see "D on " is not what I need. ...

Shared desktop solution/api for Windows 7

I write software for an IT consulting company that supports a number of clients that will (very) soon be migrating from Windows XP to Windows 7. One of the tools we use is Ultra VNC Single Click, which lets us connect to a client computer and share the user's desktop. Eventually, I wrote an application that sits on the user's desktop a...

py2exe, problems

I'm attempting to convert a .py file to a .exe file. However, I get a weird output. Output: usage: module1 [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: module1 --help [cmd1 cmd2 ...] or: module1 --help-commands or: module1 cmd --help error: no commands supplied My code: from distutils.core import setup import...

Running XAMPP on Windows through VMWare Fusion on a MAC, how do I configure apache to use my shared folders (Z:) as the web root?

Environment: Main platform: MAC OSX 10.6 Secondary platform via VMWare Fusion: Windows 7 64-bit Background: I'm running MAMP Pro on the MAC side with a webroot at "/www". I need to test websites in IE thus requiring a Windows installation. I installed XAMPP on my Windows side and changed the apache root directory to "Z:\www", the ...

C# windows forms crash in Windows 7

Hi! I did a program in C # and use a SQLite database, the program works well in Windows XP and Vista but crashes in the Windows 7! Does anyone know what could be the problem? tks ...

Tortoise SVN problem: Folder that's no longer in Repository is showing up with a caution icon.

I'm using Tortoise SVN on Windows 7. I've got a folder that got fouled up (probably b/c I renamed it outside of SVN). I've read the SO article about obstructed folders/files, and that folder is now not listed in the Repository but it's still showing up with a warning icon (when I do a Cleanup Tortoise reports that it's "not a working d...

error while executing "apache services"

i am trying to install apache version 2.2.16, on my windows 7 machine. the apache is installed correctly. but when i try to run the service, i get a error message saying, "The requested operation has failed"... i tried all the methods, i.e disable antivirus, skype, but still the same result. ...

The mouse stops working when sharing between two machines

I've written a program in C# to share the desktop between two win7 computer stations, the Sharer and the Viewer. When I Start sharing it all works right: The viewer displays the sharer's desktop and the remote mouse follows the local mouse when it moves. (I'm using interactive mode.) But when I try to click anywhere, it stops the remote...

App installed in Program files freezes when is used by a user without admin permissions

Hi. Excuse me for my poor english. I have an application running on Windows 2000 and XP. The application runs too without problems in Vista/Seven, but only works in case of user be administrator, else the application freezes when: 1- I save log files in a subfolder of Program files. 2- Run a update routine than download files from a s...

Manipulating windows from other applications in Java

I want to write a Windows 7 Window Manager in Java, but there are some issues. First of all, how do i manipulate the size and position of a window that doesn't belong to my own application? In other words, how can I manipulate the windows of other applications? And, related to my first question, is it possible to get a list of all curre...

C# Windows Forms + Windows 7 + System.Data.SQLite v.1.0.66.0 = crash?

Hey guys, I'm currently experiencing a very strange crash in Windows 7 in a C# Windows Forms application developed in Visual Studio 2008. The app - which works great in both XP and Vista - never really opens; instead, a "this application has caused an error and has stopped working". I made a dummy application with the following source-...

The file '/index.aspx' has not been pre-compiled, and cannot be requested.

When I publish my website using Visual Studio 2010 I get the following error: I'm also using the following compilation settings: What possible reasons are there for this not working? Thanks, Curt ...

Windows 7 taskbar

Does anyone know how to set a custom icon for a program in the taskbar? I know that you can make a shortcut to a program to get whatever icon you want in the top left corner of the program (see image below for refrance) but how do I make a program get a new icon in the taskbar? ...

Ruby accept argument via drag and drop onto rb script

I would like to have ruby open with dropped files as arguments. I running Win 7 Enterprise, Ruby 1.8.6 and have tried RubyDragAndDrop.dll, which I could not get installed. Any ideas? ...

DEP and ASLR and how to use it?

ASLR and DEP are two techniques that are used to protect applications from hackers. With many modern applications becoming more security-aware, these techniques are becoming more important. For now, I just focus on Windows 7 and these techniques. I wonder when and how I can best use these techniques, especially when developing desktop ap...

where is gacutil.exe?

Hello everyone, I am using Windows 7 Enterprise 32 bit. I have used Windows command line, and also used VSTS 2008 command line, but when executing gacutil.exe, there is command not found error. I am wondering whether I need to install gacutil.exe from somewhere or gacutil.exe is located in somewhere else in my computer (I searched my c...

Environment.SpecialFolder.ProgramFiles value for a 32bit app on Windows7 ?

What would a 32 bit application running on Windows 7 return for the below - Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles)? C:\Program Files (x86) or C:\Program Files ?? ...