Hey y'all, long time reader, first time poster.
I'm doing a little experimenting and can't quite seem to get past this. The idea is to create a hidden object that has most of my code and make calls to that object when I need to access my functions or class objects. I know I can call functions from the hidden object.
I created an object ("Object01") and attached the code to it. I made my own class object...
I can create a new MyTestObject from within "Object01"...
Set vTest = New MyTestObject
However, I can't access MyTestObject from another DesktopX object ("Object02"). I tried...
Set vTest = DesktopX.ScriptObject("Object01").MyTestObject
Doesn't work. I get Class not defined: 'DesktopX'
Am I missing something? Is this possible?