My blog has moved!

You will be automatically redirected to the new address. If that does not occur, visit
http://ashokbasnet.com.np
and update your bookmarks.

Wednesday, December 30, 2009

CD Control Application Using VB 6

Controlling the CD/DVD Drive of our computer using an application software is good for both the life of CD/DVD Drive and for us also.
Visual Basic cab be the most easy way to do it.

All you have to do is make a new project.
Add a form and a module and design the interface as you like for eject and close command button.
Name the command Box names as cmdclose and cmdopen for Close and Open Command button.
Private Sub cmdclose_Click()
'Close CD drive door
retvalue = mciSendString("set CDAudio door closed", returnstring, 127, 0)
End Sub

Private Sub cmdopen_Click()
'Open CD drive door
retvalue = mciSendString("set CDAudio door open", returnstring, 127, 0)
End Sub
And now for module section, just copy and paste the following code or the code can be copied from the API.
Public Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long


You can download the exe  file here.

Sunday, December 13, 2009

Banking System Using C/C++

This is a Banking system developed using C/C++. It is done by me including four three members as Thapathali Campus III/I part project.
You can try the Banking System v 1.0 by clicking the link below and feel free to comment. We can help you if you want regarding the code...

 
Banking System v1.0 Download

Banking System Report(pdf)
Source Code
Powerpoint file


Regulated Variable DC Power Supply

The project was the I/II semester project at Thapathali Campus on Electrical Subject. The project was very interesting as we all have to develop the Regulated DC power supply that is very important in everyday. This project helped us to learn enough  knowledge about various components needed for the project.

 
 
You can download the project report here.

Thursday, December 10, 2009

Welcome to my Programming World

The world is always changing and technology is that which changes rapidly. Daily the new technologies are being introduced.
Hello I'm Ashok Basnet and I love programming. I want to share the projects I've done at College level as well as share my knowledge at different programming platforms.
RAZ4JF43VK3C