|
-
May 2nd, 2000, 01:43 AM
#14
Sam, LG, Mongo and others,
Thanks for your suggestions, but I still can't get it to work. Actually I am not passing any UDT outside my module, and I am also not using late binding on an Active X server.
I'll try to explain the whole situation:
I have a very simple UDT holding an ID and a String, named GSCError. (Actually what it is and how it looks should not be important, this should be a principle thing).
When I declare my UDT in a module, then create a few variables of type GSCError in another module or form, things work OK. When for example I try to retrieve the string from the UDT, no problem. However, when I try to add my UDT to a dictionary object (I tried both the following methods:
Dim dobjMyErrors As New Scripting.Dictionary
and
Dim dobjMyErrors As Scripting.Dictionary
Set dobjMyErrors = CreateObject("Scripting.Dictionary")
)
I get a compile error (see posts from before).
As far as I am concerned, I can add any data to a dictionary object, but apparently not this one.
If I declare my UDT in another ActiveX DLL, to which I have a reference and which is part of my project-group, no error occurs.
Whooaaaaaaaaahhhh, what is going on??? :-)
Somebody please help. I can't imagine this can't be solved.
Imar
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|