windows

Secure FTP for Windows 2000 Server

Can someone recommend a secure FTP implementation that works well on Windows Server 2000? I'm uploading files into virtual directories and web applications under IIS and the existing provider, obviously, isn't secure or encrypted. ...

Checking for equivalent shared folders in .net

Is there a way, within the .net framework, to check to see if two different shared folders are actually pointing to the same physical directory? Do directories in Windows have some sort of unique identifier? Google-fu is failing me. (I mean, aside from writing a temp file to one and seeing if it appears in the other) Edit: I think I'...

launching VS2008 build from python

if I paste this into the command prompt by hand, it works, but if I run it from python, I get The filename, directgory name, or volume label syntax is incorrect. os.system('%comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86') os.system('devenv Immersica.sln /rebuild Debug /Out last-build.txt') ...

Windows 7 on a virtual machine

Hey, I know this question isn't "directly" programming related, but since I want to be able to be well-prepared on windows-programming when Windows 7 is released, I want to try it out now. But since I don't have two computers, I can't risk to install it as dual-boot in case it screws something up, my experience with dual-booting XP and ...

launching vs2008 build from python

The first batch file launches a command prompt, i need the second command to be in the ccontext of the first. how can I do this in python? As is, it launches the batch, and blocks until the batch (with its command prompt context) terminates, and then executes devenv without the necessary context. os.system(r'%comspec% /k ""C:\Program ...

How can I make Eclipse output std:out to a standard windows console

Hi, As eclipse users know, eclipse captures the output of std out and err by default and dumps it into the console that is integrated with the IDE. I would like eclipse to just use a standard windows cmd instance to display std:out and std:err by default, the way most other IDE's do. Does anybody know how to set this up? ...

Multiple menu items in bold face

I've been investigating the effort needed in getting menu items displayed in bold face - without having to draw the menu myself - and discovered MFS_DEFAULT menu item state after some googling. The MSDN documentation mentions MFS_DEFAULT Specifies that the menu item is the default. A menu can contain only one default menu item,...

Java Serial Communication on Windows

I've been looking around for a Java API that can communicate with Serial on Windows/Win32 but many of the API's I've checked out are either for Linux, too outdated, or just had bad critics. Can someone recommend one to me that they've tried or knows about that is easy to implement on Windows XP? ...

Problem with AspNetWindowsTokenRoleProvider for Windows Authentication in ASP.NET

Hi, Im developing an Intranet Application in ASP.NET that uses Windows Authentication. I have created an AD class that gets information from the Active Directory Domain Controller. This is what I use to get things like User Groups that the currently logged user is in. The problem is in the ASP.NET Roles that the user is in. Seems funny,...

Windows Forms New vs Load event

When a form loads, the code needs to do things like setup datagrids, combo boxes, set the title etc. I've tended to always use the load event rather then the new. Is there any guildlines for which one is best for which activities? ...

Java RS-232 Communication on Windows

Does anyone know of a good Java API for controlling RS-232 devices in a WIN32 enviroment? I've tried RXTX but they don't support RS232, only RS-485. ...

Version controlled production environment

My question is, how do I version control the production environment in a good way? This is our current environment: (Internal server) Development - Version controlled source code (Customer server) Acceptance test environment (Customer server) Staging environment (Customer server) Production environment When we release new functional...

How to do substitutions using sed for windows (from cygwin) for utf16 files

Hi, I am using sed from cygwin on Windows to do some substitutions in text files. Everything works fine for normal (ANSI) files, but it doesn't do anything for utf-16 files (no substitutions are made). Do you know how I can make it work for both types of files at the same time? ...

UTF-16 to UTF-8 conversion (for scripting in Windows)

Hi, what is the best way to convert a UTF-16 files to UTF-8? I need to use this in a cmd script. ...

Do you support standard users on Windows XP?

Update: Since development machine has moved to Vista, i now automatically test as a standard user. And with XP being phased out, this question isn't so relavent anymore. Since the Windows 2000 logo requirements, Microsoft has been requiring that applications run as standard user. Like everyone else i always ran my desktop as an admini...

how to add new application mapping in iis

Hi, How can I add new application mapping in IIS using vbscript? Thanks, ...

Windows Performance Counter limits

What limits exist on the amount of data one can publish to a custom Windows performance counter category? I understand there is no hard limit on the number of counters or the number of instances, but rather there is a memory limit for the entire category. What is that limit? Is there a limit on the total number or size of all performan...

Can Ruby import a .NET dll ?

I am interested in using/learning RoR in a project where I have to use a .NET dll. Is Ruby capable of importing a .NET dll? ...

Is there a Windows IDE that can handle both C and Perl?

I'm using Strawberry Perl which includes MinGW's GCC, I'm also making use of the GNU debugger GDB and Subversion. How can I have a single development environment that would suit this (other than just UltraEdit, the command shell and IE), and how can I further enhance its features? ...

Can we see the source code for PowerShell cmdlets?

Hi, I'm learning some PowerShell. Is it possible to see the source code for a built-in cmdlet like Get-ChildItem? ...