vietnam97
Programmer
- Sep 18, 2000
- 48
I am running an app on VB6, SP3. The code runs fine in VB but when I compile it into an EXE, and run it, It would crash. My particular problem happened around when I unloaded the child form, set FormName = Nothing to release it from memory, then showed the calling form, it then gave me an access violation and crashed the application. This is the actual code:
Unload SeparateAccount
Set SeparateAccount = Nothing
where SeparateAccount is the actual form name, and the app crashed when I set it to Nothing.
Thanks,
Bao
Unload SeparateAccount
Set SeparateAccount = Nothing
where SeparateAccount is the actual form name, and the app crashed when I set it to Nothing.
Thanks,
Bao