B
Brian
Hi everyone,
I developed a small app to run full screen (VB.NET) -- it works great on my
ipaq 2215, and on the 2002/2003 emulators. However, someone with an ipaq
5550 emailed me and said that when running full screen, he gets the
following error:
"A managed InvalidCastException occurred at Application::Run+0xf. Could not
find resource assembly"
OK shame on me for not having the block in a try catch, but I haven't had
much success in figuring it out. I never gave much thought to the "proper"
way to go full screen, since I threw this together and it worked -- I never
went back to question it such as using a p/invoke for the WinAPI. My code
to go full screen is (which is handled in a screen tap event handler):
'maximize the window
Me.Menu = Nothing
Me.ClientSize = New System.Drawing.Size(240, 320)
Me.ControlBox = False
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.WindowState = FormWindowState.Maximized
Thanks for your help!
Brian
I developed a small app to run full screen (VB.NET) -- it works great on my
ipaq 2215, and on the 2002/2003 emulators. However, someone with an ipaq
5550 emailed me and said that when running full screen, he gets the
following error:
"A managed InvalidCastException occurred at Application::Run+0xf. Could not
find resource assembly"
OK shame on me for not having the block in a try catch, but I haven't had
much success in figuring it out. I never gave much thought to the "proper"
way to go full screen, since I threw this together and it worked -- I never
went back to question it such as using a p/invoke for the WinAPI. My code
to go full screen is (which is handled in a screen tap event handler):
'maximize the window
Me.Menu = Nothing
Me.ClientSize = New System.Drawing.Size(240, 320)
Me.ControlBox = False
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.WindowState = FormWindowState.Maximized
Thanks for your help!
Brian