Page Index Toggle Pages: [1] 2  Send TopicPrint
Very Hot Topic (More than 25 Replies) proerties "locks up" (Read 25658 times)
Martin Gravråk
Guest


proerties "locks up"
May 22nd, 2006 at 9:34am
Print Post  
For some reason most of the design-time properties on my calendar just "disappears" (see attached picture) after a while even without me touching them. Great control, but we cant use it keeps locking up like this..
  
Back to top
 
IP Logged
 
Martin Gravråk
Guest


Attached picture
Reply #1 - May 22nd, 2006 at 9:43am
Print Post  
[img]http://stud.aitel.hist.no/~margrav/pocketplanner.gif[/img]
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: proerties "locks up"
Reply #2 - May 22nd, 2006 at 10:28am
Print Post  
From the picture you have attached I deduce you are using VS 2005. The PocketPlanner for .NET Compact Framework v.2 comes with an additional dll, called 'PocketPlanner.PocketPC.asmmeta.dll'. This dll contains only design-time information and is crucial for the proper behavior of the control in the IDE designer. It looks like that for some reason this dll is not found by the environment and all the design-time support is lost.

What I can advice you to do, is to double-check whether the dll is present in the same directory with PocketPlanner.dll. And if that the case, you can try installing the metadata dll in the Global Assembly Cache (GAC), which is usually located in <windowsDir>\assembly\.

Let me know if this helps.

Meppy
  
Back to top
 
IP Logged
 
Martin
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: May 22nd, 2006
Re: properties "locks up"
Reply #3 - May 22nd, 2006 at 10:52am
Print Post  
The 'PocketPlanner.PocketPC.asmmeta.dll' is in the directory, and copying it to the GAC did not help.

It seems to be something in the designer.cs file or something like that, because if we open the project on another computer (w/ pocket planner installed) we get the exact same problem
  
Back to top
 
IP Logged
 
Martin
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: May 22nd, 2006
Re: proerties "locks up"
Reply #4 - May 22nd, 2006 at 11:03am
Print Post  
We also tend to get

System.NotSupportedException was unhandled
Message="System.Globalization.DateTimeFormatInfo"
 
exeption in
      this.calendar1.DateTimeFormat = ((System.Globalization.DateTimeFormatInfo)(resources.GetObject("calendar1.DateTi
meFormat")));

while trying to start the app
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: proerties "locks up"
Reply #5 - May 22nd, 2006 at 11:21am
Print Post  
Can you please try changing your regional settings from Norway to English and test if it works then?

Meppy
  
Back to top
 
IP Logged
 
Martin
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: May 22nd, 2006
Re: proerties "locks up"
Reply #6 - May 22nd, 2006 at 11:41am
Print Post  
did not help  ???

But if I add a new calendar to the same project (acually the same form) it works just fine. Unfortuantly this is not a good fix for the problem since it keeps happening all the time, and that new calendar is probably just going to lastst for a few hours at best.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: proerties "locks up"
Reply #7 - May 22nd, 2006 at 12:01pm
Print Post  
Is it possible to send me an application where the calendar is already broken and one which is still working fine? You can send them to support@mindfusion.org.

Thank you very much.

Meppy
  
Back to top
 
IP Logged
 
Martin
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: May 22nd, 2006
Re: properties "locks up"
Reply #8 - May 23rd, 2006 at 7:43am
Print Post  
Unfortuantly I cant send you the application, but if it continues I will create a new application, mess a bit around width it and send you the project when it breaks.

It does however seem like I have found a "solution" for it, if I delete [i]

this.calendar1.DateTimeFormat = ((System.Globalization.DateTimeFormatInfo)(resources.GetObject("calendar 1.DateTimeFormat")));  [/i]

from the designer.cs it will work again, but the properties is usally a mess, so i end up having to set them again allmoast from scratch every time the calendar locks up.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: proerties "locks up"
Reply #9 - May 23rd, 2006 at 10:29am
Print Post  
If you have time to create a new application and send it to us when it breaks, this would be of great help for solving this problem. Thank you again for your persistence.

Meppy
  
Back to top
 
IP Logged
 
Martin
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: May 22nd, 2006
Re: properties "locks up"
Reply #10 - May 26th, 2006 at 8:42am
Print Post  
We found the problem, two computers with pocket planner installed (in slightly different directories) and source-control with the help of source-control visual studio messed up a path in the solution file
  
Back to top
 
IP Logged
 
andersco
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 17
Joined: Jan 25th, 2009
Re: proerties "locks up"
Reply #11 - Jan 25th, 2009 at 4:45am
Print Post  
I also have the dateformat issue:

this.calendar1.DateTimeFormat = ((System.Globalization.DateTimeFormatInfo)(resources.GetObject("calendar  1.DateTimeFormat")));

Can you elaborate on what you changed in the solution file to fix it?

Thanks!
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: proerties "locks up"
Reply #12 - Jan 26th, 2009 at 7:31am
Print Post  
We disabled the design-time serialization of this property some time ago because the Compact Framework fails to deserialize it at run time. If you have the most recent version of PocketPlanner, try deleting this line and run the application again.

Regards,
Meppy
  
Back to top
 
IP Logged
 
andersco
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 17
Joined: Jan 25th, 2009
Re: proerties "locks up"
Reply #13 - Jan 26th, 2009 at 6:03pm
Print Post  
Yep, deleting the line fixes the problem but it is just annoying because every time I modify the calendar control the line gets added back in.  Is there any way to disable that or prevent it from being added back in?

Thanks.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: proerties "locks up"
Reply #14 - Jan 27th, 2009 at 7:33am
Print Post  
We disabled code generation for this property in one of the later releases.

What version of PocketPlanner are you using and what version of the CompactFramework?

Thank you,
Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint