General information
Category:
COM/DCOM and OLE Automation
>>Any added property would only be available during the session that called the AddProperty
>
>Yes, I understand this. But they aren't available in CURRENT session outside the DLL
>
>For example :
>
>TestDll Method MyAddProperty
>This.AddProperty("NewProperty1")
>This.AddProperty("NewProperty2")
>
>TestDll Method TestNewProperty
>This.Newproperty1 = "Test"
>This.NewProperty2=This.NewProperty1
>
>VB Code
>Dim MyTestDLL as New TestDLL
>.....
>MyTestDll.MyAddProperty 'Ok
>MyTestDll.TestNewProperty 'Ok
>MyTestDll.NewProperty1 = "???" ' Error
I believe this is by design. The AddProperty would only be available during the method call that called it.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only