|
-
Apr 13th, 2002, 11:41 PM
#1
error help
working on a card game and im trying to cover all errors the players come across.
wierd things happen often
-a player cannot put a card in a open, usuable slot on the board
-a person will simply be skipped
-
Apr 14th, 2002, 03:14 AM
#2
Not NoteMe
um... We can't help you much if you don't give us some of your code.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
-
Apr 14th, 2002, 03:00 PM
#3
heres it is the code is really bulky and inefficient. i havent really learned vb. if they are suggestions on making it more
efficient and any errors
www.geocities.com/aaronpro/TRIPLETRIAD.zip
-
Apr 14th, 2002, 04:07 PM
#4
When an error is generated it will display the associated error number. In this way, you can connect the number with the error in your error trapping routine. Example: Error 13 is a Type Mismatch and 68 is Drive Not Found, so, knowing this, you can trap for errors, and handle each error differently.
VB Code:
Private Sub DoSomethingCool()
On Error Goto ErrRtn
'code to do cool stuff
Exit Sub
ErrRtn:
Select Case Err
Case 13 'type mismatch
'handle type mismatch
Case 68 'drive not found
'handle drive not found
Case SoOnAndSoForth
'handle SoOnAndSoForth
Case Else
Msgbox Err & " " & Error
End Select
End Sub
-
Apr 14th, 2002, 06:15 PM
#5
can anyone suggest good resources for learning vb?
-
Apr 14th, 2002, 07:23 PM
#6
Take a look at some of Jamie's tutorials - http://www.vbforums.com/showthread.p...hreadid=143394
Pick up a book on beginning VB.
Monitor this forum daily.
-
Apr 15th, 2002, 02:49 AM
#7
Not NoteMe
Originally posted by Hack
Monitor this forum daily.
Good advise I've learnt more in 2 weeks than i have in 2 months.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
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
|