I have an app with two forms:
- the main is config settings and a control to save them
- the second is only meant to show for one second as an indicator if the app is launched with parameters
So start the app normally - you see the main window, start it with more than two parameters, the main window is hidden, and only the second window should appear for one second to notify the user.
Problem:If I add a button on the main form and call "
Form2.Show", it works perfectly fine. As soon as I pass the parameters, I get an access violation error on the show command
I tried everything I can think of - even removing the auto-create part and attempted to create form2 on the fly - same issue.
(I even tried calling the OnClick procedure for the button to emulate user input for the heck of it...no joy)All I need to do with the window before/after it opens, is update a label on it...the only label on it...nothing wow.
Any ideas of where I might be going wrong? The app itself is working perfectly in everything else that it needs to do - just this last annoying issue I need to fix before I can "
ship" it...please see the attached screenshot.