4 Attachment(s)
[RESOLVED] Application Events: Startup
I am trying to run some code using "Startup" in "Application Events" while my SplashScreen is shown. But I can't even begin to get started because all of the tutorials describe things that I do not see. Here is what I see.
Attachment 110239
Attachment 110241
Attachment 110243
Attachment 110245
Where do I even begin?
Any help is greatly appreciated!
Hunter
Re: Application Events: Startup
You should see another couple of options under that General item and I'm not sure why you don't. If you create a new Windows Forms Application project and click that same button, do you still not see MyApplication and MyApplication Events items?
1 Attachment(s)
Re: Application Events: Startup
Quote:
Originally Posted by
jmcilhinney
You should see another couple of options under that General item and I'm not sure why you don't. If you create a new Windows Forms Application project and click that same button, do you still not see MyApplication and MyApplication Events items?
I'm glad it's not just me being inept. When I open a new project and click the same thing, this is what I see.
Attachment 110247
Thoughts?
Re: Application Events: Startup
Then click (MyApplication Events)
Re: Application Events: Startup
So, just to be clear, you didn't have those last two options available in that drop-down list in your original project, right? If that's the case and it was a WinForms application project then I can only assume that something was corrupt and can't really say why.
Re: Application Events: Startup
Yes. You are correct. But what can I do about it?
Hunter
Re: Application Events: Startup
Quote:
Originally Posted by
HunterTTP
Yes. You are correct. But what can I do about it?
Hunter
No idea. That project is broken but exactly how and what to do to fix it may be very difficult to determine. I would suggest creating a new project and, if necessary, import project items from the old one.
Re: Application Events: Startup
Is it possible the Application Framework option has been turned off? That's about the only suggestion I have. But then, I think when that is turned off, the Startup Form and Splash Screen options go away.
-tg
Re: Application Events: Startup
Quote:
Originally Posted by
techgnome
Is it possible the Application Framework option has been turned off? That's about the only suggestion I have. But then, I think when that is turned off, the Startup Form and Splash Screen options go away.
-tg
That was my thought too, so I tested and the View Application Events button is then disabled, along with various other items including the Splash Screen. Even if the button is clicked first and the ApplicationEvents.vb code file opened before disabling the Application Framework, those additional options were still available in the left-hand drop-down when I tested.
Re: [RESOLVED] Application Events: Startup
To sum it up; I started a new project and copy/pasted my code. Everything is working much better now. But I still have to recreate each form, which sucks.
I tried importing my forms with "add an existing item", but it isn't exactly as seamless as it sounds. Or it may be that something is seriously wrong with the first project.
Either way, thanks for the help!
Hunter