On 2/14/06, Shawn Wildermuth <[EMAIL PROTECTED]> wrote:
> Can anyone explain why returning an int32 when the API is ReadByte?
>
Because otherwise, the method would throw an exception on EOF, and you
wouldn't want it. Returning -1 comes from C, just like getch() returns
-1 on EOF. It is useful for
So it can return -1 at the end of the stream?
Phil Wilson
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Shawn
Wildermuth
Sent: Monday, February 13, 2006 4:02 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET] Strea
Can anyone explain why returning an int32 when the API is ReadByte?
Thanks,
Shawn Wildermuth
http://adoguy.com/> http://adoguy.com
C# MVP, MCSD.NET, Author and Speaker
===
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage y
Nice one Phil,
Not a Schroedinbug
- Original Message -
From: "phil paxton" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, February 14, 2006 7:47 AM
Subject: Re: [ADVANCED-DOTNET] RES: [ADVANCED-DOTNET] .NET IS CRAZY ...
On 2/13/06, Peter Suter <[EMAIL PROTECTED]> wrote:
On one troublesome oc
On 2/13/06, Peter Suter <[EMAIL PROTECTED]> wrote:
> On one troublesome occasion I found that on one users machine only, a
> function that contained just one line of code was never run.
> (this was to seperate code that could be obfuscated from code that couldn't)
> Once I added a couple of extra l
(I've continued to fix the pleonasm of "Discussion of Advanced .NET
Topics" to "Advanced .NET Topics". What else is a mailing list going
to do?)
On 2/13/06, Shawn Wildermuth <[EMAIL PROTECTED]> wrote:
> Doesn't mean there shouldn't beand while we're at it...couldn't they
> allow ";" at the en
one other farout possibility is the weird problems that can happen in debug
mode when there are values being tracked in the watch window that actually
interfere with the debugging. (I am not making this up)
If you do have anything in there, try clearing them out and see if that
makes .net less cr
On one troublesome occasion I found that on one users machine only, a
function that contained just one line of code was never run.
(this was to seperate code that could be obfuscated from code that couldn't)
Once I added a couple of extra lines for tracing the code ran fine.
I'd be looking at what
Doesn't mean there shouldn't beand while we're at it...couldn't they
allow ";" at the end of lines and just ignore them?
(Ducks and runs)...
Thanks,
Shawn Wildermuth
http://adoguy.com
C# MVP, MCSD.NET, Author and Speaker
-Original Message-
From: Discussion of advanced .NET top
It happens to the best of "us" (I'm not claiming I'm one of the best)
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Gregory Miley
Sent: Monday, February 13, 2006 8:39 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-D
On 2/12/06, Vitor Dantas de Andrade <[EMAIL PROTECTED]> wrote:
> The code is right, i´m doing it in VB ... It´s realy a bug on Vstudio, i
> sent a screenshot to prove it, but i can´t post it on this list.
Even while the Internet was the "World's Biggest Secret Club"[1] (pre
'93) attachments on em
I am aware there is no "==" in VB, I was simply making a quick suggestion on
something to possibly check.
If I would have known that making a suggestion would have generated 3 or 4
"OMGWHATAREYOUTHINKING" responses, then I would have just skipped sending it.
Carry on.
-Original Message---
Also, maybe put a messagebox or a print statement in there to check it.
MessageBox.Show(lista.Count.ToString())
Greg
-Original Message-
From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Welborn
Sent: Monday, February 13, 2006 09:33
To: ADVANC
Crazy question, but are you checking the value before, during, or after you
are in the debugger checking the code?
If you check the value while the debugger is 'On' or 'before' the code you
want to check then it might not be updated to the correct value yet. You
might have to f10 past it to get a
On 2/12/06, Vitor Dantas de Andrade <[EMAIL PROTECTED]> wrote:
>
> The code is very simple, its like :
>
> If lista.Count = 0 then FillFunction()
>
> The problem is, when i get to this line, the debugger shows lista.Count =
> 3,
> but the code enters the FillFunction()
> Lista is a generics list
>
There is no "==" operator in VB
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Gregory Miley
Sent: Monday, February 13, 2006 8:01 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] .NET IS CRAZY ...
If you are wri
> Correct, Count is Get only, it also appears he is writing in
> VB.Net and not C# - but we don't know if what little he
> provided is actual code, pseudo-code, or what...
oh, I wasn't talking about get/set ;)
if you place an assignment in an if expression like:
if(i=0) {}
Hmm am I the only one seeing emails from Vitor as if
he had replied *yesterday* to emails posted *today*? :S
I am using Gmail :)
// Ryan
> -Original Message-
> From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf
> Of Vitor Dantas de Andrade
> Sent: Sunday, Febr
Perhaps upload the image to your website and provide a link.
Thanks,
Greg
-Original Message-
From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf
Of Vitor Dantas de Andrade
Sent: Sunday, February 12, 2006 10:25
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: RE
HI,
The code is right, i´m doing it in VB ... It´s realy a bug on Vstudio, i
sent a screenshot to prove it, but i can´t post it on this list.
Thanks,
Vitor
-Mensagem original-
De: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Em nome de Gregory Miley
Enviada em: segunda-f
Correct, Count is Get only, it also appears he is writing in VB.Net and
not C# - but we don't know if what little he provided is actual code,
pseudo-code, or what...
I was simply suggesting that he check to see if he is actually comparing
or inadvertently setting.
Vitor:
Could you provide some o
> If you are writing in C# then I would make sure you are
> comparing not setting:
>
> if( lista.Count == 0) { /* ... */ }
>
> Instead of:
>
> if( lista.Count = 0) { /* ... */ }
this won't compile in C#
FB
===
This list is h
If you are writing in C# then I would make sure you are comparing not setting:
if( lista.Count == 0) { /* ... */ }
Instead of:
if( lista.Count = 0) { /* ... */ }
Since we still do not have any real code to go by, I can only assume this might
be the problem.
Greg
---
Hi everybody,
Sorry about the code ... I sent the picture but you didn´t get it ...
The code is very simple, its like :
If lista.Count = 0 then FillFunction()
The problem is, when i get to this line, the debugger shows lista.Count = 3,
but the code enters the FillFunction()
Lista is a generics
Why do you think every CRM Sales Lead needs an AD entity?
Because the CRM uses AD for identity and role based security only; not for
network access purposes. I wasn't sure if the AD was used for all system
entities and specifically leads with the potential to convert to customers.
As per another po
25 matches
Mail list logo