Connect Windows Mobile 5.0 Smartphone Emulator to the Internet on Vista

The easiest way to connect Windows Mobile 5.0 Smartphone emulator to the Internet in Visual Studio 2005 on Windows Vista is to cradle the emulator, however the problem is… (with a step by step guide and images)

Here comes again. There was one of my old projects on Windows Mobile 5.0 Smartphone needed to be changed a little and re-released. I just re-installed my laptop couple weeks ago. Which means I have to install all the mobile SDKs and setup my development environment once again.

Finding and installing those SDKs is easy. The problem only comes when you trying to get internet working on your emulator. The method I was using before is to get NE2000 card working on the emulator. In order to do that, you will need a virtual network drive (or something) installed first on Windows Vista. And I found that my VPN always having troubles after I install it. That’s why I won’t recommend this method to anyone trying to set it up the first time.

So I figure as long as I can cradle Windows Smartphone 5.0 emulator, I should be able to access the Internet by using pass-through.

To cradle Windows Smartphone 5.0 emulator on Windows Vista. You will need:

  • Install Windows Mobile Device Center (it really is Vista version of ActiveSync). Select DMA for Allow connections to one of the following
  • Open Device Emulator Manager from Tools menu of Visual Studio 2005
  • Open your emulator by selecting Windows mobile 5.0 Smartphone Emulator, right click and select Connect
  • With the emulator selected still in Device Emulator Manager, right click and select Cradle

Image: Windows Mobile Device Center Settings

Image: Device Emulator Manager in Visual Studio 2005

If you see nothing happened to your Windows Mobile Device Center, it doesn’t mean you missed some steps from the above. It happened only because the Device Emulator 1.0 is the one comes with Visual Studio 2005 has this cradle problem on Windows Vista.

The solution is to download Microsoft Device Emulator 2.0 and by installing 2.0, it will replace the old one. Read this note from its download page: “DeviceEmulator 2.0 has taken a few design changes to work with the Windows Vista operating system that enables the emulator to be cradled using the Windows Mobile Device Center”.

This is the result after upgrading to Device Emulator 2.0 and cradling the emulator: Smartphone Emulator 5 Cradled

I would select “Connect without setting up your device” . The emulator should have Internet access now.

Windows smartphone emulator with Internet access

Links:

Microsoft Device Emulator 2.0

Windows Mobile Device Center 6.1

Windows Mobile 5.0 SDK for Smartphone

Comments (5)

SQL Injection vulnerability on Plesk 8.2.0

I just read this one from SWsoft forum.

There is a SQL injection vulnerable security hole exists on Plesk 8.x.x. Yes, it’s even on 8.2.0, which is the latest stable version.

It’s /usr/local/psa/admin/plib/class.Session.php.

Here’s the fix.

Comments

Linux common commands

1. Check folder size

$ du -hs /path/to/directory

2. Zip a folder

$ zip -r filename.zip /path/to/folder

3. Mount a portable harddrive / usb drive

$/sbin/fdisk -l

4. Check memory usage

$ free -m

by look into the free column of -/+ buffers/cache line, it’s the free memory that can be used by applications.

5. Check if a package is installed (RedHat Enterprise/Fedora/Suse/CentOS)

$rpm -qa | grep PACKAGE-NAME

Comments

Monster Hunter Freedom 2 Highly Recommended!

MHF 2 is available now! Monster Hunter 2 on PSP. Its release date is August 28, 2007 on gamespot.

I am not sure if I can pick it up in a local store in Toronto today. But I will.

There’s never a game which I can keep playing for 180 hours now. I know. It is crazy!

It takes a lot of time to gather all the resources to make your own weapons and armors. Different weapons have different element property which means different damage for the same monsters. Even poison the monsters or put them into sleep. Armors have different skill points. Once you reach levels you will be able to have different techniques such as auto mark monster on the map, more hit points and etc.

The most fun part is the multi player. I have couple friends often come to my place and we play a 3, 4 hunter’s quest for a big dragon. We’ve done some request over 10 times just to gather enough resources to make a anti-dragon bow ;)

I’ve been play Japanese versions only. The technical words may not be correct.

Here’s an amazing video of 4 hunters vs one of latest big bosses.

Comments

Comodo Firewall 3 Beta2 is Out!

I just visited Comodo’s Beta Corner today and found that beta 2 was out! Great news! For 4 months I’ve been waiting for Comodo’s amazing free firewall product that supports Windows Vista. And it’s finally almost here.

Being one of the many Comodo firewall fans, I was going to change to Windows XP after I got my laptop back in May. The reason is that Comodo firewall version 2.x doesn’t support Windows Vista. However, lucky for all us, they had an announcement version 3 which supports Vista, 64bit Windows and it’s almost alpha.
Well, that was the waiting history. :)

The next update will be a RC and I am going to definitely put a RC version on my day-to-day use laptop!

Thumbs up Comodo!

See the release date from here:

Comments

Most Useful Firefox Add-ons

Firefox is great. Why?

It’s fast and html/css standards well supported. The greatest feature of firefox is it’s extension infrastructures.

you can find almost everything you needed for your surfing pleasure or web programming.

Here’s a list of them which are always installed with my firefox. You can download them and find more info from by clicking on the links

Comments

Take apart a friend’s PSP

My friend’s PSP is not working no more. The “R” trigger button seems always be pressed by an invisible force;) .

The syndrom is that he can start a game, but cannot quit a game by pressing Home button. Once the back to home screen is shown, there’s no response by press any button except the home key itself.

Also in MHP2 (Monster Hunter Portable 2) , the hunter is always running. (appears just like when R button is pressed)

We think it’s because the PSP is busy responding to the pressed R button.

Thus, the immediate solution I had was to take apart the psp and do so some inspection and cleaning.

It’s not difficult to open the cover at all, there are 4 screws inside the battery compartment, 2 on the back of the psp located the other side. and another one on the side opposite to the UMD door.

Open the front cover was easy too. Same as the plastic right trigger.

Comments

Google search result udpate August 2007

I suddenly saw a boost in traffic from 2 major websites of my projects. A simple “site: “command, I found that one website, used to have 3000+ pages indexed in google with pages in supplementary search result after the first result page, has 7000+ indexed normally (out of supplementary results) after almost 6 months seo work.

The other one, used to have 300+ indexed (most of them are in supplementary results), has 483 pages indexed out of supplementary results after constantly building quality links.

Well, the hard work certainly pays!

Comments

How to enable asp.net / asp for IIS 7.0 on Windows Vista

If you find you self in a situation that an aspx page cannot be accessed from IIS 7 on Windows Vista, read this.

go to Control Panel –> Program –> Turn Windows Features on or off

then expand Internet Information Services –> World Wide Web Services –> Application Development Features

Last, just check what features you need: ASP, ASP.NET, CGI, ISPI and etc.

enable ASP, ASP.NET, CGI on IIS 7 on Windows Vista

Comments (2)

Windows most common shortcut keys

Here’s a list of most common shortcut keys(hot keys) used on Windows OS or in Windows applications. I use those to improve productivity. And you can image that when my colleges see I do something without using the mouse they ask, how did you do that? Well, these shortcut keys are not secret. You can find it in Windows help or documentations.

Note: WIN is the windows key, the one with a Windows logo.

  1. WIN + E, open windows explorer.
  2. Ctrl + C, copy selected file(s).
  3. Ctrl + X, cutselected file(s) .
  4. Ctrl + A, select all files.
  5. Ctrl + V, paste selected file(s) in place.
  6. Ctrl + Shift + ESC
  7. WIN + D, show desktop
  8. WIN + R, show run dialog
  9. WIN + L, lock computer
  10. WIN + tab, show 3D windows list (in Windows Vista and theme enabled)

Comments