Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Ash Katchup

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    437

    Re: Add-In + Hotkeys: How?

    Subclassing saved me
  2. Replies
    1
    Views
    437

    [RESOLVED] Add-In + Hotkeys: How?

    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...
  3. Re: Help needed for newbie regarding PROJECT

    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.
  4. Re: Help needed for newbie regarding PROJECT

    Indeed. Your task seems impossible.
  5. Replies
    40
    Views
    7,122

    Re: INT Function Rounding Problems

    Hehehe, i missed that. Learning about VB bugs :)
  6. Re: Help needed for newbie regarding PROJECT

    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...
  7. Replies
    40
    Views
    7,122

    Re: INT Function Rounding Problems

    But int(csng(19.99*100)) = 1999
    and int(cdbl(19.99*100)) = 1998
  8. Replies
    40
    Views
    7,122

    Re: INT Function Rounding Problems

    I can't tell you why, but i know that you can workaround using Single.
  9. Replies
    40
    Views
    7,122

    Re: INT Function Rounding Problems

    Check this.



    Private Sub Form_Load()
    Dim x As Integer
    subtotal = 19.99
    subtotal = subtotal * 100
    x = subtotal
    subtotal = Int(x)
  10. Re: User control I made caption reset throughout project please help

    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...
  11. Replies
    4
    Views
    867

    Re: Sql Statement issue

    When you use some variable inside one SQL statement, you should close quotes and concat with it.

    "SELECT * FROM " & sTESTE & " WHERE X = 1"
  12. Re: User control I made caption reset throughout project please help

    Can you post the entire project of your ocx?
  13. Re: Removing the last two lines of a RichTextBox

    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....).
  14. Replies
    5
    Views
    762

    Re: adodb connection

    Why don't you use DBTextBOX?
  15. Re: Removing the last two lines of a RichTextBox

    Really, your way is faster.
    Thanks for the tip :)
    And i forgot to use "Exit For" because my first idea was with While/Wend.
  16. Replies
    4
    Views
    4,425

    Re: Runtime Error 6 Overflow

    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.
  17. Re: Removing the last two lines of a RichTextBox

    Using normal textbox:




    Private Sub Command1_Click()
    i = UBound(Split(Text1.Text, vbCr))
    '
    If i >= 1 Then
    texto = Text1.Text
  18. Replies
    5
    Views
    644

    Re: [REQUEST] What does #IF Means

    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:...
  19. Replies
    5
    Views
    644

    Re: [REQUEST] What does #IF Means

    Now i understood it. Thanks!
  20. Replies
    5
    Views
    644

    [REQUEST] What does #IF Means

    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...
  21. Re: List the fields in combo box from SQL Server

    My bad. I've fixed it now.
  22. Re: List the fields in combo box from SQL Server

    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
  23. Replies
    4
    Views
    702

    Re: [REQUEST] Window With Focus

    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...
  24. Replies
    4
    Views
    702

    Re: [REQUEST] Window With Focus

    Omg, that was really fast... i wasn't expecting answers today ...
    Thanks, man, the GetForegroundWindow works like a charm.
  25. Replies
    4
    Views
    702

    [REQUEST] Window With Focus

    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...
Results 1 to 25 of 25


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center