windows-xp

Android create avd size on windows command prompt

坚强是说给别人听的谎言 提交于 2019-12-02 02:45:48
I'm starting with Android development and I have no idea what's wrong on the this command line: C:\Documents and Settings\Gabriel.Esquivel.android\avd>android create avd -n Ev o4G -t 9 -c 8000MB -s 480-800 Valid skins: WVGA854, WQVGA400, HVGA (default), WQVGA432, WVGA800, QVGA Error: '480-800' is not a valid skin name or size (NNNxMMM) I am trying to create the following AVDs http://mobile.tutsplus.com/tutorials/android/common-android-virtual-device-configurations/ , but it won't work on from Android SDK Manager. There seems to be bug that throws the following error "SD Card size must be at

Problem with Ruby on Rails installation - How to use WAMP MySQL installation?

橙三吉。 提交于 2019-12-02 00:34:16
I did the following to install Ruby on Rails on Windows XP: Installed rubyinstaller-1.9.2-p0.exe gem install rails gem install mysql2 cd my_dir rails new my_app -d mysql The created config/database.yml contains the following MySQL configuration: development: adapter: mysql2 encoding: utf8 reconnect: false database: first_development pool: 5 username: root password: host: localhost However, when I run rails server from my_dir I got the following error: D:/Programs/Ruby192/lib/ruby/gems/1.9.1/gems/mysql2-0.2.6-x86-mingw32/lib/mysql2 /mysql2.rb:2:in `require': 126: The specified module could not

How do I install GDI+ version 1.1 on Windows XP?

此生再无相见时 提交于 2019-12-01 23:53:01
Has anyone done this successfully? As I understand, GDI+ 1.1 only ships with Vista. I'm trying to get my hands on the different Effects classes. I'm using C++ VS2008 (VC9) GDI+ 1.1 is not redistributable according to EULA of Windows Vista. There is a version of GDI+ 1.1 in Office 2003 that does not work with the interfaces provided by Vista SDK. I am not sure if you can guess out the signatures of the flat APIs or not. there was strategic decision made to not redistribute GDI+ 1.1 来源: https://stackoverflow.com/questions/1724332/how-do-i-install-gdi-version-1-1-on-windows-xp

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046}

情到浓时终转凉″ 提交于 2019-12-01 23:33:09
问题 i use Windows XP_SP_3 and IIS 5 (local host), build site with asp.net4 and use this code: Application appClass = new Application(); Document wordDoc = appClass.Documents.Add(Server.MapPath("~") + @"Files\tmp.docx"); wordDoc.SaveAs(@"e:\hp\Files\" + TextBox1.Text + ".docx"); wordDoc.Close(); if run site with VS2010, its OK. but if run with IIS 5 (Local Host), show this error: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the

Rotating displays programmatically in Windows XP? (C++/Qt and WindowsAPI)

不问归期 提交于 2019-12-01 23:20:43
So, essentially, we're writing a service-level application that can alter attributes of various user-level settings. I'm working on the display portion right now. We've gotten it to work for the version of our software for Windows 7, and almost everything works with the exception of rotating the displays in Windows XP (which, curiously, DOES work in Windows 7). The "ChangeDisplaySettingsEX" function in the Windows API provided by Microsoft is returning the return code for a bad display mode (DISP_CHANGE_BADMODE), so I tried applying the flag to allow "unsafe" display modes (because I'm a rebel

availability of Win32_MountPoint and Win32_Volume on Windows XP?

人盡茶涼 提交于 2019-12-01 22:06:49
From the MSDN articles I've found -- http://msdn.microsoft.com/en-us/library/aa394515(v=VS.85).aspx -- Win32_Volume and Win32_MountPoint aren't available on Windows XP. However, I'm developing a C# app on Windows XP (64bit), and I can get to those WMI classes just fine. Users of my app will be on Windows XP sp2 with .Net 3.5 sp1. Googling around, I can't determine whether I can count on this or not. Am I successful on my system because of one or more of the following: - windows xp service pack 2? - visual studio 2008 sp1 was installed? - .Net 3.5 sp1? Should I use something other than WMI to

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046}

帅比萌擦擦* 提交于 2019-12-01 22:02:46
i use Windows XP_SP_3 and IIS 5 (local host), build site with asp.net4 and use this code: Application appClass = new Application(); Document wordDoc = appClass.Documents.Add(Server.MapPath("~") + @"Files\tmp.docx"); wordDoc.SaveAs(@"e:\hp\Files\" + TextBox1.Text + ".docx"); wordDoc.Close(); if run site with VS2010, its OK. but if run with IIS 5 (Local Host), show this error: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).

Warning MSB3283: Cannot find wrapper assembly for type library “MSComctlLib”. When building my app

梦想的初衷 提交于 2019-12-01 20:01:09
I have a Visual Studio solution that's been around for years. The project is a Visual Studio 2010 project, and I've been able to compile and run the project for years. This application is a critical application and only rarely do I need to launch the project and make minor changes for bug fixes that have been discovered. Today, I needed to do a bit of research. I opened the project on my old Windows XP dev box which is the same machine that I've developed on for years. I'm quite confident that nothing on this machine has changed, though there is a small chance that IT has pushed a Windows

C++: check if computer is locked

℡╲_俬逩灬. 提交于 2019-12-01 19:59:37
I'm trying to figure out whether the computer is locked. I've looked at LockWorkStation function, but the function that I'm hoping to find is IsWorkStationLocked . I need to support all windows version >= XP Peter From the same MSDN link you gave, the third paragraph of "Remarks" says: This function has the same result as pressing Ctrl+Alt+Del and clicking Lock Workstation. To unlock the workstation, the user must log in. There is no function you can call to determine whether the workstation is locked. To receive notification when the user logs in, use the WTSRegisterSessionNotification

can .net framework 4 works on top of windows xp?

寵の児 提交于 2019-12-01 18:39:20
I tried to run a small application that I've written using VS2010 on my old Windows XP desktop. I got the yellow screen of death showing me a portion of the web.config with assemblies. <compilation debug="true" targetFramework="4.0"> It looks like it didn't like the 4.0 framework. I re-wrote it, targeting 3.5 framework, this time it worked perfectly. I'd like to know if I can install .net framework 4.0 on top of Windows XP? Thanks for helping The system requirements indicate that Windows XP is supported as long as you have SP3 installed. Yes, that's possible. .NET 4.0 works fine on Windows XP