windows-xp

How to apply a patch

家住魔仙堡 提交于 2019-12-06 12:33:07
问题 I have this patch code which i downloaded from a web article (Calling Matlab from Java). http://www.cs.virginia.edu/~whitehouse/matlab/JavaMatlab.html But I donot know how to apply it in my windowsXp running computer. What I'm trying to do is call Matlab script file from java. I have found the necessary source codes and every thing but this mater is holding be back. Any help is highly appreciated. Thank you. Here's the patch code. Index: MatlabControl.java ====================================

How to disable XP themes in WPF application?

江枫思渺然 提交于 2019-12-06 12:00:30
问题 I have a WPF application (.NET 3.0, VS2008) that displays data in a tab control. Custom colors are required on virtually all controls in this application : basically white foreground and green background. My problem is that when an XP theme (say Luna) is active, it is automatically applied to render controls so that my white text is written on ... a white background. For instance on the active tab item header : I have tried : to remove the embedded manifest file from the generated application

Removing Windows Logon screen through a service

為{幸葍}努か 提交于 2019-12-06 11:30:46
问题 I am trying to remove the windows logon screen (winlogon) from an executable launched from a service. The service would start automatically with windows and wait for commands from another computer. When it receives a command, it will launch an exe which will start cmd.exe under a particular username. The service is already present. I have the job of writing this executable. Currently, I have written the executable (CmdLogin) which starts cmd.exe under a different user through calls to

Setting Python Path in Windows XAMPP using WSGI

时间秒杀一切 提交于 2019-12-06 11:17:09
问题 I'm setting up a development version of a live server on Webfaction, running Django apps in a virtual Apache server environment (running without any errors) on my local machine - XP, running XAMPP Lite with Python 2.6 - which I can commit changes from via Git. XAMPP is up and running OK with Python, and the server starts perfectly with WSGI module loaded. The problem is when I set my Python paths, they are set half in 'nix format (with /), and half in Windows (with backslashes). Here's the

Ruby on Rails: How to start the WEBrick server automatically on Windows in background?

房东的猫 提交于 2019-12-06 10:51:21
In order to run the my Rails application on Windows XP I open a command line, cd to application's directory, and then run rails server . I would like to automate this, such that every time I turn on my computer, all I'll have to do is to type localhost:3000 in a browser. How could I do this ? The simpler way is to create a batch file with the instruction what you give in the command prompt like d: cd projects\myapp ruby script\server and then drop a copy of the file to Windows Start -> All Programs -> start up folder. You have few possibilities to do that. using the registry you can use HKLM

setting the environment path permanently

我是研究僧i 提交于 2019-12-06 09:49:19
问题 I want to make a batch file for setting the %PATH% environment variable permanently - ie adding a value to the path permanently (in Windows XP). 回答1: On more recent OSes you can use setx which allows pretty fine-grained control as for where the variables are stored. Not available on XP, though, unless you install the Windows Server 2003 Support Tools. 回答2: you can use vbscript (or command line reg) to change the PATH environment variable eg vbscript Set WshShell = WScript.CreateObject(

Best place to save user information for Windows XP and Vista applications

夙愿已清 提交于 2019-12-06 07:55:20
问题 I need to save a user's login information in encrypted form for this application I'm building, but I'm not sure of the best place to save the file. I don't want to save it into the program application folder as I want it per user. So what is the best folder (or way) to save it into? Edit: Using C++. 回答1: Seems like C:\Documents and Settings\%username%\Local Settings\Application Data may be the appropriate place according to Wikipedia. The article says this location is used for "User-specific

SqlCe opens slow under a limited user account in Windows XP

风流意气都作罢 提交于 2019-12-06 07:38:07
I have a windows application built with .NET 4.0. It has a SqlCe database under its program files directory: C:\Program Files\Company Name\Application Name\Data\Data.sdf This application is installed with Inno Setup and the Data folder is given permission with this inno setup configuration: [Dirs] Name: {app}\Data; Permissions: users-modify However, even if I deploy this application without the installer (just zip up all the files from my development machine and unzip on the target machine's desktop) I still face these same issues. So I do not think it is a file directory permission issue. For

How to find all 'SVN working copies' on Win XP

我是研究僧i 提交于 2019-12-06 07:28:50
I have Windows XP. I'd like to upgrade my TortoiseSVN to version 1.7 . In order to do that I need to ensure that I can find all SVN working copies on my PC. So they can be updated. I have found a similar question but it is specific to Powershell. So, I was wondering if there was a more general solution to find all 'SVN working copies' on Win XP. If I knew the equivalent of 'linux find' on windows I could probably write it myself. But I'm hoping that there may be a bash script out there already (or maybe some solution that's even simpler) that me and others could use. scans the computer if it

Excel Programming: Exception from HRESULT: 0x800A03EC. at Microsoft.office.Interop

旧街凉风 提交于 2019-12-06 06:48:09
问题 I have created a small application which opens,reads and creates Excel files. The app has been written in C# and I don't know why I get this error message when the application is running in one computer. I have run the same applicaiton on my computer and I don't have any problem. Can somebody help me and let me know why happen this error? thanks 回答1: First of all, I suspect the HRESULT was really 0x800A03EC (it's kinda important to communicate the exact number if you are talking error codes ;