
Sunday, 29 December 2013
Saturday, 28 December 2013
OOP ala gua
tumbuhan punya daun, batang, bunga, buah
tinggi batang awalnya = 0
warna daun awal = .....
tumbuhan bisa berkembang ditandai dengan perpanjangan batang.
tumbuhan bisa layu, ditandai dengan warna dauh yang kuning.
method adalah
tumbuh()
layu()
segar()
1. Membuat kelas
Contoh: Kelas tumbuhan
2. Membuat objek
Contoh: mawar
bunga.tinggi = 0
bunga.
3. memasukkan/menggolongkan objek ke suatu kelas
Dahulu kita hanya mengenal obyek: benda, manusia, tumbuh-tumbuhan dan hewan, tapi sekarang sejak berdirinya dunia komputer, kita mengenal obyek: file, text, etc :D
tinggi batang awalnya = 0
warna daun awal = .....
tumbuhan bisa berkembang ditandai dengan perpanjangan batang.
tumbuhan bisa layu, ditandai dengan warna dauh yang kuning.
method adalah
tumbuh()
layu()
segar()
1. Membuat kelas
Contoh: Kelas tumbuhan
2. Membuat objek
Contoh: mawar
bunga.tinggi = 0
bunga.
3. memasukkan/menggolongkan objek ke suatu kelas
Dahulu kita hanya mengenal obyek: benda, manusia, tumbuh-tumbuhan dan hewan, tapi sekarang sejak berdirinya dunia komputer, kita mengenal obyek: file, text, etc :D
Input, output, mesin (fungsi)
Input, output, mesin
Diketahui input, output, tentukan mesin
Diketahui input, mesin, tentukan output
Diketahui output, mesin tentukan input
Diketahui input, output, tentukan mesin
Diketahui input, mesin, tentukan output
Diketahui output, mesin tentukan input
Command Line Parameters for Wmplayer
Windows Media Player supports a set of command line parameters that
specify how the Player behaves when it starts. The following table
details the parameters and their behaviors.
| Syntax | Behavior |
|---|---|
"path\filename"(For example: wmplayer "c:\filename.wma") | Start the Player and play the file. |
"path\filename" /fullscreen(For example: wmplayer "c:\filename.wmv" /fullscreen) | Play the specified file in full-screen mode.You must specify the path and file name of the content to play. |
/Device:{DVD|AudioCD}(For example: wmplayer /device:audio CD) | Play a DVD or audio CD. |
"path\filename?WMPSkin=skin name"For example: wmplayer "c:\filename.wma?wmpskin=headspace" | Open the Player, applying the specified skin. |
| /Service:keyname | Open the Player showing the online store specified by keyname.Requires Windows Media Player 10 or later. |
| /Task NowPlaying | Open the Player in the Now Playing feature. |
| /Task MediaGuide | Open the Player in the Media Guide feature (current active online store in Windows Media Player 10 or later). |
| /Task CDAudio | Open the Player in the Copy from CD feature (Rip feature in Windows Media Player 10 or Windows Media Player 11). This parameter is not supported in Windows Media Player 12. |
| /Task CDWrite | Open the Player in the Burn feature.Requires Windows Media Player 10. |
| /Task MediaLibrary | Open the Player in the Library feature. |
| /Task RadioTuner | Open the Player in the Radio Tuner feature (current active online store in Windows Media Player 10 or later). |
| /Task PortableDevice | Open the Player in the Copy to CD or Device feature (Sync feature in Windows Media Player 10 or later). |
| /Task Services /Service servicename | Open the Player in the Premium Services feature, showing the service specified by the servicename parameter. This value is the unique name for the service. If the specified service has not been previously viewed, the servicename parameter is ignored. (Opens the specified online store in Windows Media Player 10 or later.) |
| /Task ServiceTaskX | Open the Player in the online store service task pane specified by X. For example, /Task ServiceTask1 opens the Player in the first online store service task pane. |
| /Task SkinViewer | Open the Player in the Skin Chooser feature. |
| /Playlist PlaylistName | Open the Player and play the specified playlist. |
/Schema:{Music|Pictures|Video|TV|Other}For example: wmplayer /Schema:Pictures /Task:PortableDevice | Open the Player, showing the specified media category. Requires Windows Media Player 11. |
My note: Batch programming
Echo command
Echo = display it to command line screen Used to display something on the command-line screen.
Gini, jika echo on (default), semua command akan di echo (ditampilkan di layar).
Jika echo off, semua command tidak akan di echo, tapi, command echo off nya tetap ditampilkan. Apa solusi? tambahkan @ di depan command echo off itu.
Contoh:
Echo Hello World!
Set command
Set command with /a ->used to enter
Set with /P= used to display and input a value to a variable.
prompt
set /P enter your password
Pause
Press any key to enter..
Goto
:label
Exit
Friday, 27 December 2013
boxes on vba
msgbox
as the names implies it used to message something
inputbox
as the name implies it used to input something
as the names implies it used to message something
inputbox
as the name implies it used to input something
Subscribe to:
Comments (Atom)
