Click here to Skip to main content
15,888,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi

i tried to create an installer for windows mobile 6
and i got this error when i run the application:

NotSupportedException

at Microsoft.AGL.Common.MISC.HandleAr()
at System.Windows.Forms.Control._InitInstance()
at System.Windows.Forms.Control..ctor()
at System.Windows.Forms.Button..ctor()
at gpstest.Form1.InitializeComponent()
at gpstest.Form1.Main()
at gpstest.Form1..ctor()

first i create only label with text "helloworld" and it is running well
and then i put button and install it back.

after that that error came up,

does someone has any idea to solve my problems?

thanks before
Posted

1 solution

I saw a very similar message recently, basically a device that was upgraded from Windows Mobile 6.1 to 6.5 exhibited very similar behaviour. The device was a HTC Touch Pro 2. I had a calendar control on my form, a standard mobile control, it crashed. I removed the calendar, it worked fine.

Next issue was I got an MethodAccessException, changed a private method to a public method and it worked. IMO there was no explanation for that one!

I'm not sure there aren't some problems with .NETCF and Windows Mobile 6.5.

I know this may not be helpful at all, but I thought I would share the experience.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900