December 2003 - Posts
Today i am going to say :Merry Christmas to all of the person who I known ,whosoever i love and whosoever i hate!
---------------------------------
How "Merry Christmas" is said .....
Happy New Year
Afrikaans: Ges?nde Kersfees
Afrikander: Een Plesierige Kerfees
African/ Eritrean/ Tigrinja: Rehus-Beal-Ledeats
Albanian:Gezur Krislinjden
Arabic: Idah Saidan Wa Sanah Jadidah
Argentine: Feliz Navidad
Armenian: Shenoraavor Nor Dari yev Pari Gaghand
Azeri: Tezze Iliniz Yahsi Olsun
Bahasa Malaysia: Selamat Hari Natal
Basque: Zorionak eta Urte Berri On!
Bengali: Shuvo Naba Barsha
Bohemian: Vesele Vanoce
Brazilian: Boas Festas e Feliz Ano Novo
Breton: Nedeleg laouen na bloavezh mat
Bulgarian: Tchestita Koleda; Tchestito Rojdestvo Hristovo
Catalan: Bon Nadal i un Bon Any Nou!
Chile: Feliz Navidad
Chinese: (Cantonese) Gun Tso Sun Tan'Gung Haw Sun
Chinese: (Mandarin) Kung His Hsin Nien bing Chu Shen Tan
(Catonese) Gun Tso Sun Tan'Gung Haw Sun
Choctaw: Yukpa, Nitak Hollo Chito
Columbia: Feliz Navidad y Pr?pero A? Nuevo
Cornish: Nadelik looan na looan blethen noweth
Corsian: Pace e salute
Crazanian: Rot Yikji Dol La Roo
Cree: Mitho Makosi Kesikansi
Croatian: Sretan Bozic
Czech: Prejeme Vam Vesele Vanoce a stastny Novy Rok
Danish: Glædelig Jul
Duri: Christmas-e- Shoma Mobarak
Dutch: Vrolijk Kerstfeest en een Gelukkig Nieuwjaar!
or Zalig Kerstfeast
English: Merry Christmas
Eskimo: (inupik) Jutdlime pivdluarit ukiortame pivdluaritlo!
Esperanto: Gajan Kristnaskon
Estonian: Ruumsaid juulup|hi
Faeroese: Gledhilig jol og eydnurikt nyggjar!
Farsi: Cristmas-e-shoma mobarak bashad
Finnish: Hyvaa joulua
Flemish: Zalig Kerstfeest en Gelukkig nieuw jaar
French: Joyeux Noel
Frisian: Noflike Krystdagen en in protte Lok en Seine yn it Nije Jier!
Galician: Bo Nada
Gaelic: Nollaig chridheil agus Bliadhna mhath ?! German: Froehliche Weihnachten
Greek: Kala Christouyenna!
Hausa: Barka da Kirsimatikuma Barka da Sabuwar Shekara!
Hawaiian: Mele Kalikimaka
Hebrew: Mo'adim Lesimkha. Chena tova
Hindi: Shub Naya Baras
Hausa: Barka da Kirsimatikuma Barka da Sabuwar Shekara!
Hawaian: Mele Kalikimaka ame Hauoli Makahiki Hou!
Hungarian: Kellemes Karacsonyi unnepeket
Icelandic: Gledileg Jol
Indonesian: Selamat Hari Natal
Iraqi: Idah Saidan Wa Sanah Jadidah
Irish: Nollaig Shona Dhuit, or Nodlaig mhaith chugnat
Iroquois: Ojenyunyat Sungwiyadeson honungradon nagwutut. Ojenyunyat osrasay.
Italian: Buone Feste Natalizie
Japanese: Shinnen omedeto. Kurisumasu Omedeto
Jiberish: Mithag Crithagsigathmithags
Korean: Sung Tan Chuk Ha
Latin: Natale hilare et Annum Faustum!
Latvian: Prieci'gus Ziemsve'tkus un Laimi'gu Jauno Gadu!
Lausitzian:Wjesole hody a strowe nowe leto
Lettish: Priecigus Ziemassvetkus
Lithuanian: Linksmu Kaledu
Low Saxon: Heughliche Winachten un 'n moi Nijaar
Macedonian: Sreken Bozhik
Maltese: LL Milied Lt-tajjeb
Manx: Nollick ghennal as blein vie noa
Maori: Meri Kirihimete
Marathi: Shub Naya Varsh
Navajo: Merry Keshmish
Norwegian: God Jul, or Gledelig Jul
Occitan: Pulit nadal e bona annado
Papiamento: Bon Pasco
Papua New Guinea: Bikpela hamamas blong dispela Krismas na Nupela yia i go long yu
Pennsylvania German: En frehlicher Grischtdaag un en hallich Nei Yaahr!
Peru: Feliz Navidad y un Venturoso A? Nuevo
Philipines: Maligayan Pasko!
Polish: Wesolych Swiat Bozego Narodzenia or Boze Narodzenie
Portuguese:Feliz Natal
Pushto: Christmas Aao Ne-way Kaal Mo Mobarak Sha
Rapa-Nui (Easter Island): Mata-Ki-Te-Rangi. Te-Pito-O-Te-Henua
Rhetian: Bellas festas da nadal e bun onn
Romanche: (sursilvan dialect): Legreivlas fiastas da Nadal e bien niev onn!
Rumanian: Sarbatori vesele
Russian: Pozdrevlyayu s prazdnikom Rozhdestva is Novim Godom
Sami: Buorrit Juovllat
Samoan: La Maunia Le Kilisimasi Ma Le Tausaga Fou
Sardinian: Bonu nadale e prosperu annu nou
Serbian: Hristos se rodi
Slovakian: Sretan Bozic or Vesele vianoce
Sami: Buorrit Juovllat
Samoan: La Maunia Le Kilisimasi Ma Le Tausaga Fou
Scots Gaelic: Nollaig chridheil huibh
Serb-Croatian: Sretam Bozic. Vesela Nova Godina
Serbian: Hristos se rodi. Singhalese: Subha nath thalak Vewa. Subha Aluth Awrudhak Vewa
Slovak: Vesele Vianoce. A stastlivy Novy Rok
Slovene: Vesele Bozicne. Screcno Novo Leto
Spanish: Feliz Navidad
Swedish: God Jul and (Och) Ett Gott Nytt År
Tagalog: Maligayamg Pasko. Masaganang Bagong Taon
Tami: Nathar Puthu Varuda Valthukkal
Trukeese: (Micronesian) Neekiriisimas annim oo iyer seefe feyiyeech!
Thai: Sawadee Pee Mai
Turkish: Noeliniz Ve Yeni Yiliniz Kutlu Olsun
Ukrainian: Srozhdestvom Kristovym
Urdu: Naya Saal Mubarak Ho
Vietnamese: Chung Mung Giang Sinh
Welsh: Nadolig Llawen
Yugoslavian: Cestitamo Bozic
Yoruba: E ku odun, e ku iye'dun!
While not commenting directly on Microsoft's proposed changes to their application line up, Sun did note that Microsoft users can download the most recent and compatible version of Java so they can have the high performance Java Computing experience on their desktop. Customers can explore exciting Java content and download a free copy of the newest Java software at
http://java.com.
Sun has designed a series of complementary programs for OEMs, consumers, and developers to ensure that a current version of Java software is freely available on desktops worldwide:
Distribution Agreements - Source and binary redistribution licenses. Industry leading PC vendors such as Apple, DELL, Gateway, HP,Samsung, Toshiba, and Tsinghua Tongfang intend to ship a current version of Java installed on their computers to provide a richer consumer experience. Sun has reached deals with companies representing approximately 50% of the world wide shipping volume of PCs. See the recent announcement at: http://www.sun.com/smi/Press/sunflash/2003-09/sunflash.20030923.1.html
We can get the path name of a special folder with SHGetFolderPath API.
we can find this function name in shfolder.dll or shell32.dll,but i can't find it's corresponding interface function in shfolder.dll or shell32.dll.
In fact,this function is provided by shell32.dll
for example:
a piece of code:
Public Declare Function SHSetFolderPathW Lib "shell32" Alias "#232" (ByVal csidl As Long, ByVal hToken As Long, ByVal dwFlags As Long, ByVal pszPath As Long) As Long
Public Declare Function SHSetFolderPathA Lib "shell32" Alias "#231" (ByVal csidl As Long, ByVal hToken As Long, ByVal dwFlags As Long, ByVal pszPath As String) As Long
If IsWinNT Then
ReVal = SHSetFolderPathW(lngCSIDL, -1, SHGFP_TYPE_CURRENT, StrPtr(strPath))
Else
ReVal = SHSetFolderPathA(lngCSIDL, ByVal 0&, 0, strPath)
End If
note:
the SHSetFolderPath API work in
| Minimum operating systems is |
Windows 2000 or Windows Millennium Millennium Edition |
Takes the CSIDL of a folder and returns the pathname
Most of control in VB has a MousePointer .we can set me pointer of mouse,such as setbusy cursor.
But sometime we need set a global mouse cursor instead of someone control 's cursor .
At this time .we can use ShowCursor API to do this :
Option Explicit
Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
Public Enum CursorType
Normal
Busy
HideIt
ShowIt
End Enum
Public Function SetMouseCursor(Status As CursorType) As Boolean
Select Case Status
Case CursorType.Normal
Screen.MousePointer = vbDefault
SetMouseCursor = True
Case CursorType.Busy
Screen.MousePointer = vbHourglass
SetMouseCursor = True
Case CursorType.HideIt
ShowCursor False
SetMouseCursor = True
Case CursorType.ShowIt
ShowCursor True
SetMouseCursor = True
Case Else
SetMouseCursor = False
End Select
End Function
Private Sub Command1_Click()
SetMouseCursor Busy
End Sub
Private Sub Command2_Click()
SetMouseCursor Normal
End Sub
I have my information from:
this site The theory is you can use rule numbers to find the line where the last error occurred. For example:
Code:
On Error Resume Next
Dim b As Byte
10: b = 0
20: b = -1
30: b = 2
MsgBox Erl
In VB,if a string variable has not been initialized yet, it's value is vbNullString,if a string variable has been initialized ,but it assigned a zero-length string "" .
In VB, you cannot compare an empty string to a vbNullString because VB equates "" to be equal to vbNullString even though the two are quite different.
However, you can use the undocumented StrPtr function to determine whether the string has been initialized.
A vbNullString's pointer is, by definition, zero
Example:
Dim str As String
Private Sub Command1_Click()
If StrPtr(str) = 0 Then
Debug.Print "str has not been initialized yet"
Else
Debug.Print "str has been initialized"
End If
End Sub
Private Sub Command2_Click()
str = "test"
End Sub
Open Your VB Projects With a Clean Slate
If you're like me, you hate all the clutter of open form, class, and module windows when you open your VB projects in the IDE. Here's a simple workaround to let you start your project with a clean workspace.
Edit the accompanying VB Workspace file for your project (with notepad). It has the same name as your project file, but with a VBW file extension. Delete all the lines in this file and save it. Now make this file read-only. Whenever you save your project from then on it will not update this file since it is read only, and it will not complain.
A Simple IsAlphaNum Function:
Code:
Public Function IsAlphaNum(ByVal sString As String) As Boolean
If Not sString Like "*[!0-9A-Za-z]*" Then IsAlphaNum = True
End Function