Dec 30, 2007

Download Gmail To Outlook

I tried to add Gmail POP manually ( without referring any information ) to outlook and create several issues such as duplicated outlook email and loading all my Gmail ( about 3Gb )... My goodness! Because I checked "Leave a copy of message to mail server"

So here we have a better way to do it!

Steps:
1. Login you Gmail > Settings ( Right Top )


2. You can refer the settings above, depend on your needs.
a. Forwarding:
Disable forwarding because I am not going to forward my gmail to other account.

b. POP Download:
Probably you will need the second check box if your Gmail message is large!
Second option will only retrieve the new Gmail from the time you set it.

c. Choose 'Archive Gmail copy' . This option will help you leave a copy into your 'ALL Mail' in your Gmail. Thus, NO NEED to check the outlook 'Leave a message on server' option.

You should read the configuration part to get further information.

For fast settings, refer here:
On your outlook

Account Type: POP3
Incoming mail server: pop.gmail.com
Outgoing mail server: smtp.gmail.com
User Name: your-gmail-account ( I prefer full gmail rather than ID )
Password: your-gmail-password
Check the 'Require logon using Secure Password Authentication (SPA)


Outgoing SMTP



Delivry settings ( no need to check it )

You may test your email by sending it to your self :)

Thank Gmail for POP3 service !!

Recommended Reading

How To Hide Outlook From Taskbar



Did you feel your task bar full of application?

Probably you have outlook turning on all the time to receive email.

So, to hide or remove or get rid of it?

Here we go...

Steps:



1. Right your outlook icon on your notification area ( usually right bottom )
2. Tick the "Hide When Minimized"
3. That's all :)

Recommended Reading

SVN With Visual Studio 2008

How To Get SourceSafe-Like Features for SVN on Visual Studio 2008 ?

Sometimes, just not too convenient to commit or check modification for files in windows explorer. I need to switch from applications to applications, is a bit troublesm.

It takes me about 1 month to find the best solution at the moment!
( I mean without paying any penny )

Currently I am using AnkhSVN and the settings files below.
For Difference Checking and Merging process, I am using WinMerge and KDiff3.
All of them integrated with Visual Studio IDE too.

Let's see what can we do with this settings solution!

Menu Bar


External Tools Menu


Most Wanted Right Click Menu
( When you select file, folder, project or solution, you will get different menu )


Most Wanted Menu Toolbar

So , for those who like the simplest way, can refer the method below.

Click To Download The Solution For VS2008.

Click To Download The Solution For VS2005.


Steps:

Copy settings file to your visual studio settings folder
1. 'your-domain-user-settings-folder'\Documents\Visual Studio 2008\Settings
2. paste file
a. SubversionMenuToolbarContextsVS2008.settings
(Visual Studio do not allow long file names!!)

Install registry file
(May be you should export and backup your registry first )
1. Copy to any folder of your local machine and run/install this file
a. SubversionMenuToolbarContextsVS2008.vbs

Load settings file to Visual Studio
1. Visual Studio 2008 > Tools > Import and Export Settings
2. Choose Yes, save my current settings and click next button
3. You notice exclaimation mark on the check box.
Expand it and CHECK both checkbox
a. Command Window Aliases
b. External Tool List
4. Click finish and your will get this message.
"Your settings were successfully imported from SubversionMenuToolbarContextsVS2008.vssettings.
"

To Show SVN Tortoise Toolbar
1. View > Toolbars > Subversion

You are done!

Resource modified to suit local development from
http://garrys-brain.blogspot.com/2007/07/tortoisesvn-and-visual-studio.html

Thanks Garrys!


If you want more features, try

a. AnkhSVN at http://ankhsvn.tigris.org/

b. WinMerge at http://winmerge.org/

c. KDiff3 at http://kdiff3.sourceforge.net/

I will write more about it soon!


Related Info:

Dec 28, 2007

TrueCrypt - Open Source Volume Encryptor


http://www.truecrypt.org/

Free open-source disk encryption software for Windows Vista/XP/2000 and Linux

Main Features:

  • Creates a virtual encrypted disk within a file and mounts it as a real disk.
  • Encrypts an entire hard disk partition or a storage device such as USB flash drive.
  • Encryption is automatic, real-time (on-the-fly) and transparent.
  • Provides two levels of plausible deniability, in case an adversary forces you to reveal the password:
  • 1) Hidden volume (steganography – more information may be found here).
  • 2) No TrueCrypt volume can be identified (volumes cannot be distinguished from random data).
  • Encryption algorithms: AES-256, Serpent, and Twofish. Mode of operation: LRW.

    WHAT IS HIDDEN VOLUME ?
    Hidden volume has two layer
    Outer layer and inner layer

    When you create a hidden volume,
    you will prompt to set password for outer layer
    which allow to be revealed.

    While inner layer is actually the most 'private' data

    It may happen that you are forced by somebody to reveal the password
    to an encrypted volume.
    In this case, you may just reveal outer layer password.

    MAP A TRUECRYPT DATA FILE TO A NEW DRIVE

To mount a new data file to map with a new drive / volume z:



Mount Method. You can set as read only and protect your hidden volume option.



Success Mounted. and you will get an extra drive z: with your data inside.
Right click and open it. You may want to store your 'private' data inside :)


CREATE A NEW VOLUME


Creating a new volume



Select an encryption option and set the volume size then format it before you can use it.

Dec 23, 2007

SpeeTest.net - What is your current broadband speed?

What is Speedtest.net?

Speedtest.net is a free broadband speed test with servers located all over the world. Compare your results with others and easily share them.

Click here to Test your own speed now.


Choosing CyberJaya Server ( which is the most nearest server from my house )
By the way, It will prompt you with a recommended server which is Metrofon.



SpeedTest.net allow you to view back your past result. So that you can compare the speed at difference time.


The Top 5 country.... Malaysia would be in..........



I think this information is useful to have a glance of rating among our ISP's.
The result is submitted by users. If your ISP is not in the list, probably you can help to submit it.

For my case, I am staying above 6th floor. According to Maxis Broadband instructor, the signal might be lessen if you staying more than 5th floor..... I still can't understand why. Somebody can answer me ?
And obviously, My speed is not as good as cable broadband.



I can get the max and min point from the graph. It is nice to have this features!



This is the upload speed result comparison among ISPs




* The information from speedtest.net at 23Dec2007.
I am using Maxis Broadband ( 384 Package) > 6th floor.
It might differ on difference user, areas, broadband package, interferences or other factors.

Feel free to post comment for you speed.
Mine: sever:Cyberjaya d/l: 313kbps u/l: 25kbps Package: 384kbps

What is yours ?

Dec 19, 2007

Pidgin - Multi-protocol Instant Messaging client



http://www.pidgin.im/

What is Pidgin?

Pidgin is a multi-protocol Instant Messaging client that allows you to use all of your IM accounts at once.

Pidgin can work with:

  • AIM
  • Bonjour
  • Gadu-Gadu
  • Google Talk
  • Groupwise
  • ICQ
  • IRC
  • MSN
  • MySpaceIM
  • QQ
  • SILC
  • SIMPLE
  • Sametime
  • XMPP
  • Yahoo!
  • Zephyr

Pidgin is free software. It is licensed under the GNU General Public License (GPL) version 2. This means you are free to use it and to modify it, but if you distribute your modifications you must distribute the modified source code as well.


Main Menu


Email notification


File Transfer

More features on right click menu

My two cents

Well, I am quite satisfy with Pidgin since my MSN Messenger having a lot of hard time for me.

Somtimes, MSN is hard to sign in or sign out after login and all my friend blocking me :S

Pidgin will not allow to sign in or out frequently ( check out with my second image above).

Besides, It support on different platform like windows, linux and CentOS /RHEL.

It is open source and developer can get the source from http://www.pidgin.im/download/source


Visual Studio 2008 - Technical Preview & Movie Screening ( Microsoft Malaysia)



How ?
Click here for registration


Where?

17 January 2008 09:00 - 17 January 2008 19:00 Kuala Lumpur
Welcome Time: 08:30

GSC 1 Utama
E- 403 , 4th Floor
1 Utama Shopping Centre (New Wing) Lebuh Bandar Utama, Bandar Utama Petaling Jaya Selangor 47800
Malaysia

Language(s): English.
Product(s): Visual Studio and Visual Studio Team System.
Audience(s): Developer and Technology Decision Maker.



What ?

1.Silverlight
A way to deliver media experiences and rich interactive applications for the web.

2. ALM (Applicaiton Lifecycle Management)
An intergrated approach to overcome application development challenges.

3. c#3.0 and VB9
Tips and Triks

4. Microsoft .NET Framework 3.5
New features and best practices

much more...


All attendees will receive:
Complimentary movie pass & popcorn, a FREE ONECARD,
included FREE parking for the event day.


My two cents
I registered, how about you?

Previous meeting was TechED 2007 SEA, really help me a lot on my current works (with .NET )
Personally, I like those events very much Microsoft based, Java, SAP, open source conference as well as gathering for bloggers, web developers or even web designers.

Please inform me have any functions as above again!

By the way, just get to know that AMBP ( All Malaysian Bloggers Project ) will have their 1st gathering on Jan 2008.
Click to read more info from LiewCF.com
Publish Post


Dec 17, 2007

Introducing My Medium Budget Desktop PC

08 Dec 2007, I got my new AMD machine assembled. Hoooray!
( of cause, my wallet shrink-ed too )

This few weeks trying to play around with it, test its performance and tweaking it.

Actually it is just a medium budget machine. ( no $$ le )

My aim is to get me back to 3D work, multimedia work, and able to use VS2008 & Vista Aero.
Besides, able to play 3D games (hope I still got time for it ) and just be my musice juke box.

Oooo ya.. one more challenge for my machine is to able run P2P over 24 hours if needed.
( so pity for my machine).
Because Multimedia Rendering might need to on it over the night.

Yes, here we go! Introducing my processor.


( only afford to buy a mid-range processor >_<)



( RAM 1 Gig 667mhz X2 - Kingston)



( PSU Cooler Master 460Watt - The sales guy says able to support for 24 hours, sure?)





( MSI, Taiwan. Midrange Motherboard K9N able to support AMD+ processor for future
http://www.msi.com.tw )



( Yahoo0! Nice 19" Samsung LCD 961bw wide screen )



(Purchased Genuine Version of Kaspersky Antivirus Suite for bundle and is RM20 only!)


( Inside my new CPU )




( Midrange budget Graphic Card - China Brand Colorful GF8600GT )
( With Fan one.. but still not so noisy, may be still new ha ha ha )
( Heard some of the friends say, using AMD better combination is ATI,is it true ? But mine is...)


( ATX cheap cheap casing lor - got 6 usb and front panel jet ( I like !) )

So... Come to the end. The most wanted question?

How much it cost me ?

Answer: RM 1400 ( only machine ) + RM 675 ( LCD )
Aiks... need to earn more $ , anyway, this new machine will helps me on my blog and multimedia venture.. Hope it is able to stay and 'survive' longer.. ha ha..
You know I am a 'serious' developer ma!

Dec 13, 2007

Display XML Tag on HTML

Sometimes you need to show the < & > Tag

You can use:
&lt; xmp &gt; my node &lt; / xmp &gt;


You will get a similiar and valid xml tag.
else you will not get < > tag in the output.

Dec 11, 2007

Photoshop Frequent Used Shortcut Key

Get my Wacom Graphie3 TableTopia installed back! Currently working on new AMD machine.

Will continue back my multimedia venture :)

Photoshop Shortcut Tips (version CS3):

Brush Control
1. Opacity
Num Pad numbering represent the % of opacity
2. Hardness / Flow Control
{ less; } greater
3. Brush Size
[ less; ] greater
4. Brush Selection
, Previous; . Next


Common Tools
1. Brush (B)
2. Move Tool(V)
3. Zoom (Z)
4. Marquee Tool (M)
5. Lasso (L)
6. Crop (C)
7. Slice (K)
8. Healing Brush (J)
9. Clone Stamp (S)
10. Eraser (E)


Selection
1. De-Select ( Ctrl + D)

Zoom
1. Greater ( Ctrl + +)
2. Lesser ( Ctrl + -)
3. Fit On Screen ( Ctrl + 0 zero)
4. Actual Pixel ( Ctrl + Alt + 0 zero)
5.


Extra Tools
1. Extract ( Alt + Ctrl + X )
2. Liquify ( Shift + Crtl + X)

Display
1. Extras Slice Guide ( Ctrl + H )
2. Ruler ( Ctrl + R )
3. Snap ( Ctrl + Shift + ;)

Image
1. Level ( Ctrl + L )
2. Curves ( Ctrl + M)
3. Hue ( Ctrl + U)


Save / Export
1. Save Web ( Ctrl + Alt + Shift + S)

Other
1. Show Shortcut Tips (Ctrl + Alt + Shift + K )

MSN Messenger Error Code 8100378



You can try solution in below:

Open windows host file with Notepad: C:\Windows\System32\Drivers\etc\ho­sts

Add these 2 lines to the bottom:

65.54.239.80 messenger.hotmail.com
65.54.239.80 dp.msnmessenger.akadns.net

Save it and restart msn

Please do remember to remove these lines when the msn service gets back to normal.

MSN Connection Key Port Issue (Error 80048820)



Summary of solution I gathered:

Solution 1
In my case I reinstalled the network card and strangely that seemed to do the trick! If it doesn’t work for you, give the below solutions a try.

Solution 2
Try removing any proxy settings, you can do this by following these steps.
1) Open up Internet explorer
2) Click the tools menu, then Internet options
3) Select the connections tab
4) Click the “LAN Settings” button
5) Ensure “Automatically Detect Settings” checkbox is ticked
6) Untick “Use a proxy server for your LAN …” if checked
7) Click ok, then ok
8) Start up MSN and give it a whirl!

Solution 3
Check your windows System clock and ensure it’s set to the correct time and date.

Solution 4
Has your Norton subscription run out? Some people have reported this will stop MSN from working. (Not sure why … so don’t ask)

Solution 5
You can try resetting your Internet Security properties to defaults.
1) Open up Internet explorer
2) Click the tools menu, then Internet options
3) Select the security tab
4) Click the Restricted sites icon
5) Ensure MSN.com or hotmail.com isn’t on that list. If so, remove it. Click ok.
6) Select the Internet Icon and click the “Default Level” button. This will return your Security settings to the default level.
7) Click ok, close down IE and MSN and then try launching MSN.

Solution 6
Try and isolate the problem, find out whats causing the the error. If you have norton, turn it off. Does the problem still appear? If not, it looks like Norton is blocking it. Read the Norton manual and find out how to allow programs to access the Internet. This applies to Zonealarm, and other firewall programs.

Solution 7
Try to register softpub.dll using regsvr32.exe.

1. Press the Start menu then select Run
2. Type: regsvr32 softpub.dll
3. Press Enter & Restart Messenger.

Solution 8
1. If you have Norton installed, run LiveUpdate, make sure you have most current version.
2. Delete your Quaruntine and Backup files in Norton.
3. Reboot computer

For my self, I tried solution 7, and sometimes it works very well.

Dec 10, 2007

Call Webservice Method Using MS SoapClient

Well, force to use asp to communicate with .NET webservices.
So, I choose the simplest way where I am using Microsoft Soap Client generic object to use my webservice method.

Here is my code:


dim soapclient
'// create SoapClient object
SET soapclient = CreateObject("MSSOAP.SoapClient")

'// set Server HTTP Request to true
SoapClient.ClientProperty("ServerHTTPRequest") = True

'// SOAP init with my webservice URL
Call Soapclient.mssoapinit("http://localhost/Elinkz_TestProject_TestService.asmx?wsdl")

'// GetTestData(xxx) is my webservices with param
response.write soapclient.GetTestData("myParamToMyWebservice")
response.end

-----------------------------------------------------------------------

GoogleSearch(Query, Start, MaxResults, Filter, Restrict, SafeSurf, Lr)
Dim Key
Key = "your key goes here"

Dim SoapClient
set SoapClient = Server.CreateObject("MSSOAP.SoapClient")

Dim NodeList
SoapClient.ClientProperty("ServerHTTPRequest") = True
SoapClient.mssoapinit "http://api.google.com/GoogleSearch.wsdl"
Set NodeList = SoapClient.doGoogleSearch(key, _
Query, Start, MaxResults, Filter,
Restrict, SafeSurf, Lr, "", "")

Set NodeList = Nothing
Set SoapClient = Nothing
End Function

-----------------------------------------------------------------------------

Function PerformGoogleSpellingSuggestion(Words)
Dim Key
Key = "your key goes here"

Dim SoapClient
set SoapClient = Server.CreateObject("MSSOAP.SoapClient")

Dim RetVal
SoapClient.ClientProperty("ServerHTTPRequest") = True
SoapClient.mssoapinit "http://api.google.com/GoogleSearch.wsdl"
RetVal = SoapClient.doSpellingSuggestion(Key, Words)

If RetVal > "" Then
Response.write RetVal
Else
Response.Write "No Suggestions"
End If

Set SoapClient = Nothing
End Function

-------------------------------------------------------------------------------

Function PerformGoogleGetCachedPage(Url)
Dim Key
Key = "your key goes here"

Dim SoapClient
Set SoapClient = Server.CreateObject("MSSOAP.SoapClient")

Dim RetVal
Dim DecodedPage
Dim i
dim NewArray

SoapClient.ClientProperty("ServerHTTPRequest") = True
SoapClient.mssoapinit "http://api.google.com/GoogleSearch.wsdl"
RetVal = SoapClient.doGetCachedPage(Key, Url)
NewArray = RetVal

for i = 1 to ubound(NewArray)
DecodedPage = DecodedPage & chr(ascB(MidB(NewArray, i, 1)))
next

Response.Write DecodedPage
Set SoapClient = Nothing
End Function

-------------------------------------------------------------------------------

You can use Google WS for free :) but only 1000 limit transaction per day!

Dec 7, 2007

ScrewTurn Wiki - Open Source .NET Wiki



ScrewTurn Wiki is a fast, powerful and simple ASP.NET wiki engine, installs in a matter of minutes and it's available in different packages, fitting every need. It's even free and opensource.

visit here.

Dec 6, 2007

World Countries Drop Down List Code

I am sure you might need to load world countries drop down list, if you are developing system.

Well, today I found that existing country drop down codes din't have value for each of list items.
First idea in my mind was, start adding codes line by line ... walao !!!

Until added for about 20 lines, I was frustrated and I am not going to do that for the rest of few hundreds line!!

Luckly, my brain still working... I found a easy logic to solve it.

Share with you all, may be you will need it one day. Because this piece of code is wanted & re-usable.


Private Sub LoadCountryDropdownList()

dropCountry.Items.Clear
dropCountry.Items.Add("Afghanistan")
dropCountry.Items.Add("Albania")
dropCountry.Items.Add("Algeria")
dropCountry.Items.Add("American Samoa")
dropCountry.Items.Add("Andorra")
dropCountry.Items.Add("Angola")
dropCountry.Items.Add("Anguilla")
dropCountry.Items.Add("Antarctica")
dropCountry.Items.Add("Antigua and Barbuda")
dropCountry.Items.Add("Argentina")
dropCountry.Items.Add("Armenia")
dropCountry.Items.Add("Aruba")
dropCountry.Items.Add("Australia")
dropCountry.Items.Add("Austria")
dropCountry.Items.Add("Azerbaijan")
dropCountry.Items.Add("Bahamas")
dropCountry.Items.Add("Bahrain")
dropCountry.Items.Add("Bangladesh")
dropCountry.Items.Add("Barbados")
dropCountry.Items.Add("Belarus")
dropCountry.Items.Add("Belgium")
dropCountry.Items.Add("Belize")
dropCountry.Items.Add("Benin")
dropCountry.Items.Add("Bermuda")
dropCountry.Items.Add("Bhutan")
dropCountry.Items.Add("Bolivia")
dropCountry.Items.Add("Bosnia and Herzegovina")
dropCountry.Items.Add("Botswana")
dropCountry.Items.Add("Bouvet Island")
dropCountry.Items.Add("Brazil")
dropCountry.Items.Add("British Indian Ocean Territory")
dropCountry.Items.Add("Brunei")
dropCountry.Items.Add("Bulgaria")
dropCountry.Items.Add("Burkina Faso")
dropCountry.Items.Add("Burundi")
dropCountry.Items.Add("Cambodia")
dropCountry.Items.Add("Cameroon")
dropCountry.Items.Add("Canada")
dropCountry.Items.Add("Cape Verde")
dropCountry.Items.Add("Cayman Islands")
dropCountry.Items.Add("Central African Republic")
dropCountry.Items.Add("Chad")
dropCountry.Items.Add("Chile")
dropCountry.Items.Add("China")
dropCountry.Items.Add("Christmas Island")
dropCountry.Items.Add("Cocos (Keeling) Islands")
dropCountry.Items.Add("Colombia")
dropCountry.Items.Add("Comoros")
dropCountry.Items.Add("Congo")
dropCountry.Items.Add("Cook Islands")
dropCountry.Items.Add("Costa Rica")
dropCountry.Items.Add("Cé­Œe d'Ivoire")
dropCountry.Items.Add("Croatia (Hrvatska)")
dropCountry.Items.Add("Cuba")
dropCountry.Items.Add("Cyprus")
dropCountry.Items.Add("Czech Republic")
dropCountry.Items.Add("Congo (DRC)")
dropCountry.Items.Add("Denmark")
dropCountry.Items.Add("Djibouti")
dropCountry.Items.Add("Dominica")
dropCountry.Items.Add("Dominican Republic")
dropCountry.Items.Add("East Timor")
dropCountry.Items.Add("Ecuador")
dropCountry.Items.Add("Egypt")
dropCountry.Items.Add("El Salvador")
dropCountry.Items.Add("Equatorial Guinea")
dropCountry.Items.Add("Eritrea")
dropCountry.Items.Add("Estonia")
dropCountry.Items.Add("Ethiopia")
dropCountry.Items.Add("Falkland Islands (Islas Malvinas)")
dropCountry.Items.Add("Faroe Islands")
dropCountry.Items.Add("Fiji Islands")
dropCountry.Items.Add("Finland")
dropCountry.Items.Add("France")
dropCountry.Items.Add("French Guiana")
dropCountry.Items.Add("French Polynesia")
dropCountry.Items.Add("French Southern and Antarctic Lands")
dropCountry.Items.Add("Gabon")
dropCountry.Items.Add("Gambia")
dropCountry.Items.Add("Georgia")
dropCountry.Items.Add("Germany")
dropCountry.Items.Add("Ghana")
dropCountry.Items.Add("Gibraltar")
dropCountry.Items.Add("Greece")
dropCountry.Items.Add("Greenland")
dropCountry.Items.Add("Grenada")
dropCountry.Items.Add("Guadeloupe")
dropCountry.Items.Add("Guam")
dropCountry.Items.Add("Guatemala")
dropCountry.Items.Add("Guinea")
dropCountry.Items.Add("GuineaBissau")
dropCountry.Items.Add("Guyana")
dropCountry.Items.Add("Haiti")
dropCountry.Items.Add("Heard Island and McDonald Islands")
dropCountry.Items.Add("Honduras")
dropCountry.Items.Add("Hong Kong SAR")
dropCountry.Items.Add("Hungary")
dropCountry.Items.Add("Iceland")
dropCountry.Items.Add("India")
dropCountry.Items.Add("Indonesia")
dropCountry.Items.Add("Iran")
dropCountry.Items.Add("Iraq")
dropCountry.Items.Add("Ireland")
dropCountry.Items.Add("Israel")
dropCountry.Items.Add("Italy")
dropCountry.Items.Add("Jamaica")
dropCountry.Items.Add("Japan")
dropCountry.Items.Add("Jordan")
dropCountry.Items.Add("Kazakhstan")
dropCountry.Items.Add("Kenya")
dropCountry.Items.Add("Kiribati")
dropCountry.Items.Add("Korea")
dropCountry.Items.Add("Kuwait")
dropCountry.Items.Add("Kyrgyzstan")
dropCountry.Items.Add("Laos")
dropCountry.Items.Add("Latvia")
dropCountry.Items.Add("Lebanon")
dropCountry.Items.Add("Lesotho")
dropCountry.Items.Add("Liberia")
dropCountry.Items.Add("Libya")
dropCountry.Items.Add("Liechtenstein")
dropCountry.Items.Add("Lithuania")
dropCountry.Items.Add("Luxembourg")
dropCountry.Items.Add("Macau SAR")
dropCountry.Items.Add("Macedonia Former Yugoslav Republic of")
dropCountry.Items.Add("Madagascar")
dropCountry.Items.Add("Malawi")
dropCountry.Items.Add("Malaysia")
dropCountry.Items.Add("Maldives")
dropCountry.Items.Add("Mali")
dropCountry.Items.Add("Malta")
dropCountry.Items.Add("Marshall Islands")
dropCountry.Items.Add("Martinique")
dropCountry.Items.Add("Mauritania")
dropCountry.Items.Add("Mauritius")
dropCountry.Items.Add("Mayotte")
dropCountry.Items.Add("Mexico")
dropCountry.Items.Add("Micronesia")
dropCountry.Items.Add("Moldova")
dropCountry.Items.Add("Monaco")
dropCountry.Items.Add("Mongolia")
dropCountry.Items.Add("Montserrat")
dropCountry.Items.Add("Morocco")
dropCountry.Items.Add("Mozambique")
dropCountry.Items.Add("Myanmar")
dropCountry.Items.Add("Namibia")
dropCountry.Items.Add("Nauru")
dropCountry.Items.Add("Nepal")
dropCountry.Items.Add("Netherlands")
dropCountry.Items.Add("Netherlands Antilles")
dropCountry.Items.Add("New Caledonia")
dropCountry.Items.Add("New Zealand")
dropCountry.Items.Add("Nicaragua")
dropCountry.Items.Add("Niger")
dropCountry.Items.Add("Nigeria")
dropCountry.Items.Add("Niue")
dropCountry.Items.Add("Norfolk Island")
dropCountry.Items.Add("North Korea")
dropCountry.Items.Add("Northern Mariana Islands")
dropCountry.Items.Add("Norway")
dropCountry.Items.Add("Oman")
dropCountry.Items.Add("Pakistan")
dropCountry.Items.Add("Palau")
dropCountry.Items.Add("Panama")
dropCountry.Items.Add("Papua New Guinea")
dropCountry.Items.Add("Paraguay")
dropCountry.Items.Add("Peru")
dropCountry.Items.Add("Philippines")
dropCountry.Items.Add("Pitcairn Islands")
dropCountry.Items.Add("Poland")
dropCountry.Items.Add("Portugal")
dropCountry.Items.Add("Puerto Rico")
dropCountry.Items.Add("Qatar")
dropCountry.Items.Add("Reunion")
dropCountry.Items.Add("Romania")
dropCountry.Items.Add("Russia")
dropCountry.Items.Add("Rwanda")
dropCountry.Items.Add("St. Kitts and Nevis")
dropCountry.Items.Add("St. Lucia")
dropCountry.Items.Add("St. Vincent and the Grenadines")
dropCountry.Items.Add("Samoa")
dropCountry.Items.Add("San Marino")
dropCountry.Items.Add("S鉶 Tom?and Pr韓cipe")
dropCountry.Items.Add("Saudi Arabia")
dropCountry.Items.Add("Senegal")
dropCountry.Items.Add("Seychelles")
dropCountry.Items.Add("Sierra Leone")
dropCountry.Items.Add("Singapore")
dropCountry.Items.Add("Slovakia")
dropCountry.Items.Add("Slovenia")
dropCountry.Items.Add("Solomon Islands")
dropCountry.Items.Add("Somalia")
dropCountry.Items.Add("South Africa")
dropCountry.Items.Add("South Georgia and the South Sandwich Islands")
dropCountry.Items.Add("Spain")
dropCountry.Items.Add("Sri Lanka")
dropCountry.Items.Add("St. Helena")
dropCountry.Items.Add("St. Pierre and Miquelon")
dropCountry.Items.Add("Sudan")
dropCountry.Items.Add("Suriname")
dropCountry.Items.Add("Svalbard and Jan Mayen")
dropCountry.Items.Add("Swaziland")
dropCountry.Items.Add("Sweden")
dropCountry.Items.Add("Switzerland")
dropCountry.Items.Add("Syria")
dropCountry.Items.Add("Taiwan")
dropCountry.Items.Add("Tajikistan")
dropCountry.Items.Add("Tanzania")
dropCountry.Items.Add("Thailand")
dropCountry.Items.Add("Togo")
dropCountry.Items.Add("Tokelau")
dropCountry.Items.Add("Tonga")
dropCountry.Items.Add("Trinidad and Tobago")
dropCountry.Items.Add("Tunisia")
dropCountry.Items.Add("Turkey")
dropCountry.Items.Add("Turkmenistan")
dropCountry.Items.Add("Turks and Caicos Islands")
dropCountry.Items.Add("Tuvalu")
dropCountry.Items.Add("Uganda")
dropCountry.Items.Add("Ukraine")
dropCountry.Items.Add("United Arab Emirates")
dropCountry.Items.Add("United Kingdom")
dropCountry.Items.Add("United States")
dropCountry.Items.Add("United States Minor Outlying Islands")
dropCountry.Items.Add("Uruguay")
dropCountry.Items.Add("Uzbekistan")
dropCountry.Items.Add("Vanuatu")
dropCountry.Items.Add("Vatican City")
dropCountry.Items.Add("Venezuela")
dropCountry.Items.Add("Vietnam")
dropCountry.Items.Add("Virgin Islands (British)")
dropCountry.Items.Add("Virgin Islands")
dropCountry.Items.Add("Wallis and Futuna")
dropCountry.Items.Add("Yemen")
dropCountry.Items.Add("Yugoslavia")
dropCountry.Items.Add("Zambia")
dropCountry.Items.Add("Zimbabwe")

'// This is the piece of code that helps me for the rest of hundres c&p works
For Each countryItem As ListItem In dropCountry.Items
countryItem.Value = countryItem.Text.ToUpper
Next

'//You might need a default country selected.
Dim defaultCountry As String = _
System.Configuration.ConfigurationSettings.AppSettings("defaultCountry").ToString

dropCountry.Items.FindByValue(defaultCountry).Selected = True

End Sub

Dec 5, 2007

FlashSandy Flash 3D Engine



http://www.flashsandy.org/

Really great demo!

Try this! http://www.flashsandy.org/demos/protopop_walk


This 3D engine main features are :

  • Flash player 7 to 9 compatibility.
  • Both MTASC and Macromedia compilers compliant for AS2 and Flash CS3 and FlexBuilder for AS3 versions.
  • Several 3D primitives, allowing fast and parameterized object creation without any 3D modelisation knowledge.
  • Advanced and easy object management allowing some fantastic possibilities during your creations (scaling, rotation, translation, tween, etc.)
  • Advanced camera management ( rotation, motion on linear or bezier-curve path, movements, etc.)
  • Complex object loading thanks to the .ASE and .WRL files parser , but also Collada and 3DS files for AS3, (files generated by several 3D object modeling packages such as 3D Studio Max or Blender)
  • Material system to easily change your objects appearance. Several material are available allowing to create transparent faces, bitmap texture and video texture as webcam video stream.
  • Managment of Flash filters bringing some very nice visual effects
My Two Cents
woooooow.... this will take my time way , I am sure will look into this API !!!
May be one day will revamp my final year 3D game project in flash :)
with my Final Year Project team mate Rayden!!!

Visual 2005 Website Published An Empty Folder

Just now I was publishing my .NET 2.0 website. What a shock! Visual Studio 2005 shown published completed and successful. However, my target published folder was empty!!

Then I Google out, and try out several solution, and I got this solved my issue:

In that case, you should try to precompile you site manually. To do so, Click Start -> Programs -> Microsoft Visual Studio 2005 -> Visual Studio Tools -> Visual Studio 2005 Command Prompt
At command prompt type Aspnet_compiler -v /WebApplication1 -p "c:\CompiledSite " -errorstack -errorstack Specifies that the tool should include stack trace information if it fails to compile the application. For more see http://msdn2.microsoft.com/en-us/library/ms229863(VS.80).aspx If You see some thing like [HttpParseException]: Unexpected end of file looking for tag. Correct the error(s) and run again. Till the time you finish it with no error.
Yeah! Finally I found one of my aspx file containing some invalid xhtml codes.
You can always turn on the validation when you build your web projects.



And you got your error and get it solved before you publish it.

Dec 4, 2007

Add HTML Signature to Outlook 2007

Add HTML signature to Outlook 2007

In order to get an existing html signature file added to Outlook 2007 there are several steps to take that are very different from previous versions of Outlook.

1) In Outlook 2007 open Tools > Options > Mail Format and select signatures

2) Create a new signature and give it a meaningful name. Press Ok.

3) Open up an explorer window (win + e) and navigate to C:\Documents and Settings\User name\Application Data\Microsoft\Signatures. If you can not see the Application Data folder you need to show hidden files and folders.

4) Open the html signature file that you just created with notepad,
right click > open with.
Remove the contents of this file and replace it with your html signature code.
Save this file, file > save.

5) While you are in here it wouldn't hurt to make the text version of the signature look like you want it to as well.

Once you have edited the html source of the new signature you should see it in its correct form in the signature area of Outlook 2007

Dec 3, 2007

Hong Kong billionaire takes $60M Facebook stake

Hong Kong billionaire Li Ka-shing has invested $60 million in social networking Web site Facebook, equivalent to a 0.4% stake, and has the option for an additional $60 million investment, according to a report by a technology blog.


Microsoft not too bad invest about
$240 million!

Read more:
http://www.marketwatch.com/news/story/hong-kong-billionaire-takes-60/story.aspx?guid=%7B0A9F4B3F-DB22-4211-9CB9-3707BA2DA109%7D

My Two Cents
Woooow... Facebook really a 'black horse' win over a lot of friendster fans I guest. It's open API concept is really work-able!

I am planning to develop some funs things on FB too.

My Demon in The Golden Compass!



http://www.goldencompassmovie.com/

Watch the trailer, it is good to be watched in cinema :)

Microsoft Office Mobile 6.1 - Upgrade for Office 2007 File formats

Microsoft Office Mobile 6.1
Upgrade for Microsoft Office 2007 file formats

Download here.

Information from LokeUei Blog posted at: http://blogs.msdn.com/lokeuei/archive/2007/11/30/office-2007-formats-for-windows-mobile-5-0-and-6.aspx

Dec 2, 2007

PC Fair (III) 2007



Information copied from http://pikom.org.my/cms/General.asp?whichfile=PC+Fair+InfoCentre&ProductID=22461&CatID=12

Dates and Venue

30 Nov - 2 Dec 2007
11:00 am - 9:00 pm

Penang International Sports Arena, Penang
Jalan Tun Dr Awang, 11900 Relau

Sabah Trade Centre, Kota Kinabalu, Sabah

Jalan Istiadat, Teluk Likas, 88400 Kota Kinabalu

Terminal One Shopping Centre, Seremban, Negeri Sembilan
Jalan Lintang, 70000 Seremban

Berjaya Megamall, Kuantan, Pahang
Jalan Tun Ismail, Sri Dagangan, 25000 Kuantan

7 - 9 December 2007
11:00 am - 9:00 pm

KL Convention Centre, Kuala Lumpur (Route Map)
Kuala Lumpur City Centre, 50888 Kuala Lumpur

Mahkota Parade Melaka
Jalan Merdeka, 75000 Bandar Hilir

Central Square, Sungai Petani, Kedah
Jalan Kampung Baru, 08000 Sungai Petani

14 - 16 December 2007
11:00 am - 9:00 pm

Persada Johor International Convention Centre, Johor Bahru, Johor
Jalan Abdullah Ibrahim, 80000 Johor Bahru

Stadium Indera Mulia, Ipoh, Perak *Ipoh Cancelled*
Jalan Stadium Perak, 31400 Ipoh

Kemaman Centre Point, Kemaman, Terengganu
Jalan Dato' Omar Chukai, 21100 Kemaman

Dewan Wawasan 2020, Kangar, Perlis
Persiaran Wawasan, 01000 Kangar

Dewan Suarah Bintulu, Sarawak *New Dates*
Jalan Tun Ahmad Zaidi, 97008 Bintulu

Exhibitor information
- Venue Layouts

Please contact Jeslynn or Jeremy at +603 7955 2922 or email us at pcfair@pikom.org.my for more information.