User Profile

Collapse

Profile Sidebar

Collapse
Gadjuka
Gadjuka
Last Activity: Apr 25 '08, 06:28 AM
Joined: Nov 27 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I don't think the function should have to return anything (I could have made it into a sub). The goal is to update the statusbar while cls1.fnc1() is running. By sending the statusbar's text property as a reference I should be modifying the actual object, thus updating the real statusbar. Unfortunately the statusbar remains empty!...
    See more | Go to post

    Leave a comment:


  • Update a control's text from another class...?

    Hi all!

    I'm trying to do a pretty simple thing in VB6, but it's not working!

    In the main form:
    Code:
    Sub Command1_Click()
        Dim cls1 As New Class1
        cls1.fnc1 StatusBar1.SimpleText
    end sub
    And in Class1:
    Code:
    Function fnc1(ByRef logText As String)
        Dim i as Integer
        For i=0 To 10
            logText = "We're at number " &
    ...
    See more | Go to post

  • C#-App: Passing a string-array byref to a ActiveX Vb6-dll

    Hi!
    I'm using Type.InvokeMemb er() to call functions in an ActiveX Dll written in Vb6 from C#. The function I need to call have several String-arrays as arguments and these act as out-parameters. It looks like this:
    Sub TheFunction(Num ber as Integer, StringArray() As String, StringArray2() As String)

    I put in a number and two empty string-arrays. The function resizes and fills these string-arrays with data and I'm supposed...
    See more | Go to post
No activity results to display
Show More
Working...