windows

VirtualBox from an existing partition

I installed VirtualBox on my Ubuntu Hardy Heron installation, and I would like to use it to virtualize Windows for those rare occasions that I actually need to do something there. Unfortunately, I don't have an installation disk at the moment, but I do have Vista already installed on a partition (it came with the machine). Is there a w...

How to capture Python interpreter's and/or CMD.EXE's output from a Python script?

Is it possible to capture Python interpreter's output from a Python script? Is it possible to capture Windows CMD's output from a Python script? If so, which librar(y|ies) should I look into? ...

Windows: List and Launch applications associated with an extension

How to determine the applications associated with a particular extension (e.g. .JPG) and then determine where the executable to that application is located so that it can be launched via a call to say System.Diagnostics.Process.Start(...). I already know how to read and write to the registry. It is the layout of the registry that makes...

Building C# .NET windows application with multiple views

I'm rewriting an old application and use this as a good opportunity to try out C# and .NET development (I usually do a lot of plug-in stuff in C). The application is basically a timer collecting data. It has a start view with a button to start the measurement. During the measurement the app has five different views depending on what inf...

Revoke shared folders in windows

Over the last few months/years, I have shared a folder or two with numerous people on my domain. How do I easily revoke those shares to keep access to my system nice and tidy? ...

Favorite free SFTP client

What is your favorite SFTP client? I'm in need of a free-as-in-beer SFTP client for Windows. There seem to be a number of them out there, of varying quality. It doesn't need to be fancy. Decent usability and high quality would be the ideal. Thanks! ...

What does "VM Size" mean in the Windows Task Manager?

Virtual memory from a computer size perspective is [a way to make the program] think it has a large range of contiguous addresses; but in reality the parts it is currently using are scattered around RAM, and the inactive parts are saved in a disk file. (Wikipedia) I would interpret VM Size in the Windows Task manager as...

C++ : Opening a file in non exclusive mode

I have to develop an application which parses a log file and sends specific data to a server. It has to run on both Linux and Windows. The problem appears when I want to test the log rolling system (which appends .1 to the name of the creates a new one with the same name). On Windows (haven't tested yet on Linux) I can't rename a file ...

Web server statics repository -or- ZFS vs. NTFS

Hello everyone. My goal is to maintain web file server separately from main ASP.NET application server for better scalability. Web file server will store a lot of files downloaded by users. So the question is: Is it worth to adopt FreeBSD + Apache + ZFS, or good old IIS will be сonvinient enough? ...

Exporting a C++ class from a DLL

Most of my C/C++ development involves monolithic module files and absolutely no classes whatsoever, so usually when I need to make a DLL with accessible functions I just export them using the standard __declspec(dllexport) directive. Then access them either dynamically via LoadLibrary() or at compile time with a header and lib file. H...

Free Network Monitor

I am having trouble integrating two products, one of which is mine and they appear not to be talking. So I want to make sure they are communicating correctly. I had a look around for network monitor and found TCP Spy. This works but only shows 1 side of the conversation at a time (it has to run locally) I would ideally like to see both s...

What versions of Visual Studio can be installed concurrently?

Are there any conflicts with having any combination of Visual Studio 2003, 2005 and/or 2008 installed? I noticed a related question here but wanted a more general answer. ...

Backup for Windows - Mirror + Reverse Incrementals

I'm looking for Windows backup software that will copy specific workstation folders to a server. I would like it to be centrally administered instead of administered from the workstation. It needs to be able to handle open files - especially Outlook pst. And I would like the server to store the backups in a mirror + reverse incrementa...

Can Windows' built-in ZIP compression be scripted?

Is the ZIP compression that is built into Windows XP/Vista/2003/2008 able to be scripted at all? What executable would I have to call from a BAT/CMD file? or is it possible to do it with VBScript? I realize that this is possible using WinZip, 7-Zip and other external applications, but I'm looking for something that requires no external ...

NHibernate and Oracle connect through Windows Authenication

How do I use Windows Authentication to connect to an Oracle database? Currently I just use an Oracle Username and password however a requirement is to give the user on install the option of selecting Windows Authentication since we offer the same as SQL. ...

Is there anything similar to the OS X InputManager on Windows?

Is there anything similar on Windows what would achieve the same as the InputManager on OS X? ...

How do you configure an OpenFileDIalog to select folders?

In VS .NET, when you are selecting a folder for a project, a dialog that looks like an OpenFileDialog or SaveFileDialog is displayed, but is set up to accept only folders. Ever since I've seen this I've wanted to know how it's done. I am aware of the FolderBrowserDialog, but I've never really liked that dialog. It starts too small and...

Java: Programatic Way to Determine Current Windows User

I see many similar questions, however I want to find the Username of the currently logged in user using Java. Its probably something like: System.getProperty(current.user); But, I'm not quite sure. ...

Any thoughts on DevExpress XPO ORM Package?

XPO is the object relational mapper of choice at my company. Any thoughts on the pros and cons? ...

What tools and languages are available for windows shell scripting?

I want to know what are the options to do some scripting jobs in windows platform. I need functionality like file manipulations, registry editing etc. Can files be edited using scripting tools? What other functionality does windows scripting tools offer? Can everything that can be done using the Windows GUI be done using a scripting lang...