windows

COM+ - Install or Import - a way to know after installation

Is there a way (programmatically) to determine, after installing a COM+ component, if the admin choose 'Install Component' or 'Import Component' ? We have an application that take care of querying a server to dump its COM+ configuration for a specified package. And, to make sure we installed it the exact same way onto another server, we...

Number of tokens limit in a FOR command in a Windows batch script

Hello, I was trying to process a text file in a Windows batch script and I ran into something that looks like a limitation to 31 tokens in a FOR loop. I isolated the issue in the code below: @ECHO OFF SET DATA=01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 FOR /F "tokens=31* de...

Can Windows drivers be written in Python?

All in the title :) ...

Digitally signed redistributable version of GDI Plus?

i'm trying to find one of the latest versions of GDIPlus. The redistributable version i'm using from 2001 still contains the security vulnerabilities that wouldn't be discovered for another 5 years. gdiplus.dll File version: 5.1.3097.0 Date modified: 8/23/2001 4:25 PM The only download i can find on Microsoft is not digitally signed....

best IDE software for Windows?

Anyone got reccomendations for the best IDE software for a windows powered computer? I want text editor, css editor, ftp, live preview if poss, and it should also be able to handle php and javascript. Any suggestions? What do you use and what is awesome! ...

Instruct Window's fusion loader to use system dll first?

i need to deploy an application with a DLL in the application's directory for users on Windows 2000. The dll was shipped with Windows XP an later as a system dll. Windows XP was also when Microsoft introduced the Fusion loader, to resolve assembly dependancies. Is it possible to instruct to not use the version of the dll in my folder,...

Windows Command Line Script to rename a folder to current month -3 (e.g. 2009-04 to 2009-01)

What would the Windows command line script be to rename a folder from the current month, to the current month - 3, using the format YYYY-MM ? e.g.: c:\myfiles\myFolder\ should become: c:\myfiles\2009-01\ ...

windows command line and Python

I have a python script that i want to run from the command line but unsure how to run it. Thanks :) ...

Read from console process

I have a process, i can start, and hide working fine, but i want to read from the console program, when i runs, not after, i tried to run a timer, anbd read at the tick, but my program just crashes and when it not do, i get nothing at all. startInfo= new ProcessStartInfo("cmd.exe"); startInfo.Arguments ="/C uus.exe "+ arg.ToString...

Why is there no Microsoft.Win64 Namespace?

We have a Microsoft.Win32 Namespace but is it guaranteed to work in 64-bit Windows environments? Is there an equivalent need to have such definitions for a 64-bit situation? ...

Quickly create large file on a windows system?

In the same vein as http://stackoverflow.com/questions/257844/quickly-create-a-large-file-on-a-linux-system I'd like to quickly create a large file on a windows system. By large I'm thinking 5GB. The content doesn't matter. A built in command or short batch file would be preferable, but I'll accept an application if there are no oth...

Is there a way to simulate Windows input with C++?

I'm wondering if its possible to make a program in C++ that can "press" keys, or make the computer think certain keys have been pressed, and do things like make a program that "plays" games, or automatically enter some long and obscure button sequence that no one could remember. (I can't think of any right now, but savegame passwords mi...

How to transfer sensitive data between processes in Windows?

I would like to transfer user name and password information from one process to another process running on the same server in Windows. What is the best approach to achieve this transfer in a secure way? One simple approach is to copy the passwords to a file and then have the other process read from a file and then delete the file once it...

Is it worth testing the same version of IE on different versions of Windows?

I'm putting together some virtual machines to test different browsers and I'm wondering if there is any compelling reason to be able to test the same version of IE on different versions of Windows. (i.e. IE8 on XP and Vista) I'm mostly talking about testing CSS to make sure it "looks right" across browsers, but if there were major differ...

Trying to make an function call to an external file with PhP, MySQL using WAMP

Hello All, I'm sure there is a simple answer to this, but I have been fumbling with everything for almost a week now and surrender. I am trying to build a shopping cart app and every coding solution I build will work when I include the code on the same page, but when I try to use an external page to run the function it does not seem to r...

I want the List box to show background for Down Arrow in Vista for Web Applications. Please suggest a CSS / possible fix.

I want the List box to show background for Down Arrow in Vista for Web Applications. Please suggest a CSS / possible fix. ...

What is the closest thing windows has to fork()?

I guess the question says it all. I want to fork on windows. What is the most similar operation and how do I use it. ...

Detect window close outside of wndproc?

I am currently working on a win32 GUI app that does most of its work in the window thread. This thread can sometimes be blocked since it runs a script engine that can be suspended by an external script debugger (another process). This is not a problem most of the time as it is expected behavior. However, if the user tries to close the wi...

What does this line mean in Python?

Which CPU information this code is trying to retrieve. This code is part of a larger package. I am not a Python programmer, and I want to convert this code to C#. from ctypes import c_uint, create_string_buffer, CFUNCTYPE, addressof CPUID = create_string_buffer("\x53\x31\xc0\x40\x0f\xa2\x5b\xc3") cpuinfo = CFUNCTYPE(c_uint)(addressof(CP...

Language to write a Windows application that doesn't take up a lot of space

I need to write a Windows XP/Vista application, main requirements: Just one .exe file, without extra runtime, like Air, .Net; posstibly a couple of dlls. Very small file size. The application is for network centric usage, similar to ICQ or Gtalk clients. ...