windows-xp

`marshal data too short` error message while installing watir-webdriver on Windows XP

人走茶凉 提交于 2019-12-04 10:34:17
I have a clean installation of Windows XP (Professional, Version 2002, Service Pack 3) in VMware Fusion virtual machine (3.1.2 332101). (Host machine is MacBook Pro, Mac OS 10.6.7.) XP installation has 512 MB RAM and is fully updated, except I left Internet Explorer at version 6. I have installed Ruby and RubyGems: C:\Documents and Settings\zeljko>gem env RubyGems Environment: - RUBYGEMS VERSION: 1.6.2 - RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32] - INSTALLATION DIRECTORY: C:/Ruby187/lib/ruby/gems/1.8 - RUBY EXECUTABLE: C:/Ruby187/bin/ruby.exe - EXECUTABLE DIRECTORY: C:

Compiling C with Emacs on windows system

守給你的承諾、 提交于 2019-12-04 10:33:24
I have a little bit of C programming experience from school, but it was all Unix. I want to compile some C with Emacs, using Emacs as a second IDE. What is the easiest way to go about doing this? I downloaded Cygwin with no successful compile of a helloWorld.c in Emacs. Even opening the cygwin command prompt (shell or whatever its called), it doesn't recognize gcc as a command. Error 'make' is not recognized as an internal or external command, operable program or batch file. I need a compiler that works on Windows, is free (or comes with visual studio), and can be used with Emacs. What to type

git.cmd vs git.exe - what is the difference and which one should be used?

寵の児 提交于 2019-12-04 10:00:14
问题 I have a rough idea that git.cmd is only a wrapper (but added to PATH by default), but I found out that git.exe works as well and I intend to use it as a workaround to this issue (comments to it rather, regarding chcp on XP64). Would that be not recommended for any reason at all? Also, is git.cmd really needed in the first place? Note: The chcp issue I am referring to is not caused by missing PATH entries as in 'chcp' is not recognized as an internal or external command, operable program or

Coerce Windows to show a thumbnail for my custom file type

五迷三道 提交于 2019-12-04 08:30:41
问题 I want to use the windows OpenFileDialog class in C# to browse files for my application. I would then like the files to show up with previews in Windows' "thumbnails" view. Is there a simple way to make this happen? I'm thinking there should be a way to encode the files so that Windows simply reads and displays the thumbnail information, even though it's an unsupported file type? I know Windows Vista has a different interface (IThumbnailProvider as opposed to IExtractImage) than Windows XP,

How to use “svn add” recursively in Windows console?

半城伤御伤魂 提交于 2019-12-04 08:23:07
问题 When I run svn st on my working copy I get some "?" entries which are located in subdirectories of working copy root. I want to add all of them to the repository. I try: svn add --force . and svn add --force * but it doesn't work. WORKING SOLUTION : svn add --depth=infinity --force * 回答1: Don't know if it work in windows, but you could try: svn add --depth=infinity * 回答2: Perhaps try: svn status | grep '^\?' | sed -e 's/^? *\(.*\)/\1/;s/ /\\ /g' | xargs svn add 来源: https://stackoverflow.com

Preinstalling WinXP USB drivers to be able to connect device without interaction

我只是一个虾纸丫 提交于 2019-12-04 07:40:31
We are a small hardware manufacturer. Most of our products use USB for programming the controllers used. The current situation is that programming the hardware (part of the assembly processor) is rather labour intensive. Each time a new USB device gets plugged in Windows prompts for a driver install. This means that for each new product we have to go through a process of "no, don't go to internet" --> "yes, search automatically" --> "done". We even have to do this twice for each product. I have been experimenting with the Windows preinstaller (DPInst), but this seems to only facilitate a

.NET Embedding application in windows-taskbar

和自甴很熟 提交于 2019-12-04 07:38:04
We've all seen it and now I want to do it. How may I go about achieving this effect with a winforms application? alt text http://www.activewin.com/winvista/images/Windows%20Media%20Player%20-%20Taskbar%20Player.png You are probably going to want to start reading about Desk Bands . It's not an easy process, and you won't be able to just put your winforms application in the task bar. It also depends on what version of Windows you want to target, as tommieb75 pointed out, the newer versions of windows have better integrating capabilities. In addition to the above, the Windows v6.1 SDK includes a

TAnimate in Windows XP/Vista with themes enabled won't work

雨燕双飞 提交于 2019-12-04 07:18:31
问题 A coworker has been using a custom AVI to indicate progress during some longer operations for years. It's always worked fine. Recently he decided to move from Delphi 7 to Delphi 2007, in part to get theme support for his applications. (We've finally got most people, but not all, running on XP.) The animation stopped working. Disabling themes makes it work again. TAnimate is a wrapper around the Windows Animation Control, created using InitCommonControlsEx(ICC_ANIMATE_CLASS). The MSDN

How do you copy and paste into Git Bash

只谈情不闲聊 提交于 2019-12-04 07:17:58
问题 I'm using msysgit running on Windows XP. Tried Ctrl + V , Right click, Middle click, google... no luck. 回答1: Press Insert . Also, to copy from the window, try clicking the console's window icon (topleft) and choosing Edit -> Mark, then drag a box on the text, then press Enter. (You can also paste via the window icon menu, but the key is faster.) UPDATE Starting from Windows 10 the CTRL + C , CTRL + V and a lot of other feature are implemented in conhost.exe so they should work with every

SNMP: Create custom OID

谁都会走 提交于 2019-12-04 06:44:28
I need custom OIDs for monitoring some of my software states. But I just can't understand: how can I create custom OID (like .1.3.6.1.4.1.30891.100.103) in Windows XP system? I need few of them to write there some info and read it when needed but I have no idea how to create them in the system. You should do this by writing an extension of Windows SNMP agent. The following article shows how, http://www.codeproject.com/KB/IP/SNMP_Agent_DLL__Part1_.aspx There are a few options to register OIDs, including: Private Enterprise Numbers (which are then publicly listed ) UUID-based OIDs In both cases,