Is it an error?

  • Thread starter Thread starter compboy
  • Start date Start date
C

compboy

I'm so sorry Bogdanov, I don't know how to describe the problem, becouse
few messages can be referenced in this error!
now, i will describe the problem detailedly try my best!
__________________________________________
In my project_A, MemoryDll.dll, has a dialog called Dialog_A in which was
lie three Labels, and I has defined the Load action, in it, I will set the
three labels' Text property , like this:
------code--------------
Load()
{
........
label_Tvalue.Text=infoTest.TPhy.ToString(); ----LOCATION_1, the prompt
will appear here!
label_Avalue.Text=infoTest.APhy.ToString();
label_Uvalue.Text=infoTest.UPhy.ToString();
.........
}
--------------------------
In other project_B, I defined a button, when I click the button, Dialog_A
will be shown.
When I run this process in PPC or Wince's Simulator, that 's OK, but run it
in PPC device, a dialog will be shown:

-Microsoft Development Everioment dialog-----------------------------------
unsettled: "System.ArgumentException" a style of
abnormity appear in System.Windows.Forms.dll
Other information: ArgumentException
---------------------------------------------------------------------------
and prompt triangle sign points to LOCATION_1.

ok, this is my problem description, can you help me? thanks again.


Best Regards
Kevin
 
In the Stack view right-click and check Show Non-user code, then reproduce
the problem and post the 2-3 lines that are at the top of the stack
 
Line 1: System.Windows.Forms.dll!AGL.MISC.HandleAr(AGL.PAL_ERROR ar =
BadParam) + 0x44 ??

Line2:
System.Windows.Forms.dll!System.Windows.Forms.ProgressBar._SetInfo(AGL.Form.
AGL_PROGRESSINFO progressinfo = {AGL.Form.AGL_PROGRESSINFO}) + 0x13 ??

Line3:
System.Windows.Forms.dll!System.Windows.Forms.ProgressBar.set_Value(int
value = 3830) + 0x18 ??

Line4: > MemoryDll.dll!MemoryDll.MemoryForm.Memory_timer_Tick(System.Object
sender = {System.Windows.Forms.Timer}, System.EventArgs e =
{System.EventArgs}) ?220 C#
 
It looks like you are assigning the value 3830 to a ProgressBar. What is the
Maximum property value of that progressbar?

Cheers
Daniel
 
I had set the progressBar's value 2200.
I don't know why it's value was set 3830 in the stack? how to got this
value?
 
yes, I hope to do so! but once the program is up, the error dialog will be
pop up, and I can not go into it!
 
Could you please create a simplified application that reproduces the
problem and post it here or send it to me so I could debug it?

Thank you in advance,
Serg.

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "compboy" <[email protected]>
| References: <OyliWIS#[email protected]>
<eByIkQS#[email protected]>
<ui#LBET#[email protected]>
<#JFowwV#[email protected]>
<OAo05sd#[email protected]>
<eGI1GLe#[email protected]>
| Subject: Re: Is it an error?
| Date: Fri, 14 Jan 2005 11:03:57 +0800
| Lines: 131
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| Message-ID: <OFaKhYe#[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: 61.152.135.14
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11
.phx.gbl
| Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.compactframework:68675
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| yes, I hope to do so! but once the program is up, the error dialog will be
| pop up, and I can not go into it!
|
| "Alex Feinman [MVP]" <[email protected]>
| ??????:eGI1GLe#[email protected]...
| > Why don't you run it under debugger and check where does 3800 come from?
| >
| > --
| > Alex Feinman
| > ---
| > Visit http://www.opennetcf.org
| > | > >I had set the progressBar's value 2200.
| > > I don't know why it's value was set 3830 in the stack? how to got this
| > > value?
| > > "Daniel Moth" <[email protected]> дÈëÏûÏ¢ÐÂÎÅ
| > > :#JFowwV#[email protected]...
| > >> It looks like you are assigning the value 3830 to a ProgressBar. What
| is
| > > the
| > >> Maximum property value of that progressbar?
| > >>
| > >> Cheers
| > >> Daniel
| > >> --
| > >> http://www.danielmoth.com/Blog/
| > >>
| > >>
| > >> | > >> > Line 1: System.Windows.Forms.dll!AGL.MISC.HandleAr(AGL.PAL_ERROR
ar
| =
| > >> > BadParam) + 0x44 ??
| > >> >
| > >> > Line2:
| > >> >
| > >
|
System.Windows.Forms.dll!System.Windows.Forms.ProgressBar._SetInfo(AGL.Form.
| > >> > AGL_PROGRESSINFO progressinfo = {AGL.Form.AGL_PROGRESSINFO}) + 0x13
| ??
| > >> >
| > >> > Line3:
| > >> >
| System.Windows.Forms.dll!System.Windows.Forms.ProgressBar.set_Value(int
| > >> > value = 3830) + 0x18 ??
| > >> >
| > >> > Line4: >
| > >> > MemoryDll.dll!MemoryDll.MemoryForm.Memory_timer_Tick(System.Object
| > >> > sender = {System.Windows.Forms.Timer}, System.EventArgs e =
| > >> > {System.EventArgs}) ?220 C#
| > >> >
| > >> >
| > >> >
| > >> > "Alex Feinman [MVP]" <[email protected]>
| > >> > ??????:eByIkQS#[email protected]...
| > >> >> In the Stack view right-click and check Show Non-user code, then
| > >> >> reproduce
| > >> >> the problem and post the 2-3 lines that are at the top of the
stack
| > >> >>
| > >> >> --
| > >> >> Alex Feinman
| > >> >> ---
| > >> >> Visit http://www.opennetcf.org
| > >> >> | > >> >> > I'm so sorry Bogdanov, I don't know how to describe the
problem,
| > >> > becouse
| > >> >> > few messages can be referenced in this error!
| > >> >> > now, i will describe the problem detailedly try my best!
| > >> >> > __________________________________________
| > >> >> > In my project_A, MemoryDll.dll, has a dialog called Dialog_A in
| > > which
| > >> > was
| > >> >> > lie three Labels, and I has defined the Load action, in it, I
| will
| > >> >> > set
| > >> >> > the
| > >> >> > three labels' Text property , like this:
| > >> >> > ------code--------------
| > >> >> > Load()
| > >> >> > {
| > >> >> > ........
| > >> >> > label_Tvalue.Text=infoTest.TPhy.ToString(); ----LOCATION_1, the
| > > prompt
| > >> >> > will appear here!
| > >> >> > label_Avalue.Text=infoTest.APhy.ToString();
| > >> >> > label_Uvalue.Text=infoTest.UPhy.ToString();
| > >> >> > .........
| > >> >> > }
| > >> >> > --------------------------
| > >> >> > In other project_B, I defined a button, when I click the button,
| > >> > Dialog_A
| > >> >> > will be shown.
| > >> >> > When I run this process in PPC or Wince's Simulator, that 's OK,
| but
| > >> >> > run
| > >> >> > it
| > >> >> > in PPC device, a dialog will be shown:
| > >> >> >
| > >> >> > -Microsoft Development Everioment
| > >> >> > dialog-----------------------------------
| > >> >> > unsettled: "System.ArgumentException" a style
of
| > >> >> > abnormity appear in System.Windows.Forms.dll
| > >> >> > Other information: ArgumentException
| > >> >>
| > >>
| >
| >>>
------------------------------------------------------------------------
| -
| > > -
| > >> > -
| > >> >> > and prompt triangle sign points to LOCATION_1.
| > >> >> >
| > >> >> > ok, this is my problem description, can you help me? thanks
again.
| > >> >> >
| > >> >> >
| > >> >> > Best Regards
| > >> >> > Kevin
| > >> >> >
| > >> >> >
| > >> >>
| > >> >
| > >> >
| > >>
| > >>
| > >
| > >
| >
|
|
|
 
Back
Top