Search Results - VBForums

Search:

Type: Posts; User: gibra

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: trying to add a icon when drag AND Icon When Drop

    Show YOUR code.
    Better, make a zipped project sample that reproduce the issue.
  2. Re: trying to add a icon when drag AND Icon When Drop

    If you use (should) DragXXX methods, then can use the DragIcon property.

    Drag/Drop From 1 List To Another......
  3. Replies
    14
    Views
    355

    Re: Incorporate Database in VB6 Program

    DataBinding?
    No Thank. ;)
  4. Replies
    14
    Views
    355

    Re: Incorporate Database in VB6 Program

    Completely unnecessary, as the ADODC.
  5. Replies
    14
    Views
    355

    Re: Incorporate Database in VB6 Program

    Advanced??? The title of this page really makes me laugh ...
    Please, dont' use ADODC Control! It's bugged, very very old, and deprecated.
    Also do not recommend using DAO, old as ADODC.

    Use ADODB...
  6. Thread: Windows 10

    by gibra
    Replies
    19
    Views
    263

    Re: Windows 10

    See also:
    Installing Visual Basic/Studio 6 on Windows 10
    http://blog.danbrust.net/2015/09/14/installing-visual-basic-studio-6-on-windows-10/#.VvEYIbNtdrU
  7. Re: Choosing between 2 Datepickers to get birthdays values not working why?

    Then is a bit different. Your query must search from 1/7 to 1/10
    Try this:


    WHERE LEFT(DateBirth,5) BETWEEN '01/07' AND '01/09'
    or

    WHERE LEFT(DateBirth,5) BETWEEN '07/01' AND '09/01'

    is...
  8. Re: Choosing between 2 Datepickers to get birthdays values not working why?

    Right.
  9. Re: Changed Msjet Version Now Certain Code Doesn't Work

    Database Name and Format ?
  10. Re: Choosing between 2 Datepickers to get birthdays values not working why?

    Mid$ ???

    Why you don't use only Date functions ?



    Dim sql As String
    Dim rs As ADODB.Recordset
    Set rs = New ADODB.Recordset
  11. Re: VB6: UBound Returns Zero or Negative Value

    Public a link where us can download your txt file. ;)
  12. Re: ADO check the existence of fields and then add fields

    Scan Fields collection of recordset:



    Dim i As long
    Dim bFieldFound As Boolean
    Dim sFieldName As String
    sFieldName = "Product"
    For i = 0 To rs.Fields.Count - 1
    ...
  13. Replies
    8
    Views
    421

    Re: Virtual Printer??

    What does VB6 with the virtual printer?
  14. Re: trying to run some code but it stucks my program why?

    First of all, you should use a Error handler in yours routines to intercept any trappable error.
  15. Re: trying to run some code but it stucks my program why?

    First of all, you should use a Error handler in yours routines to intercept any trappable error.

    Second, your declaration:

    Dim oOutlook As New Outlook.Application
    is wrong.

    You should use:...
  16. Replies
    8
    Views
    341

    Re: Change (modify) PDF file

    Then you want to create an application in VB6 amending PDF files?
  17. Replies
    6
    Views
    275

    Re: Add Values of listbox

    Try this:



    For i = 0 To List2.ListCount - 1
    x = x + Val(List2.List(i))
    Text4.Text = x
    Next i
  18. Replies
    1
    Views
    145

    Re: removeline from multine text

    -Use the Split () function to get an array of lines
    -Declare a string variable, eg. strContents
    -Run a loop over each item:
    ----If the item meets the condition, add it to the variable strContents...
  19. Re: is there a way to dispaly events in outlook to access?

    Yes.
    You need to learning the Object model of Outlook (which inlcude Mail items, Contacts, Calendar, ...)

    See also the http://www.vbforums.com/forumdisplay.php?37-Office-Development
  20. Re: Width property cannot be set on this control

    Set the Align property to 0 - vbAlignNone, first.
  21. Replies
    8
    Views
    489

    Re: Zip and Unzip Compressing

    Zip and Unzip Using VB5 or VB6
    http://www.codeguru.com/vb/gen/vb_graphics/fileformats/article.php/c6743/Zip-and-Unzip-Using-VB5-or-VB6.htm
  22. Re: Sending Email from VB6 Legacy App on Windows 8

    Very simple:

    1) [suggestion] Create a sub-folder in your folder project (i.e. \vbSendMail)


    2) from vbSendMail folder, copy this files:

    - SendMail.cls
    - frmSck.frm
    - modMXQuery.bas
  23. Re: Sending Email from VB6 Legacy App on Windows 8

    vbSendMail works good on Windows 8.x and Windows 10, too (32 or 64 bit).

    You have to run regsvr32.exe as Administrator:

    Windows 8
    - on Search box, type: cmd
    - right-click on Command Prompt...
  24. Replies
    2
    Views
    239

    Re: Invalid Picture error in Picture box

    Sometimes may occur that the real type of a image downloaded from the web doesn't corrispond to its extension.

    I use IrfanView reader (free and great) to discover quickly if the extension...
  25. Replies
    2
    Views
    172

    Re: Label API?

    Then use a Shape :



    Private Sub Form_Load()
    With Label1
    Shape1.Move .Left, .Top, .Width, .Height
    End With
    End Sub
  26. Replies
    7
    Views
    343

    Re: how to query to list range dates

    Sure?
  27. Replies
    7
    Views
    343

    Re: how to query to list range dates

    Why use curdate() ?
    What is you table structure?
    Show the fields...
  28. Replies
    8
    Views
    448

    Re: Flexgrid

    1) Format your code correctly, it's unreadable!!!
    There are two With rrgrid, while there is one only End With

    2) I don't think that SendKeys work in a VSFlexGrid, you should change directly the...
  29. Replies
    4
    Views
    183

    Re: decimal in a label

    I agree.
    The code works good.
    Value returned is 6,8.

    Just a improvement, if you use the point as separator: you should replace to return 6.8:


    Label4.Caption = Replace$(Val(Label1.Caption) +...
  30. Re: CREATE table in MySql server from access fields

    You have two way to achieve your job:
    1) using DDL Statements (Data Definition Language) via SQL connection, that works in MySQL like as any other RDMS database (SQL Server, Oracle, IBM DB2, ...)...
  31. Re: Refresh a graphic-object having only the handl

    You can try to use LockWindowUpdate() API functions that require only the window handle:

    LockWindowUpdate function (Windows)...
  32. Re: Refresh a graphic-object having only the handl

    Define your 'graphic-object' what is...
  33. Thread: System Tray

    by gibra
    Replies
    6
    Views
    207

    Re: System Tray

    Then you should use a 'true' ToolTip, instead of form. Like this (superb) Extended ToolTip:

    VB ExTooltip by MArio Flores G (from psc cd)...
  34. Replies
    9
    Views
    282

    Re: TextBox custom menu

    To mark RESOLVED, click on Thread Tools link.
  35. Thread: System Tray

    by gibra
    Replies
    6
    Views
    207

    Re: System Tray

    Simply,

    in your WM_MOUSEMOVE message use

    Form2.Show
  36. Re: How to programmically calculate the taskbar height

    You should get the area using SystemParametersInfo API function with SPI_GETWORKAREA flag.
    Example of use (you must adapte to your needs):
    How to Use SystemParametersInfo API for Control Panel...
  37. Replies
    6
    Views
    238

    Re: [RESOLVED] Tabstrip Vb6

    Carmell,
    I tried your code and by me works good.
  38. Re: is there a way to drag and drop listview item with no subclassing?

    You can get the complete code from link in post #2 (Cristian).
  39. Replies
    3
    Views
    155

    Re: System Tray Again

    Show your code.
  40. Re: Keydown event not working when web browser control has focus

    Using a Timer and GetAsyncKeyState seem to work good.
    No others control than the webbrowser control.


    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.