Dim currentX As Single
Dim currentY As Single
Dim isDrawing As Boolean
Private Sub pic1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
isDrawing = True
currentX = X
currentY = Y
End Sub
Private Sub pic1_MouseUp(Button As Integer, Shift As Integer, X As...
Private Sub txtName_KeyPress(KeyAscii As Integer)
Dim i As Integer
i = 0
Do
If KeyAscii >= "a" And KeyAscii <= "z" Then
If i = 0 Then
UCase (Chr$(KeyAscii))
End If
i = i + 1
Else
If KeyAscii = " " Then...
I'm trying to write a program in VB6 that connects to an MS Access 2003 database. I have entered the database name into the correct place in the properties bar on the right.
Then as soon as I click on the RecordSource drop-down arrow a message box pops up saying:
Unrecognized database format...
Hi,
Can anyone see the problem with this line of code, I'm a beginner at ASP so haven't a clue!
var to_do = String(Request("to_do"));
I'm getting this error message:
Microsoft VBScript compilation error '800a0401'
Expected end of statement
/MyWeb/test.asp, line 9
var to_do =...
Hi,
When I press 2+shift key, instead of printing inverted commas (") -which is printed on the actual key- it prints the @ symbol, and what should be the @ key prints the inverted commas. I think it's the way keyboards are laid out in the US or something? It's always been like this and is very...
I've searched through the forum and can't find anything that helps me.
I'm trying to get a field in a Sales Rep form that would calculate commission earned by a sales rep, based on how many customers they have.
I just want to use something basic like numOfCustomers * 50.
Where do I actually put...
I've only been doing C for a few weeks, and could really do with some help with this please.
I'm attempting to write code that will take in first names, last names and ages, then prints them alphabetically to the screen, with the correct first names, last names and ages.
I'm just trying to...
Hi all,
How would I go about writing code which would count the amount of alphabetic characters entered, and also the amount of words?
I know it would involve some sort of loop.
eg. Input: How now brown cow
Output:
Words = 4
Letters = 14
I would ideally like to be just pointed in the right...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.