Friday, July 3, 2009

New Project-Creating a Scientic Calculator

Creating a scientific calculator is not an easy task in Visual Basic 6. However, you don't have to worry. I will start with a simple interface and gradually we will progress to a more complex interface, and then a fully functional scientific calculator.So, please follow my blog as often as possible for updates on this project. Meanwhile, if you have any idea about the calculator, please share with us.

Right now, take a look at the simple interface.

The code :

Private Sub Command1_Click(index As Integer)
Select Case index
Dim x As Double
Case 0
x = Val(Text1.Text)
Text1.Text = Round((Sin(x * 3.14159265 / 180)), 4)
Case 1
x = Val(Text1.Text)
Text1.Text = Round((Cos(x * 3.14159265 / 180)), 4)
Case 2
x = Val(Text1.Text)
Text1.Text = Round((Tan(x * 3.14159265 / 180)), 4)

End Select

End Sub

3 comments:

Anonymous said...

Hi !.
might , perhaps curious to know how one can manage to receive high yields .
There is no initial capital needed You may commense earning with as small sum of money as 20-100 dollars.

AimTrust is what you haven`t ever dreamt of such a chance to become rich
AimTrust represents an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

It is based in Panama with structures everywhere: In USA, Canada, Cyprus.
Do you want to become a happy investor?
That`s your choice That`s what you wish in the long run!

I`m happy and lucky, I started to take up real money with the help of this company,
and I invite you to do the same. It`s all about how to select a proper partner utilizes your savings in a right way - that`s the AimTrust!.
I make 2G daily, and what I started with was a funny sum of 500 bucks!
It`s easy to get involved , just click this link http://ozazovojaj.mindnmagick.com/qylehyz.html
and go! Let`s take this option together to get rid of nastiness of the life

Anonymous said...

Hello !.
You may , perhaps curious to know how one can collect a huge starting capital .
There is no initial capital needed You may start earning with as small sum of money as 20-100 dollars.

AimTrust is what you thought of all the time
AimTrust represents an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

It is based in Panama with affiliates around the world.
Do you want to become an affluent person?
That`s your chance That`s what you really need!

I`m happy and lucky, I began to take up real money with the help of this company,
and I invite you to do the same. It`s all about how to select a proper partner who uses your savings in a right way - that`s the AimTrust!.
I make 2G daily, and my first investment was 500 dollars only!
It`s easy to start , just click this link http://laxogivuni.100freemb.com/xujyryb.html
and go! Let`s take our chance together to become rich

Anonymous said...

Hello !.
You may , probably very interested to know how one can collect a huge starting capital .
There is no initial capital needed You may begin to get income with as small sum of money as 20-100 dollars.

AimTrust is what you haven`t ever dreamt of such a chance to become rich
The company incorporates an offshore structure with advanced asset management technologies in production and delivery of pipes for oil and gas.

It is based in Panama with offices around the world.
Do you want to become an affluent person?
That`s your chance That`s what you really need!

I`m happy and lucky, I started to take up income with the help of this company,
and I invite you to do the same. It`s all about how to select a proper companion utilizes your funds in a right way - that`s it!.
I take now up to 2G every day, and what I started with was a funny sum of 500 bucks!
It`s easy to join , just click this link http://asonykyde.bigheadhosting.net/lijuhymi.html
and lucky you`re! Let`s take our chance together to get rid of nastiness of the life