Well on the process of googleing for cheaper modelling figures, i found an alternative way on modelling action figures. I found gundam paper models. It looks really cool on paper model as well... Never expected to have that nice out come using paper.
Wednesday, August 13, 2008
Action Figuring...
Well on the process of googleing for cheaper modelling figures, i found an alternative way on modelling action figures. I found gundam paper models. It looks really cool on paper model as well... Never expected to have that nice out come using paper.
Monday, May 26, 2008
Where is my Print Screen Button ?? -.-'''
Previously, i have mentioned that i faced problem with Apple Mouse's right click issues in Windows environment. Well, this time i faced another problem with the
There is no Print Screen short cut key in Apple keyboard, instead, it have "F13", "F14", and "F15" button... haha.... -.-
Below are the codes, that i have researched and tested. It's quite useful to me when doing software Report with Print screen. Hope that these coding is useful to u too.. hehe....
<>
Public Declare Function BitBlt Lib "gdi32" Alias "BitBlt" (ByVal hDestDC As Integer, ByVal x As Integer, ByVal y As Integer, ByVal nWidth As Integer, ByVal nHeight As Integer, ByVal hSrcDC As Integer, ByVal xSrc As Integer, ByVal ySrc As Integer, ByVal dwRop As Integer) As Integer
Public Declare Function GetWindowDC Lib "user32" Alias "GetWindowDC" (ByVal hwnd As Integer) As Integer
Public Declare Function ReleaseDC Lib "user32" Alias "ReleaseDC" (ByVal hwnd As Integer, ByVal hdc As Integer) As Integer
Public Const SRCCOPY As Integer = &HCC0020
Public Shared Sub CreateBitmap()
Dim gDest As Graphics
Dim hdcDest As IntPtr
Dim hdcSrc As Integer
Dim hWnd As Integer '= Control.Handle.ToInt32
Dim bmp As Bitmap
hWnd = Process.GetCurrentProcess.MainWindowHandle.ToInt32
bmp = New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height)
gDest = gDest.FromImage(bmp)
hdcSrc = GetWindowDC(hWnd)
hdcDest = gDest.GetHdc
BitBlt(hdcDest.ToInt32, 0, 0, Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, hdcSrc, 0, 0, SRCCOPY)
gDest.ReleaseHdc(hdcDest)
ReleaseDC(hWnd, hdcSrc)
Dim a As SaveFileDialog
Dim loc As String = ""
a = New SaveFileDialog
a.Filter = "Image .PNG file *.PNG"
a.ShowDialog()
loc = a.FileName()
bmp.Save(loc)
Shell("c:\windows\system32\mspaint " & loc, AppWinStyle.MaximizedFocus) 'Use msPaint to open the Print screen image.
End Sub
Sunday, April 13, 2008
RIGHT MOUSE CLICK ON APPLE MOUSE ?
Few days ago, the keyboard and mouse i usually used my at office computer have spoilt cause by the frequently elecrticity break out at here. I was force to use alernate keyboard and mouse where there are no more spare keyboard and mouse left at the office. SWEAT -.-'''
At the end, i found the write off apple computer's keyboard and mouse. Well, honestly, i really happy to get these devices, it looks cool. hehe... ^.^ The keyboard is very nice, where it is nearly silent when i'm typing on the keyboard. This make my boss cant catch me on doing other thing else... hehe... nice le ? haha...
I have been shaking head for fews days, trying to get myself to get use to 1 mouse buton. But, i failed to getting familiar with it. So, i have came out a solution to solve the right click issues on my apple mouse. By coding a program to call WinAPI to convert the left click to right click while pressing left shift button. Bellow are my codings on calling WinAPI and swapping the mouse button and get keyboard entery status.
Friday, April 11, 2008
Restoring Microsoft SQL database file
Well, some how, i was able to find a site for restoring the log fle. This solution help me restore the MSSQL server log file and the database is working fine after restoring the log file.
Bellow are the steps on restoring the log file :-
RESTORING MS SQL SERVER LOG FILE
2. Stop sql server and rename the existing MDF to a new one and copy the original MDF to this location and delete the LDF files.
3. Start SQL Server
4. Now your database will be marked suspect
5. Update the sysdatabases to update to Emergency mode. This will not use LOG files in start up
Sp_configure "allow updates", 1
7. Now execute the undocumented DBCC to create a log file
8. Execute sp_resetstatus
9. Restart SQL server and see the database is online.
Tuesday, April 1, 2008
Hi Hi!!
Last 2 month i have start working at a company as a analyst programmer dy lo... hoho...
when 1st day working, they assign me a project on rounding mechanism for their POS system. This is a standard set by government, where every transaction end if 1,2,8 and 9 cent, will be round down to nearst 10 cent, while 3,4,6 and 7 cent will be round to 5 cents.
Well, this is not the big challenge, the biggest challenge for this project is to create a security shrinkage to the POS system. Too much security loop holes found out hoho... ^.^ easy to illegal income oh... haha... Anyway my project is done dy and is currently been used by all branch company... i think most of the cashier who always try to do illegal action on the system really don like me, cuz i'm the one who suggest and implement the security shrinkage... muhaha... don care la... as long as i did my job... haha...
Monday, December 10, 2007
3D Floor Drawing
Friday, November 23, 2007
YEAH!!!! Finsh!!!!
YEAH!!!
hahaha...
At last.. My training assignment is almost done dy... haha... ^.^ the system is workable and running smooth like wind... wuuuuuu...
I have been sitting in front of this computer and do research for more than 2 months on how to strip down a Linux OS to suit the requirement given by them... hoho...
When try think back the interview for this training, the interviewer asked me if I know how to use PHP, and requested me to self study on PHP for 2-3 weeks. But when the first day of the training, my supervisor it's not the one who interviewed me, is another staff... hoho... he gave me the task to search for a suitable Linux distro that capable to run the required network monitoring software and strip the chosen OS down to smallest possible size and low memory and process assumption operating system... For me, that’s was too challenging for me dy la..
Haha... anyway, I manage to full fill the requirement by putting the whole live CD os into an USB pen drive. Normally, a live CD doesn't allows user to add or modify the content of the OS in it... but, some how, I manage to convert the live CD into persistent OS... haha... ^.^ This allows user to run Linux on almost every computer nowadays. I also can bring the OS with me in USB form to anyway... haha... nice le... hoho ...
Maybe next time i can put some information on how to convert a linux live CD OS into persistent USB OS... haha... ^.^ cheers....