Exeter133's Profile
Reputation: 0
Apprentice
- Group:
- Members
- Active Posts:
- 21 (0.04 per day)
- Joined:
- 21-October 11
- Profile Views:
- 130
- Last Active:
Mar 11 2012 03:42 PM- Currently:
- Offline
Previous Fields
- Country:
- US
- OS Preference:
- Windows
- Favorite Browser:
- Chrome
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- PC
- Your Car:
- Dodge
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: Using And statements with grouped radio buttons
Posted 23 Feb 2012
Yep...that worked. For whatever reason I had it in my head that marking something as being "checked" only worked for an actual check box...and that I had to enable anything else. Thank you! *walks away embarrassed* lol
-
In Topic: Simple Translator
Posted 6 Nov 2011
jimmyBo, on 06 November 2011 - 07:09 PM, said:Yeah, unfortunately no other tags work inside the code tag. I've seen heaps of people be disappointed about that. Still, at least when people do that it helps find the problem code easier
Yeah but still, I can see why it's a good idea. It would probably show up in the "view source" option, so if someone did a copy/paste they would carry it with them and run into more problems. Makes sense.
-
In Topic: Simple Translator
Posted 6 Nov 2011
Hah, well I guess using bold tags inside the code tags doesn't work. Only after staring at it in confusion do I suddenly realize why that's such a good idea.
Anyway, the line getting highlighted is
picResult.Print britword(i)
-
In Topic: Simple Translator
Posted 6 Nov 2011
Well after changing a few things, I'm not getting "Subscript out of range." The line that is getting highlighted is in bold below.
Dim amerword(1 To 12) As String Dim britword(1 To 12) As String Private Sub Command1_Click() Dim search As String, result As String, i As Integer Call GetWord(search) Call FindWord(search, result) picResult.Cls If result > 0 Then Call ShowWords(i) Else picResult.Print search & " not in file." End If End Sub Private Sub Form_Load() Dim i As Integer Open "c:\users\michael\downloads\csc150\words.txt" For Input As #1 For i = 1 To 12 Input #1, amerword(i), britword(i) Next i Close #1 End Sub Private Sub ShowWords(i As Integer) picResult.Print "The British Equivalent is" [b]picResult.Print britword(i)[/b] End Sub Private Sub GetWord(search As String) search = UCase(Trim(txtWord.Text)) End Sub Private Sub FindWord(search As String, result As String) Dim first As Integer, middle As Integer, last As Integer Dim foundFlag As Boolean first = 1 last = 12 foundFlag = False Do While (first <= last) And (Not foundFlag) middle = Int((first + last) / 2) Select Case UCase(amerword(middle)) Case search foundFlag = True Case Is > search last = middle - 1 Case Is < search first = middle + 1 End Select Loop If foundFlag Then result = middle Else result = 0 End If End Sub
Eh...that should be now getting "Subscript out of range." Sorry. -
In Topic: October Desktop/Screenshots
Posted 31 Oct 2011
Here's mine. Not much interesting, but I've loved that picture for awhile.
My Information
- Member Title:
- New D.I.C Head
- Age:
- 28 years old
- Birthday:
- January 13, 1985
- Gender:
-
- Location:
- Colorado
- Full Name:
- Michael
- Years Programming:
- 1
- Programming Languages:
- Just started as a CS major...so only slightly familiar with VB6 and VB.NET...just barely :-)
Contact Information
- E-mail:
- Private
Friends
Exeter133 hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
Exeter133 has no profile comments yet. Why not say hello?