Forum: Visual Basic 4 / 5 / 6 30 Days Ago |
| Replies: 9 Views: 443 I will add the code for IsInArray():
Public Function IsInArray(FindValue As Variant, arrSearch As Variant) As Boolean
On Error GoTo LocalError
If Not IsArray(arrSearch) Then Exit Function... |
Forum: Visual Basic 4 / 5 / 6 30 Days Ago |
| Replies: 9 Views: 443 As you can see from the above code, this program takes in a certain number of values from the user and stores them in three different arrays.
I now need to search the StockCode() array. I tried to... |
Forum: Visual Basic 4 / 5 / 6 32 Days Ago |
| Replies: 9 Views: 443 Sorry about not replying I figured it out before you replied. Is there anyway I can search the Code() array from within another function? I tried to use Code(lngPosition) but it just ends up back... |
Forum: Visual Basic 4 / 5 / 6 32 Days Ago |
| Replies: 9 Views: 443 Entire Code:
' First we will store our variables
Global msg, strNameText As String ' Instructional Message Box, Product Code and Name Text
Global blDimensioned As Boolean ' Is the... |
Forum: Visual Basic 4 / 5 / 6 33 Days Ago |
| Replies: 9 Views: 443 Thanks. This solved that problem. New problem now:
For lngPosition = LBound(strNames) To UBound(strNames)
Code(lngPosition) = Left(strNames(lngPosition), 3) &... |
Forum: Visual Basic 4 / 5 / 6 34 Days Ago |
| Replies: 9 Views: 443 I have the following code:
For lngPosition = LBound(strNames) To UBound(strNames)
mainForm.NameDisplay.Caption = strNames(lngPosition)
mainForm.StockDisplay.Caption =... |
Forum: Visual Basic 4 / 5 / 6 Nov 16th, 2008 |
| Replies: 4 Views: 798 Ah yes - that is a very good idea, except I needed a border.
Out of interest, is it possible to set this style using code at runtime? |
Forum: Visual Basic 4 / 5 / 6 Nov 14th, 2008 |
| Replies: 4 Views: 798 Hello,
This is my first post on DaniWeb, so I hope I did it OK.
Anyway, you'll notice that in the top of every window you have standard close button (the x in the red box).
I was wondering... |