English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Programming & Design - March 2007

[Selected]: All categories Computers & Internet Programming & Design

Public Class Form1

Private Sub btnGuess_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGuess.Click
Dim guess As Integer
Dim x As Integer
Static intCount As Integer

intCount = intCount + 1

If intCount = 1 Then
lblNumber.Text = "You've guessed " & intCount & " time."
Else
lblNumber.Text = "You've guessed " & intCount & " times."
End If
guess = CInt(txtGuess.Text)
Randomize()
x = CInt(Int((100 * Rnd()) + 1))
If guess = x Then
' Generate random value between 1 and 100.
x = CInt(Int((100 * Rnd()) + 1))
intCount = 0
lblGuess.Text = "You geussed it!"
Else
If guess > x Then
lblGuess.Text = "Guess lower."
Else
If guess < x Then
lblGuess.Text = "Guess Higher."
End If

2007-03-08 13:25:10 · 1 answers · asked by Daddyhorhay 1

can anyone please tell me how to make a gen?
or if i can use a premade one?

2007-03-08 12:57:16 · 3 answers · asked by Anonymous

I want to make a juke box for my website but dont want to code the whole thing

2007-03-08 12:30:28 · 2 answers · asked by Anonymous

How do you open an internet to a specific website with the command prompt.
For example I want to open mofunzone.com, how do I do it without using the internet icon, only the command prompt.

the point is that in school, some sites are blocked for games and other reasons, and i see my friends access the blocked sites using the command prompt.
THE WAY HAS TO BE ABLE TO GET THROUGH A BLOCKED WEBSITE

2007-03-08 12:29:59 · 6 answers · asked by ivory b 1

0

2007-03-08 12:28:05 · 5 answers · asked by yanni1958 1

Private Sub btnGuess_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGuess.Click
Dim guess As Integer
Randomize()
' Generate random value between 1 and 100.
Dim x As Integer = CInt(Int((100 * Rnd()) + 1))

guess = CInt(txtGuess.Text)

If guess = x Then
lblHiOrLow.Text = "You guessed it!"
Else
If guess > x Then
lblHiOrLow.Text = "Guess Lower"
Else
lblHiOrLow.Text = "Guess Higher"
End If
End If

Static intCount As Integer

intCount = intCount + 1

If intCount = 1 Then
lblNumber.Text = "You've guessed " & intCount & " time."
Else
lblNumber.Text = "You've guessed " & intCount & " times."
End If
End Sub

In other words the number keeps changing so obviously its a little hard to guess. How do I get the number then store it?

2007-03-08 12:22:10 · 1 answers · asked by Daddyhorhay 1

trying to make extra $$$$$$$$$

2007-03-08 12:20:34 · 4 answers · asked by Anonymous

as my number pad doesn't have it....oooh it doesn't have a division sign either!

2007-03-08 12:00:31 · 17 answers · asked by Anonymous

I have someone that wants me to build them a web-page
(a realty company) they want it where they can log in and sumbit info. and preview houses etc.
like remaxes web-page.
Thanks CG

2007-03-08 11:59:29 · 11 answers · asked by Todd C. 1

0

hey, does anyone know how to time a program

say i have a program

and i run it

how do I measure the amount of time it took to run

thanks

2007-03-08 11:55:57 · 4 answers · asked by dragongml 3

I have Windows XP and used paint. (but I can use GIMP)

2007-03-08 11:48:46 · 1 answers · asked by Titan 2

i want to know the exact font name of these and if a link was added to download the font, it would be helpful.

http://i167.photobucket.com/albums/u124/collarpoppingwonder/I.png

http://i167.photobucket.com/albums/u124/collarpoppingwonder/starbucksipod.png

2007-03-08 11:36:24 · 3 answers · asked by collarpoppingwonder 1

For the column Custno and in a Customer table

2007-03-08 10:54:45 · 4 answers · asked by Anonymous

...when the mouse is hovered over an image, a small box of text(static text) appears. Not a popup or tooltip, actual text inside a

that can be styled with CSS. I have a row of personnel images, and I want their names to appear underneath when the user hovers over each person's image.

2007-03-08 10:49:57 · 2 answers · asked by Kevin 2

to learn

computer programmings


web design ??


??


where to buy ??

2007-03-08 10:49:09 · 6 answers · asked by Anonymous

i know it might sound like a weird question but like what do you do exactly?
k.thanx.=]

2007-03-08 10:27:57 · 10 answers · asked by Anonymous

I used store editor, and design wizard when i was finnished It left option of publish site and view.

2007-03-08 09:48:57 · 1 answers · asked by Michael D 1

2007-03-08 09:44:51 · 4 answers · asked by preg24 1

I'm am building my own website and so i need soemthings on it but they have codes- when i paste them they show up as words and on the internet too. How do i change the code into an item????- PLEASE HELP!!!

2007-03-08 09:36:28 · 5 answers · asked by Dawn B 2

i wanted to hide my blogs so i found the code but now my about me is too far down the page.

2007-03-08 09:30:14 · 1 answers · asked by zachary.sweet 2

2007-03-08 09:26:57 · 12 answers · asked by terrrry s 1

need some code that does this. Simple so that anyone can do it.

2007-03-08 09:08:24 · 5 answers · asked by Anonymous

2007-03-08 08:59:20 · 7 answers · asked by littlebit C 1

2007-03-08 08:35:23 · 4 answers · asked by °.:D-Towŋ СђіСЌ:.° 2

The .mdb file is made with Microsoft Access.

2007-03-08 08:23:32 · 3 answers · asked by Anonymous

Which is the easiest to use and get bang for your buck?

2007-03-08 08:16:13 · 7 answers · asked by Anonymous

My nephew surfed where he shouldn't have and got a Luiz08 virus on the computer. We've tried everything to get rid of it - it was a second hand computer and we don't have the original discs - but it was WindowsME. I have a windows 98 set, and an XP set - I need to know how to wipe out the current operating system and load the new - don't care about saving anything from the original system - computer has been replaced and we would like to give this computer to another family member.

2007-03-08 07:47:11 · 9 answers · asked by peanutspenny@sbcglobal.net 2

fedest.com, questions and answers