QuickBooksDev
Newcomer
- Joined
- Sep 20, 2011
- Messages
- 2
We have not added any code to instantiate it.
In a working program that uses the same technique.
I hit F8 to step thru.
1. It goes into some CheckChanged events on frmMain so I assume the form is instantiated.
2. It then goes into the module with Public FormMain as frmMain = frmMain where it completes the definitions ok (does the last).
3. Then it goes to frmMain's MyBase.load
4. Program runs fine
In the failing program I hit F8
1. It immediately goes to the module with Public FormMain as frmMain = frmMain
(frmMain probably NOT instantiated)
2. The module definitions do not complete (last statement executed is the FormMain).
3. It goes to other modules for defintitions
4. It now goes to the ..Changed events on frmMain (on working programs this was first).
5. It then goes to the frmMain MyBase.load
So the failing program is taking a different startup path and I do not know why.
What would cause the modules to be executed first before frmMain is instantiated?????
In a working program that uses the same technique.
I hit F8 to step thru.
1. It goes into some CheckChanged events on frmMain so I assume the form is instantiated.
2. It then goes into the module with Public FormMain as frmMain = frmMain where it completes the definitions ok (does the last).
3. Then it goes to frmMain's MyBase.load
4. Program runs fine
In the failing program I hit F8
1. It immediately goes to the module with Public FormMain as frmMain = frmMain
(frmMain probably NOT instantiated)
2. The module definitions do not complete (last statement executed is the FormMain).
3. It goes to other modules for defintitions
4. It now goes to the ..Changed events on frmMain (on working programs this was first).
5. It then goes to the frmMain MyBase.load
So the failing program is taking a different startup path and I do not know why.
What would cause the modules to be executed first before frmMain is instantiated?????