dcsimg

Search:

Type: Posts; User: quickcccc

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    1,297

    Re: How to get poniter of array in Variant

    Private Type vt
    vType As integer
    p1 As Long
    p2 As Long
    p3 As long
    p4 As Long
    End Type

    Dim vt As vt
  2. Replies
    8
    Views
    1,297

    Re: How to get poniter of array in Variant

    VC++ 6.0 Variant define as the following




    union {

    struct __tagVARIANT {

    VARTYPE vt;
  3. Replies
    8
    Views
    1,297

    Re: How to get poniter of array in Variant

    Public Sub AR_Copy_Long(store() As Long, store_lb, src() As Long, Optional lb, Optional ub)
    If IsMissing(lb) Then lb = LBound(src)
    If IsMissing(ub) Then ub = UBound(src)
    CopyMemory...
  4. Replies
    8
    Views
    1,297

    Re: How to get poniter of array in Variant

    yes

    I understand that VarPtr stands for 'Variable Pointer'

    I attempt to find poniter as the following
    ...
  5. Replies
    3
    Views
    733

    Re: How to convert Variant to Type

    http://www.vbforums.com/showthread.php?689677-How-to-get-poniter-of-array-in-Variant&p=4227759#post4227759
  6. Replies
    3
    Views
    733

    How to convert Variant to Type

    Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long)

    Private Type vt ' what is Correct type definition
    vType As...
  7. Replies
    8
    Views
    1,297

    How to get poniter of array in Variant

    Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long)

    Private Sub Form_Load()

    ReDim a(1 To 10) As Long

    For w = 1 To...
  8. How to get RichTextBox "HORIZONTAL SsrollBar Position" ?

    The following code only get Vertical ScrollBar Position

    How to get RichTextBox "HORIZONTAL SsrollBar Position" ?

    thanks
  9. Replies
    7
    Views
    716

    Re: How to Let Class has Event Array()

    thanks you very much
  10. Replies
    7
    Views
    716

    Re: How to Let Class has Event Array()

    thank you

    but I don't know what you mean


    Dim WithEvents a As Class1
    Dim c As New CollectionClassName

    Private Sub a_QQ(id As Variant)
    Debug.Print id
  11. Replies
    7
    Views
    716

    Re: How to Let Class has Event Array()

    Super nice !!!

    thanks you very much
  12. Replies
    7
    Views
    716

    How to Let Class has Event Array()

    Dim WithEvents A As Calss1 '---> VB Success

    Dim WithEvents A() As Calss1 ' ---> error

    Private Sub Form_Load()

    End Sub


    How to Let A() has Event Array() ???
  13. Replies
    1
    Views
    3,623

    VB6: How To Write A "DDE Server"

    How To Write A "DDE Server"
Results 1 to 13 of 14



Featured


Click Here to Expand Forum to Full Width