|
-
Apr 30th, 2003, 05:39 PM
#1
Thread Starter
Addicted Member
A few questions
[list=1][*]I have vb.net standard 02, and i want to know what to upgrade to. In the future i will be making a lot of games (multiplayer) databeses and servers. I prefer something thats not more than 500 bucks. Thanks[*]How can i make a textbox only allow numbers in it, you can only have numbers in the box? thanks[/list=1]
Thanks!
-
Apr 30th, 2003, 07:40 PM
#2
Sleep mode
A1-Not clear
A2-
VB Code:
Private Sub TextBox1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
Dim KeyAscii As Integer
KeyAscii = Asc(e.KeyChar)
'only allow numbers, a single decimal point, backspace or enter
Select Case KeyAscii
Case Asc("0") To Asc("9"), Asc(ControlChars.Back)
'acceptable keystrokes
e.Handled = False
Case Asc(".")
e.Handled = False
Case Else
e.Handled = True
End Select
End Sub
-
Apr 30th, 2003, 07:58 PM
#3
Thread Starter
Addicted Member
A1- (clearer) What version of VS.net should i get? I dont like vb.net standard because it limits what i can do and i want to do more stuff (like c and c++) But i dont know which is the best for Multiplayer game programming... If thats not clear tell me
-
Apr 30th, 2003, 08:02 PM
#4
Sleep mode
Well , VS.NET2003 is much better than VS.NET2002 (faster , enchanced , more features added , etc ) . VB , C# can handle Mutliplayer games connections .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|