Search:
Type: Posts; User: Ash Katchup
Search:
Search took 0.03 seconds.
-
December 4th, 2009, 12:06 PM
-
December 1st, 2009, 12:38 PM
Hello there. I'm kinda new in the add-in programming, but i'm learning some stuff with other's code and guides.
This week, i have been trying to create an add-in that support hotkeys. Which means...
-
July 28th, 2009, 01:28 PM
You don't know NOTHING about VB?
We can help you with tips about using database and vb, but first we need to see what you know about it.
-
July 28th, 2009, 01:27 PM
Indeed. Your task seems impossible.
-
July 28th, 2009, 01:25 PM
Hehehe, i missed that. Learning about VB bugs :)
-
July 28th, 2009, 12:21 PM
Using ADO, you can connect your VB software to Oracle using the following code:
sConnString = "DRIVER={CLIENT_HERE};DBQ=DATABASE;UID=USER;PWD=PASSWORD"
'
Set oConn = New ADODB.Connection...
-
July 28th, 2009, 12:18 PM
But int(csng(19.99*100)) = 1999
and int(cdbl(19.99*100)) = 1998
-
July 28th, 2009, 09:01 AM
I can't tell you why, but i know that you can workaround using Single.
-
July 28th, 2009, 08:41 AM
Check this.
Private Sub Form_Load()
Dim x As Integer
subtotal = 19.99
subtotal = subtotal * 100
x = subtotal
subtotal = Int(x)
-
July 26th, 2009, 08:13 PM
Well, i took a look at your OCX code and i think that your project crashed someday and this cleared the labels. It happened with me once. I suggest create a separate project for your "button" and use...
-
July 25th, 2009, 09:04 AM
When you use some variable inside one SQL statement, you should close quotes and concat with it.
"SELECT * FROM " & sTESTE & " WHERE X = 1"
-
July 24th, 2009, 06:21 PM
Can you post the entire project of your ocx?
-
July 23rd, 2009, 06:28 AM
Thanks, but i know about Do Loop. I just use While because everyone does where i work (i really can't understand, but this is the template....).
-
July 22nd, 2009, 09:07 AM
Why don't you use DBTextBOX?
-
July 21st, 2009, 11:11 AM
Really, your way is faster.
Thanks for the tip :)
And i forgot to use "Exit For" because my first idea was with While/Wend.
-
July 21st, 2009, 06:23 AM
http://support.microsoft.com/kb/171837/en-us/
Edit: make sure that the language of this PC that raise error is the same that the others.
-
July 20th, 2009, 05:19 PM
Using normal textbox:
Private Sub Command1_Click()
i = UBound(Split(Text1.Text, vbCr))
'
If i >= 1 Then
texto = Text1.Text
-
July 20th, 2009, 05:06 PM
But still one question:
How do i declare two or more arguments?
I tried ",.|;" but no one worked.
EDIT:
Forget it. It's ":".
For those who wanna know more about:...
-
July 20th, 2009, 04:58 PM
Now i understood it. Thanks!
-
July 20th, 2009, 04:01 PM
Hello there.
I saw some codes that have the sharp characters in front of an IF, like:
x = true
#If x then
msgbox "omg, its true"
#End If
But i saw too that the msgbox never was...
-
July 20th, 2009, 03:59 PM
My bad. I've fixed it now.
-
July 20th, 2009, 10:07 AM
This code will get every field from one table:
Option Explicit
Private Sub Form_Load()
Dim oConn As ADODB.Connection
Dim oReco As ADODB.Recordset
-
July 15th, 2009, 11:09 AM
Thanks, again . I was working on that issue for 3 hours, without getting through. Now i use GetActiveWindow and GetWindowText to prevent that my code execute on both VB Instances. I didn't found a...
-
July 15th, 2009, 10:46 AM
Omg, that was really fast... i wasn't expecting answers today ...
Thanks, man, the GetForegroundWindow works like a charm.
-
July 15th, 2009, 09:33 AM
Hello there.
I'm creating an add-in for Visual Basic 6 with some hotkeys, through GetAsyncKeyState function, but i got one issue: when i open two or more instances of VB and press one hotkey, the...
|
Click Here to Expand Forum to Full Width
|