Malgrim 0 Newbie Poster

I have a VB6-dll that is referenced in both a VB.Net aplication and another VB6-dll.

Now, I get Information (strings containing filenames) from the VB.NET application and store them in global variables in a module.
Then I want to use these variables in the other VB6-dll, however they are empty.

the code is:

Classmodule ... AKS

Public Property Get PfadMeta() As String
    PfadMeta = PfadMetaDB
End Property
Public Property Let PfadMeta(ByVal Val As String)
    PfadMetaDB = Val
End Property

Module

Public PfadMetaDB As String

VB.NET application

myAKS = New AKS
myAKS.PfadMeta = "C:\Data\..."

VB6.dll

Set myAKS = New AKS
myFile = myAKS.PfadMeta

=> myFile = ""

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.