windows

Trouble Extending Network with Apple Airport Extreme (PC won't connect with Ethernet)

So I have an Apple Airport Extreme base station that I use to create a wifi network at my house. But on a separate story from this station i have a PC (running Windows 7) that does not have a wireless card. Luckily, I have another Airport Extreme Base Station, so I figured I'd have my second station "extend" the existing network. I as...

How to get the zorder in windows?

I'm making an application where I interact with each running application, right now, I need a way of getting the windows zorder, for instance, if firefox and notepad are running, I need to know which is the must upfront... Any ideas ? (basides doing this for each application mainWindow I also need to do it for it's childs and sisters (wi...

Why doesn't Win32::ODBC find the ODBC.dll under Perl 5.10 and Cygwin?

I'm trying to use Perl ODBC to connect to a Microsoft SQL server. My problem is that Perl 5.10.0 is having a problem using the Win32 ODBC driver. If I run a Perl shell and execute this one line, I get errors. use Win32::ODBC; Can't load '/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/auto/Win32/ODBC/ODBC.dll' for module Win32::ODBC: No ...

How to use svn with emacs (psvn can't create tunnel)

We just installed svn at my office. TortoiseSVN works (with putty to do the ssh thing--sorry if this doesn't totally make sense, I'm a total svn newbie, I always used cvs). I found psvn for emacs, which seems to be pretty standard. When I tried running it, it said it couldn't find svn. So I downloaded the client from tigris.org--which ac...

Windows Form Inheritance

I want to create a bunch of forms that all have the same properties and initialize the properties in the forms constructor by assigning the constructor's parameters. I tried creating a class that inherits from form and then having all of my forms inherit from that class, but I think since I couldn't call InitializeComponent(), that I w...

Editing a DataGridView which has bound and updating columns in C#

I have a DataGridView where the DataSource is a BindingList. Most of the columns are updated -- via various timers which call PropertyChanged("...") for the bound columns. One column -- the problematic one -- is a DataGridViewComboBoxColumn -- where the user selects an item from the list of Items. The problem is that the DataGridViewC...

Windows Utility to force application fullscreen?

In short: Is there a utility for Windows XP that will force a window to be fullscreen? Why? I've written an application in Shoes, which I want to display it fullscreen (as a Kisok-type thing).. As I discovered with this question, Shoes does not currently have a :fullscreen option (until the next release). So the options seem to be, ...

Why does my program consume 100% CPU under nVidia NView?

I was recently working on a windows program that would sometimes become unresponsive when scrolling through a large list of items in a production environment. Of course it works fine on my desktop. The production Environment is: Windows XP based Workstation with 2 monitors nVidia Video Drivers with nView enabled Of note is a Dr watso...

Migrating Visual Studio 2005 sln to 2008, warning with vc98 paths in LIB environment variable, how to fix?

I'm migrating a solution from visual studio 2005 to visual studio 2008. When I build the solution in 2005, I don't have any issues. However, after I use devenv.exe /Upgrade and then use msbuild on the solution, I get the following warnings: CSC : warning CS1668: Invalid search path '\vc98\lib' specified in 'LIB environment variable' --...

How to make a Custom Keyboard layout ?

What's the best way to make a keyboard layout for Windows? Specifically a layout that will appear in the 'Text Services and Input Languages' list and without buying expensive software. I know about the Microsoft Keyboard Layout Creator but find it completely limited as you can't do simple things like remap the CapsLock key or the numbe...

Are there any performance tests available re Direct2D?

I'm particularly interested in drawing primitives performance (CAD, GIS, etc.) but any speed comparison with GDI/GDI+ would be very interesting. ...

In Windows, what's the most efficient way to compare two files and return just the records missing in the second file that were originally present in the first file?

At regular intervals we are receiving CSV files from an external source that we have little control over. These files are complete sets of current records; however, any records that have been deleted since the previous are not present. We would like to compare the two files and create a separate file of deleted records so we can do som...

Is there a way to list all the available drive letters in python?

More or less what it says on the tin: is there an (easy) way in Python to list all the currently in-use drive letters in a windows system? (My google-fu seems to have let me down on this one.) Related: Enumerating all available drive letters in Windows (C++ / Win32) ...

When and why use CoLoadLibrary?

The description of CoLoadLibrary() says it does pretty much the same as LoadLibraryEx() - loads a DLL into the process. COM classes creation functions - CoCreateInstance() and CoGetClassObject() - both do load the necessary DLL into the process too. Then why is CoLoadLibrary() needed in the first place and how should it be used? ...

HTML Editing in WinForms or WPF apps

I am looking for a way to edit a piece of HTML (such as an email text) in a Windows app (either WinForms or WPF). So this should work not unlike the little editor I have available to myself right here on the stackoverflow site (well, except more wysiwyg, I guess), except I want to do the same thing in WPF/WinForms. Anyway: You get the ...

Windows OS running in accessibility mode?

How can we detect in Windows OS is running in accessibility mode? What we basically need to check if a user has turned on any accessibility feature when launching an application. Thoughts? ...

Where is using null BSTR documented?

It's at least common practice to treat null BSTR (null WCHAR* pointer) as an empty string and design all the code manipulating BSTRs accordingly. Answers to this question say the same. Where is this practice documented? Is there any official document describing this convention? ...

Small Windows Form Chat application ideas?

I have a small application that I am building a Chat application into, so far I have the functionality to post messages! I don't need a login as there will only be a small number of users and I will use their windows username for identification. Has anyone done anything similiar? What else do I need to add? It doesn't need to be all si...

How many synchronization objects can be used per process and per machine in Windows?

It's highly likely that there is a limitation on how many synchronization objects - semaphores, events, critical sections - can one process and all processes on a given machine use. What exactly is this limitation? ...

Firebird connection fails for limited user.

In my Delphi7 app, I can connect to the database when logged in as Administrator ("Dave"), but not when logged in as a standard or limited user ("Paris"). Happens on XP Home & Vista Business Ultimate 64. I use an alias for the db, and have tried placing the .fdb file in Program Files, in an app folder on the C drive, and in Users\Applica...