|
||||||
| VB Tutorials Visual Basic Tutorials and Code |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
| Sponsored Links |
|
|
|
|||||
|
OH! OMG. Admins could you please move this to Visual Basic tutorials section? I accidently posted it in VB prgramming sections.. Sorry!
And could ya please change the title of the thread to "Tutorial - Smarterchild copy" ? Thanks. EDIT - Thanks Jordan for moving it and renaming it. Last edited by travy92; 09-08-2007 at 08:50 PM. |
|
|||||
|
Hey Travy92, nice tutorial! I'll move this to the tutorial section and change the title.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog Don't hesitate to ask any questions that you have! Check out our ASCII Calculator! |
|
|||||
|
Yes - I must admit it's a nice tutorial I'm going to download and test it.
EDIT:- The Zip/Rar Files are empty! And Just a Tip, when you are talking about copies of scripts/programs etc.. you say Clone, not copy. So it should be 'Smarterchild Clone' just to let you know.. but it's up to you.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall ![]() Business Directory | Technology Blog | Windows Help Last edited by TcM; 09-08-2007 at 11:05 AM. |
|
|||
|
It`dose look sound i will have to take a look at the source to see what it really looks like.
Edit: you may want to check your code for people entering incorrect data example how old are you I entered "HG" which are not numbers, if you were to make a textbox you could place this code in the program. Code:
Select Case KeyAscii Case 8 Case 13 Case 48 Case 49 Case 50 Case 51 Case 52 Case 53 Case 54 Case 55 Case 56 Case 57 Case 127 Case Else MsgBox "Alpha Charecters are not permited", vbInformation, "error" KeyAscii = 0 end select Private Sub Txtinput_KeyPress(KeyAscii As Integer) presuming you box would be Txtinput Before someone thinks that I'm stupid i have no education background in programing and i'm sure that there are better ways of doing this out there. but this is the one i found that worked for me. you could i guess do it using and if statement, like Code:
If keyascii <> 8 or keyascii <> 13 or keyascii <> 48 or keyascii <> 49 or keyascii <> 50 or_ keyascii <> 51 or keyascii <> 52 or keyascii <> 53 or keyascii <> 54 or keyascii <> 55_ or keyascii <> 56or keyascii <> 57 or keyascii <> 127 then keyascii=0 end if they would both go in the same sub the 2 method should work at any time but will only let you do 1234567890 enter del and backspace wihich should be ok... Last edited by compil003; 09-14-2007 at 09:18 AM. Reason: add comments for the author |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tutorial: C# Hello World | Jordan | CSharp Tutorials | 13 | 06-26-2008 08:57 AM |
| John's Java Tutorial Index | John | Java Tutorials | 0 | 01-11-2007 03:05 PM |
| A time showing tutorial | ahsan16 | VB Tutorials | 1 | 01-10-2007 04:50 AM |
| JSP Tutorial | encoder | JavaScript and CSS | 0 | 05-26-2006 05:31 AM |