Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Service - Service Automatically stops when error is thrown Pin
PIEBALDconsult15-Apr-10 4:58
mvePIEBALDconsult15-Apr-10 4:58 
QuestionHelp with a Log-in Screen Pin
Geodude48714-Apr-10 7:24
Geodude48714-Apr-10 7:24 
AnswerRe: Help with a Log-in Screen Pin
William Winner14-Apr-10 8:19
William Winner14-Apr-10 8:19 
AnswerRe: Help with a Log-in Screen Pin
OriginalGriff14-Apr-10 8:20
mveOriginalGriff14-Apr-10 8:20 
GeneralRe: Help with a Log-in Screen Pin
Geodude48715-Apr-10 5:00
Geodude48715-Apr-10 5:00 
GeneralRe: Help with a Log-in Screen Pin
OriginalGriff15-Apr-10 5:37
mveOriginalGriff15-Apr-10 5:37 
GeneralRe: Help with a Log-in Screen Pin
Geodude48715-Apr-10 8:06
Geodude48715-Apr-10 8:06 
QuestionStrange problems with inherited user controls when using DILImport Pin
chrisclarke1114-Apr-10 6:49
chrisclarke1114-Apr-10 6:49 
Hi
Im developing a windows CE app. I have inherited user controls which i use as screens which i can switch between. All working fine. One thing i'd like to do is set the system clock on the CE device. To do this i need to do [DllImport("coredll.dll")]. When i do this i can no longer get access to the designer screen and get the following messgae

<html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><title></title><style>.ErrorStyle { font-family: tahoma; font-size: 11 pt; text-align: left}.DetailsStyle { font-family: tahoma; font-size: 10pt; text-align: left;text-indent: 0; word-spacing: 0; line-height: 100%; float: left; margin-top: 0; margin-bottom: 0}.StackStyleVisible { font-family: tahoma; font-size: 10pt; text-align: left; margin-left: 20; text-indent: 0}.StackStyleHidden { display:none; font-family: tahoma; font-size: 10pt; text-align: left; margin-left: 20; text-indent: 0}</style></head><body><DIV class="DetailsStyle" width="100%"><table border="0" width="100%" id="table1" height="100%" cellspacing="0" cellpadding="0"><tr><td height="40" bgcolor="#FF9999" width="8%" style="letter-spacing: 0" align="center"><img border="0" src="C:\Documents and Settings\Chris Clarke.PIPECOIL\Local Settings\Temp\13113A5.tmp" width="35" height="35" alt="ErrorImage" ></td><td height="40" bgcolor="#FF9999" width="91%" style="vertical-align: top; letter-spacing: 0" align="left"><b><font size="2" face="Arial" fontsize="70%">One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.</font><font size="2" face="Arial"></font></b></td></tr><tr><td colspan="2" align="left" valign="top"><DIV id="div1" class="ErrorStyle" width="100%"><span style="font-weight: 600"><br>The type 'Microsoft.CompactFramework.Design.UnsafeUserControl' has no property named 'Colour'. </span><br><a href="" id="details0">Hide</a><font color="#0000FF">&nbsp;&nbsp;&nbsp;&nbsp</font><a href="" id="task0">Edit</a><font color="#0000FF"></font></span></DIV> </td> </tr> <tr><td colspan="2" align="left" valign="top"><DIV id="div20" class="StackStyleVisible" width="100%"><br> at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)<br> at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement, CodePropertyReferenceExpression propertyReferenceEx, Boolean reportError)<br> at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)<br> at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)</DIV></td></tr></table></div></body></html>


When i run the project on the device it works fine. all the screens work and i can even set the time.

Anybody got any ideas about this error? been pulling my hair out for a bit now.

Thanks

Chris
Chris

AnswerRe: Strange problems with inherited user controls when using DILImport Pin
kevinnicol14-Apr-10 8:47
kevinnicol14-Apr-10 8:47 
GeneralRe: Strange problems with inherited user controls when using DILImport Pin
chrisclarke1114-Apr-10 21:27
chrisclarke1114-Apr-10 21:27 
QuestionCSV file based on timer event Pin
mprice21414-Apr-10 6:15
mprice21414-Apr-10 6:15 
AnswerRe: CSV file based on timer event Pin
Ravi Bhavnani14-Apr-10 6:30
professionalRavi Bhavnani14-Apr-10 6:30 
GeneralRe: CSV file based on timer event Pin
mprice21414-Apr-10 7:36
mprice21414-Apr-10 7:36 
AnswerRe: CSV file based on timer event Pin
Ravi Bhavnani14-Apr-10 8:26
professionalRavi Bhavnani14-Apr-10 8:26 
GeneralRe: CSV file based on timer event Pin
mprice21414-Apr-10 8:38
mprice21414-Apr-10 8:38 
GeneralRe: CSV file based on timer event Pin
Ravi Bhavnani14-Apr-10 8:47
professionalRavi Bhavnani14-Apr-10 8:47 
GeneralRe: CSV file based on timer event Pin
Luc Pattyn14-Apr-10 8:53
sitebuilderLuc Pattyn14-Apr-10 8:53 
GeneralRe: CSV file based on timer event Pin
mprice21414-Apr-10 9:08
mprice21414-Apr-10 9:08 
GeneralRe: CSV file based on timer event Pin
Ravi Bhavnani14-Apr-10 9:30
professionalRavi Bhavnani14-Apr-10 9:30 
GeneralRe: CSV file based on timer event Pin
Ravi Bhavnani14-Apr-10 9:29
professionalRavi Bhavnani14-Apr-10 9:29 
GeneralRe: CSV file based on timer event Pin
Luc Pattyn14-Apr-10 9:42
sitebuilderLuc Pattyn14-Apr-10 9:42 
GeneralRe: CSV file based on timer event Pin
Ravi Bhavnani14-Apr-10 9:56
professionalRavi Bhavnani14-Apr-10 9:56 
GeneralRe: CSV file based on timer event Pin
Luc Pattyn14-Apr-10 10:28
sitebuilderLuc Pattyn14-Apr-10 10:28 
AnswerRe: CSV file based on timer event Pin
Priya Prk14-Apr-10 6:41
Priya Prk14-Apr-10 6:41 
AnswerRe: CSV file based on timer event Pin
AspDotNetDev14-Apr-10 10:44
protectorAspDotNetDev14-Apr-10 10:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.