egibson
asked on
Property Bag
I have some VB6 DLL's that we really want to use as is again. The problem as is is that the DLL's use PropertyBag objects as input parameters. I have been trying to create serializable objects that I can then load into the property bag but this does not work...or atleast it does not seem to work and they don't even really seem to be the same thing.
Does anyone have any ideas on how this can be done without editing the VB6 DLL's. I really only want to do this as a last resourt.
Thanks,
Eric
Does anyone have any ideas on how this can be done without editing the VB6 DLL's. I really only want to do this as a last resourt.
Thanks,
Eric
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
> One that proves that leaving the VB6 code intact is not a good idea in this situation.
:) Both amusing and correct, Bob.
:) Both amusing and correct, Bob.
ASKER
Well, I think I got this one worked out. You can use the VBRUN.PropertyBag object to get the just back and forth but it is a pain. I think the end result will be to adjust the VB6 code to take a string of XML which can then be broken down back into a property bag if you so wanted or manipulated directly.
We experimented with both approacess and they look to be about equal. Both suck!!!
Anyways, thanks for the suggestions,
Eric
We experimented with both approacess and they look to be about equal. Both suck!!!
Anyways, thanks for the suggestions,
Eric
Bob