Forum: Visual Basic 4 / 5 / 6 2 Days Ago |
| Replies: 9 Views: 215 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 2 Days Ago |
| Replies: 9 Views: 215 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 4 Days Ago |
| Replies: 9 Views: 215 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 4 Days Ago |
| Replies: 9 Views: 215 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 4 Days Ago |
| Replies: 9 Views: 215 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 6 Days Ago |
| Replies: 9 Views: 215 I have the following code:
For lngPosition = LBound(strNames) To UBound(strNames)
mainForm.NameDisplay.Caption = strNames(lngPosition)
mainForm.StockDisplay.Caption =... |
Forum: C 25 Days Ago |
| Replies: 2 Views: 203 I do not yet. I had the idea of writing the function in assembly, and then linking it into the kernel. |
Forum: C 25 Days Ago |
| Replies: 2 Views: 203 Yeah, I'm stumped on this one:
I need to get user input from a keyboard, with some problems involved:
I'm using an OS I created
I do not have access to any standard includes
I need to... |
Forum: Assembly 30 Days Ago |
| Replies: 1 Views: 364 Does anyone know how to change the colour of strings using x86 NASM Assembler? I've found tutorials like this:
mov ah, 09h
mov al, 97
mov bx, 100b
mov cx, 01h
int 10h |
Forum: Visual Basic 4 / 5 / 6 Nov 16th, 2008 |
| Replies: 4 Views: 745 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: 745 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... |