Wednesday, June 23, 2010

vb calculator

Dim first As Double
Dim second As Double
Dim sign As String

Private Sub Command1_Click(Index As Integer)
If txtDisplay.Text = "" Then
txtDisplay.Text
= Command1(Index).Caption
Else
txtDisplay.Text
= txtDisplay.Text & Command1(Index).Caption
End If
End Sub

Private Sub Command2_Click(Index As Integer)
first = txtDisplay.Text
txtDisplay.Text = ""
sign = Command2(Index).Caption
End Sub
Private Sub Form_Load()
txtDisplay.Enabled = False
txtDisplay.MaxLength = 10
End Sub

Private Sub cmdEq_Click()
second = txtDisplay.Text
If sign = "-" Then
txtDisplay.Text
= first - second
ElseIf sign = "+" Then
txtDisplay.Text
= first + second
ElseIf sign = "*" Then
txtDisplay.Text
= first * second
ElseIf sign = "/" Then
txtDisplay.Text
= first / second
End If
End Sub

Private Sub cmdDot_Click()
If InStr(txtDisplay.Text, ".") = 0 Then
txtDisplay.Text = txtDisplay.Text & "."
End If
End Sub


Private Sub cmdClear_Click()
txtDisplay.Text = "0"
End Sub

Sony PSP


The PSP Go (styled PSPgo or PSP go, model PSP-N1000)[7] is a version of the PlayStation Portable handheld video game console manufactured by Sony.[8][9][10][11][12] It was released on October 1, 2009 in American and European territories[1] and on November 1 in Japan. It was revealed prior to E3 2009 through Sony's Qore VOD service.[11] Although its design is significantly different from other PSPs, it is not intended to replace the PSP 3000, which Sony will continue to manufacture, sell, and support.[9]

Unlike previous PSP models, the PSP Go does not feature a UMD drive, but instead has 16GB of internal flash memory to store games, video, pictures, and other media.[12] This can be extended by up to 32GB with the use of a Memory Stick Micro (M2) flash card. Also unlike previous PSP models, the PSP Go's rechargeable battery is not removable or replaceable by the user. The unit is 43% lighter and 56% smaller than the original PSP-1000,[9] and 16% lighter and 35% smaller than the PSP-3000.[6] It has a 3.8" 480×272 LCD[13] (compared to the larger 4.3" 480×272 pixel LCD on previous PSP models).[14] The screen slides up to reveal the main controls. The overall shape and sliding mechanism are similar to that of Sony's mylo COM-2 internet device.[15]

Tuesday, June 22, 2010

T3 Liberty


The story ended in tears, except that maybe the lawyers are not crying on their way to the bank.

T3 got some sympathy from the courts in Europe when it said IBM was taking unfair advantage of its market power. In the USA, regime change has not taken the stake out of the heart of antitrust. It does not seem likely that T3 will obtain relief or redress in its home country for what it views as anticompetitive behavior by IBM.

Monday, June 21, 2010

Canon Power Digital Camera


Digital cameras can do things film cameras cannot: displaying images on a screen immediately after they are recorded, storing thousands of images on a single small memory device, recording video with sound, and deleting images to free storage space. Some can crop pictures and perform other elementary image editing. The optical system works the same as in film cameras, typically using a lens with a variable diaphragm to focus light onto an image pickup device. The diaphragm and shutter admit the correct amount of light to the imager, just as with film but the image pickup device is electronic rather than chemical.
blogspot hit counter