About Me

Saturday, January 10, 2009

WINSOCK PROGRAMMING

I
n this chapter, you will learn about dsSocket, the Winsock ActiveX control included with this
book. You will learn how to create both client and server applications quickly and easily.
dsSocket was first released as a shareware VBX for VB 3.0. The implementation is the best I’ve
ever seen, but you should be aware that unregistered copies exhibit a quite annoying splash
screen when loaded into memory. It will cost you a fee for the registered version, which does not
have a splash screen. In my opinion, it is well worth it. If you are just going to mess around with
Winsock and the Internet, you may be willing to live with the splash screen, but it is not wise to
ship a commercial application that displays someone else’s logo when it starts up. If you wish to
purchase a registered copy of dsSocket, you can call, write, or e-mail Dolphin Systems at:
Dolphin Systems
20132 Shaws Creek Rd.
Alton, Ontario L0N 1A0
Phone: (519) 942-0344
Fax: (519) 942-8111
E-mail: stephenc@dophinsys.com
I should point out that Microsoft does ship a Winsock control with Visual Basic. The reason that
I don’t recommend it is because it is not complete enough to use in a real-world situation.
dsSocket, on the other hand, has been used in the real world by its designers, is bug-free, and has
been well-supported since version 1.0.
Why Not Use the Winsock API?
This is a good question. Ambitious programmers may want to use the Winsock API directly from
Visual Basic, but it requires more work. However, if you want to maintain the ultimate level of
control, I recommend using Spyworks from Desaware, Inc. It comes with Winsock objects

Friday, January 2, 2009

windows Vista

1 Plan your installation
When you run the Windows Vista Setup program, you must provide information about how to install and configure the operating system. Thorough planning can make your installation of Windows Vista more efficient by helping you to avoid potential problems during installation. An understanding of the configuration options will also help to ensure that you have properly configured your system.
I won't go into that part right now (I might later this month, no promises...) but here are some of the most important things you should take into consideration when planning for your Windows Vista installation:
• Check System Requirements
• Check Hardware and Software Compatibility
• Determine Disk Partitioning Options
• Decide on a Workgroup or Domain Installation
• Complete a Pre-Installation Checklist
After you made sure you can go on, start the installation process.
2 Beginning the installation process
You can install Windows Vista in several methods - all are valid and good, it all depends upon your needs and your limitations. In this manual I will focus on the simplest form of installation - directly from the Windows Vista DVD media.
More on other forms of installation can be found in the Windows Vista Information, Tweaking, Tips and Tricks section.
So, insert your Windows Vista DVD media into your DVD drive and reboot your computer. A black window will appear momentarily while the DVD content is read.
3: The GUI






-based portion of the Setup program
Unlike previous versions of Windows, Windows Vista does not have a noticeable text phase of the setup process, and it will boot directly into the Graphical User Interface (GUI) mode.
1. After a few moments you will see the first prompt:








Press Next unless you want to change some regional settings for the installation process.
2. Press the Install now button.


3. After a short delay you're be prompted to enter your product key:

You can skip this part if you don't have the product key handy (read Install Windows Vista Without Supplying the Product Key for more info). However, if you do have a valid product key at that time (and you should have one, we're dealing with legal issues here), then by entering the right key the setup program knows which version of Vista to install.
If you skip it, you'll be prompted for a Vista version that matches your product key (the one you don't have handy at that moment):

4. You now have to accept the license terms:

5. Next you need to press the Custom (Advanced) installation type button:

The Upgrade button is disabled because this specific installation if performed on a new computer without any previous operating system on it.
6. The next phase is to pick the installation partition. Since this computer has a new hard disk that hasn't been formatted before, you will only have the option to create a new partition on it. Had it had previous partitions on it you could have chosen to either delete them or perform other tasks. Pressing the Advanced button will bring up the following options.

Since we don't need to perform any additional task we will just press on the Next button. The installation process will then create a partition on all the available disk space, and format it.

7. The setup process will now begin to copy files from the installation DVD media to the hard disk.

This will take some time:

8. After some time (the exact amount of time will greatly depend on your computer's hardware), the setup process will install updates for the operating system.

9. The computer will then automatically reboot.

10. Now comes a long waiting period, where the installation process configures the system. Again, the exact amount of time will greatly depend on your computer's hardware.

11. After the long wait, the system will then reboot once again.
12. You will think something went wrong because of the relative long time it take the system to display anything besides the black screen, but finally, after a few moments you will note a small colored circle:

13. A few seconds after that you will be prompted to enter a username and password for the first user on the computer.

Although the setup program will let you continue without entering a password, note that it is very advisable to enter a password here, and the best option would be to choose a complex password made of at least 7 characters or more (something like P@ssw0rd or MYpa$$w0rd). Make sure you remember it.
Also pick your user's display picture. This can be changed later.
14. Pick a name for your computer. The setup program will create one based upon the username you chose in the previous step, but you can change it now (and later).

Also pick a background for the user's desktop. This can be changed later.
15. Choose what sort of protection your computer gets. The recommended settings are best for someone that doesn't plan to hide their computer behind a corporate firewall (and even then, in some cases, this would be the best option). If you plan to install a 3rd-party firewall later you can opt to be prompted later.

Note that this setting will also have effect on how the computer uses the Microsoft Windows Update (Automatic Updates) features.
16. Next comes the Time Zone settings window. Choose your location.

A note for Israeli users: Finally! Windows Vista has the DST setting enabled for us!!!
17. Done! You're prompted with the last setup screen:

17. Again a long wait and some promotional screens you see the hourglass circling around, in preparation for the first logon.

18. Finally, the first screen appears, you're ready to rock and roll!

Note that if the computer was connected to the Internet while installing it, it will automatically download and prompt you to install any missing hotfix or update it finds for the current state of the operating system.

ayo balajar bahasa C++

Sistem computer adalah kumpulan elemen komponen bagian saling berinteraksi berhubungan satu tujuan.
Sitem computer terbagi 3
1. Hardware = Perangkat keras
2. Software = Perangkat Lunak
3. Orang

System Komputer di Proses Input – Proses – Output
Logaritma Data adalah cara pola berpikir menyelesaikan masalah.
Algoritma adalah Urutan langkah logis Penyelesaian masalah yang di susun secara sistematis

Ciri – Ciri algorima
1.algoritma harus memiliki akhir program yang tidak pernah berakhir adalah program yang memiliki algoritma salah
2. algoritma tidak boleh memiliki arti
3.algoritma harus memilik masukan
4.algoritma harus memiliki keluar

Kode format
Longinteger =%d = bilangan bulat
Interger = %d, %i = bilangan pecahan
Houting Point =%f = bilangan bulat
Char = %s, %c = huruf

Ayo belajar bahas C++

Bahasa C++


Sistem computer adalah kumpulan elemen komponen bagian saling berinteraksi berhubungan satu tujuan.

Sitem computer terbagi 3

1. Hardware = Perangkat keras

2. Software = Perangkat Lunak

3. Orang

System Komputer di Proses Input – Proses – Output

Logaritma Data adalah cara pola berpikir menyelesaikan masalah.

Algoritma adalah Urutan langkah logis Penyelesaian masalah yang di susun secara sistematis

Ciri – Ciri algorima

1.algoritma harus memiliki akhir program yang tidak pernah berakhir adalah program yang memiliki algoritma salah

2. algoritma tidak boleh memiliki arti

3.algoritma harus memilik masukan

4.algoritma harus memiliki keluar

Kode format

Longinteger =%d = bilangan bulat

Interger = %d, %i = bilangan pecahan

Houting Point =%f = bilangan bulat

Char = %s, %c = huruf



sintaxnya:

if ( kondisi 1)

perintah 2 ;

else if ( kondisi 2)

perintah 2;

else if ( kondisi 3 )

perintah 3 ;

else if ( kondisi n-1 )

perintah n-1 ;

else

perintah ;

Saturday, December 27, 2008

puisi hati

Pasti Kembali (BB)

Berlari dan menari hancurkan gelap mimpi

Coba mendaki hari.., hari yang telah pasti

Saat menatap pagi.., pagi yang aku cari...

Berlari dan menyanyi ciptakan hidup ini

Coba mencari hati.., hati yang telah mati

Saat beranjak pergi dari jiwa yang pedih...

Aku yang mati..

Pasti kembali...

Saat mentari ciptakan ‘ku disini

Saat itu ‘ku kembali

Saat malam sepi hadirkan ‘ku disini

Saat itu ‘ku kembali...





Amelia (BB)

Oh.. Amelia gadis cantik lugu wajah

Senyumnya indah lentik’kan manja rayunya..

Canda dan tawanya buatku terpesona

Hingga ‘ku tak dapat berkata selain cinta...

Oh.. Amelia gadis manis sang arjuna

Ingin rasanya untuk miliki dirinya..

Hidupkan t’rasa indah bila disampingnya

Semua yang ‘ku rasa memang untuk dirinya...

Sampaikan salamku untuk Amelia

Sampaikan rinduku untuk Amelia

Katakan padanya aku cinta dia

Katakan padanya ‘ku ingin miliki Amelia...




Dan Bila ( BB & ADEK (G) )

Saat engkau pergi ‘ku rasakan ada luka untuk’ku

Namun ku mengerti bahwa ada saatnya aku menunggumu

Disini...

Andaikan kau tahu betapa aku rindu untuk bersamamu

Tapi ‘ku tak yahu menagapa engkau pergi menjauh dariku...

Hatiku tak menentu

Diriku s’lalu menunggu

Disaat kau kembali dan datang padaku...

Dan bila cinta tak lagi mengenal waktu

Akan ‘ku tunggu engkau sampai ajal ‘ku tiba

Dan bila cinta tak lagi mengenal usia

Akan ‘ku tunggu engkau sampai beribu tahun lamanya...





Anganku Bila (BB)

Andai ku bisa menggapai bintang di langit

‘Kan ‘ku bawa dirimu bersamaku terbang kesana

Merasakan apa yang dirasakannya...

Mungkinkah ‘ku bahagia bila bersama dirinya

Kebahagiaan yang tak pernah aku lupakan

Rasa itulah yang selalu ‘ku rindukan...

Begitu juga bila ‘ku mengharapakan dirimu

Mengharapkan sebuah rasa cinta yang tulus darimu...

Bagaimana ku harus

Mewujudkan anganku bila...




Damai (BB)

Dengarkanlah rintihan kami

Kau bawa kami ke dalam

Permainan dirimu...

Kau jadikan kami boneka

Dalam kepuasan hati

Hasrat dahaga dirimu...

Masih ada hatimu ini

Yang tak menahu jeritan

Yang merasakan pedihnya...

Disini di negri pertiwi ini

Jadikan seperti bara api

Membakar semua angkara murka...

Kami ingin damai seperti dulu lagi

Tak ingin ada permusuhan lagi...





Sanubariku (BB)

Bila sanubariku bertanya

Dapatkah ku menjawab semua yang dikehendakinya...

Andai hati kecilku berkata

Dapatkah aku bertanya tentang apa yang ku rasa...

Saat s’galanya berlalu dan pergi tiada berhenti

Di kala ku ingin mencoba memimpikannya...

Pagi menjelang menantikan hatiku

Di kala diriku memerlukannya...

Pagi yang cerah terangi hatiku

Saat semua menjadikan kisah-kisahku..

Disini...

Selayaknya ku bermimpi

Mencoba mengenang yang lalu

Di saat semua yang dulu menghantui pikiranku...