Thursday, February 11, 2016

Crop in Corel Draw

How To Crop in Corel Draw

Cara di bawah ini berlaku untuk gambar yang diimport ke dalam Corel Draw atau yang digambar di dalam Corel Draw.

Eraser tool (X)
Memotong atau menghapus bagian gambar yang terkena sapuan mouse.

Power Clip (Effects > Power Clip > Place Inside Container atau Place Inside Frame)
Masking / Menyeleksi gambar ke bentuk / bidang datar / bidang 2 dimensi/ shape lainnya.

Crop tool
Memotong dan menyimpan bagian dalam seleksi gambar.

Knife tool
Membelah gambar menjadi beberapa bagian.

Envelope tool atau Shape tool (F10)
Memotong bagian gambar untuk sementara/temporer, dengan menggeser node gambar.

Fillet, Scallop, Chamfer
Memotong bagian ujung/pojok gambar dengan mengubah bentuk ujung gambar.

Shaping
Intersect
Memotong bagian gambar dari irisan dua bidang dan menyalin isi dari irisan gambar tersebut. Bidang datar pemotong dan gambar yang dipotong dapat dibiarkan tidak dihapus.

Back Minus Front
Memotong bagian gambar dengan menempatkan sebuah bidang datar di atasnya. Bidang datar pemotong akan dihapus.

Trim
Memotong bagian gambar dengan menghapus bagian gambar yang berada di bawah bidang datar pemotong. Bidang datar pemotong dan gambar yang dipotong dapat dibiarkan tidak dihapus.


Tuesday, February 9, 2016

Photoshop Tutorial 1

Drop cap in photoshop — method A.
Using : photoshop cs2

Wednesday, January 13, 2016

How to choose Multimedia Player software

Multimedia is any media that may consist of video, audio and others.
Multimedia Player features software that you can consider to choose:
  • Plays and streams any video format that you can enjoy to watch.
  • Can play incomplete or damaged Multimedia files (by skipping the damaged frames).
  • Can play smoothly any video or audio files without change any configuration.
  • Very fast and lightweight.
  • Can remember whatever you left off in a video (watched last timeline, video playing options).
  • Keyboard shortcuts or mouse gesture for anything, including seek (play, pause, stop), volume, zoom, brightness, contrast, and even subtitle resyncing.
  • Dynamic, robust and flexible subtitle support, including any subtitle file format support as well as embedded subtitles in any multimedia files
  • Can choose different skins for different types of files, make the window transparent, hide the window border when playing, and more.
  • Video filters, like deinterlacing, postprocessing, de-noise, and more for customized playback.
  • Audio equalizer and video equalizer, that lets you adjust the brightness, contrast, hue, and more of the video.

Friday, January 8, 2016

lagu untuk ayah ibu

Mama – Trio Ambisi
Selamat Jalan Mama – Ari Lasso
Mama (You Are My Everything) - Afiqa
Ayah - Rinto Harahap
Ayah Mercys

Wednesday, December 9, 2015

How to register a file in Visual Basic

When develop a software, there must be a supported file requirement, for example: ocx file (*.ocx), dll file (*.dll).
Topic: How to supporting Register File through coding with Visual Basic because many cases that supported files will not run before registered to the (Windows) system.

As an example may be you had experienced about application can't be run or find runtime error after install your software to another computer as long as supporting files are not registered, so how to direct registered supported file through coding? Please follow the below steps.

'Put the following code to the Module Project
Private Declare Function LoadLibraryRegister Lib "kernel32" Alias "LoadLibraryA" (ByVal lpLibFileName As String) As Long

Private Declare Function CreateThreadForRegister Lib "kernel32" Alias "CreateThread" (lpThreadAttributes As Any, ByVal dwStackSize As Long, ByVal lpStartAddress As Long, ByVal lParameter As Long, ByVal dwCreationFlags As Long, lpThreadID As Long) As Long

Private Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Long, ByVal dwMilliseconds As Long) As Long

Private Declare Function GetProcAddressRegister Lib "kernel32" Alias "GetProcAddress" (ByVal hModule As Long, ByVal lpProcName As String) As Long

Private Declare Function FreeLibraryRegister Lib "kernel32" Alias "FreeLibrary" (ByVal hLibModule As Long) As Long

Private Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As Long

Private Declare Function GetExitCodeThread Lib "kernel32" (ByVal hThread As Long, lpExitCode As Long) As Long

Private Declare Sub ExitThread Lib "kernel32" (ByVal dwExitCode As Long)

Public Function RegServer(ByVal FileName As String) As Boolean
RegServer = RegSvr32(FileName, False)
End Function


Public Function UnRegServer(ByVal FileName As String) As Boolean
UnRegServer = RegSvr32(FileName, True)
End Function

Private Function RegSvr32(ByVal FileName As String, bUnReg As Boolean) As Boolean

Dim lLib As Long
Dim lProcAddress As Long
Dim lThreadID As Long
Dim lSuccess As Long
Dim lExitCode As Long
Dim lThread As Long
Dim bAns As Boolean
Dim sPurpose As String

sPurpose = IIf(bUnReg, "DllUnregisterServer", _
"DllRegisterServer")

If Dir(FileName) = "" Then Exit Function

lLib = LoadLibraryRegister(FileName)
If lLib = 0 Then Exit Function

lProcAddress = GetProcAddressRegister(lLib, sPurpose)

If lProcAddress = 0 Then
FreeLibraryRegister lLib
Exit Function
Else
lThread = CreateThreadForRegister(ByVal 0&, 0&, ByVal lProcAddress, ByVal 0&, 0&, lThread)
If lThread Then
lSuccess = (WaitForSingleObject(lThread, 10000) = 0)
If Not lSuccess Then
Call GetExitCodeThread(lThread, lExitCode)
Call ExitThread(lExitCode)
bAns = False
Exit Function
Else
bAns = True
End If
CloseHandle lThread
FreeLibraryRegister lLib
End If
End If
RegSvr32 = bAns
End Function

'Implemented example from
Public Function Sub RegisterFile() as Boolean
Dim FileSys1 As String

FileSys1 = "C:\Windows\System32\MSCOMCTL.OCX
If Dir(FileSys1) <> "" Then
RegisterFile = RegServer(FileSys1)
End If
End Function

Blog Platform List

Blog Platform List / Free and Pay for upgrade

Blogger (Google)
HubPages
LiveJournal
Tumblr
TypePad
WordPress

Beautiful Appearance, Less Customize (WYSIWYG blog/website builder)
Weebly
Wix

Tuesday, December 8, 2015

Ms Access Database - vb6

Microsoft Access Database - Microsoft Visual Basic 6

VB6 With Access
http://www.vb6.us/tutorials/vb6-access

Tutorial 4: Accessing databases using the DataEnvironment Controll
http://pages.cpsc.ucalgary.ca/~saul/vb_examples/tutorial4/

visual basic 6.0 to ms access
http://www.dreamincode.net/forums/topic/185023-visual-basic-60-to-ms-access/

LESSON 9 - Working with a database
http://www.profsr.com/vb/vbless09.htm