473,463 Members | 1,525 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Wierd For...Each behavior

Tom
This is very strange: I have a Windows Form with a Panel on it. In that
panel I dynamically (at run time) create some labels, as so:

for i=1 to x
dim ctlNew as New Label()
with ctlNew
.Name="Whatever" & trim(cstr(i))
.Text=.Name
.Visible=True
... etc etc etc ...
end with
MyPanel.Controls.Add(ctlNew)

This shows up fine when the form is displayed. However, I also have a reset
button on the form, which goes thru and destroys the labels, as such:

dim ctl as Control
for each ctl in MyPanel.Controls
if typeof ctl is Label then
ctl.text=""
ctl.visible=False
ctl.Dispose()
end if
next

OK, here is the WIERD thing: The For...Each loop only seems to pick up the
EVEN or ODD numbered controls! It skips some of the controls (i.e. the odd
ones).... if I rerun the loop about three times, one right after the other,
it will finally pick up all the controls and get rid of them.

I -think- the code is correct - I even added a ctl=Nothing before and/or
after the ctl.Dispose(), but it didn't help. The For...Each loop just seems
the skip some of the label controls during its run. I am baffled ... even
though it is probably something dumb that I am doing.

Anyone got any ideas on this?

Tom

Nov 20 '05
112 3910
Cor
Robert,
Wise words sorry for going on.
Thanks
Cor
Nov 20 '05 #51
Hi Robert,

Why get into a flame war?

Because it's fun, a chance to be juvenile amidst a whole load of
seriousness.

It's a chance to be part of a gang and defend territory.

It's basic to human nature. It's basic human nature. It's just basic -
sheer bloody primitive. Yowooooo!!!

And that makes a nice change, sometimes. :-D

It's good to rise above these things and remain detached and civilised.

It's good to get all hot and bothered every now and then, too.

Regards,
Fergus
Nov 20 '05 #52
Hi Jack,

|| For every Nak
|| drop dead

Now if you <were> to drop dead for each Nak ...

|| It seems pointless to discuss anything here with you.

Yes, it is - when you're blushing as much as you are.

|| You're more interested in flaming than code.

Oh absolutely - as shown by all the snippets and references and even
complete projects that Nick has provided.

Fergus
Nov 20 '05 #53
"Cor" <no*@non.com> schrieb:
For i = Me.Controls.Count To 0 Step -1
Dim ctl As Control
it typeof ctl is Label then
Me.Controls.Remove(ctl)

There is not even an if in this example but an it..


LOL

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Nov 20 '05 #54
"Nak" <a@a.com> schrieb:
1. Flame Cor's code aggressively in newsgroup
2. While receiving flack from doing the above
2.1 Act like a complete tosser
2.2 Become very unpopular in the newsgroup
2.3 End While
3. Leave, with tail between legs.


LOL

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #55
"Jack Spry" <js***@nospammers.com> schrieb:
Still wishing for a GOTO to simplify your code?


GOTO my killfile.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #56
"Jack Spry" <js***@nospammers.com> schrieb:
Let's see who was the first one to post a _working_ example.
Put up, or shut up yourself. I know that you'd rather
challenge me than write code that works,so my code's posted.


Maybe Cor is not always "professional", but he contributes a lot to this ng.
You come in and play the troll. Shame on you.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #57
"Fergus Cooney" <fi******@tesco.net> schrieb:
Nick's code was posted several hours ago!!


Mhmmm... I am not able to see it. My newsreader kills attachments
automatially.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #58
Hi Nick,

|| I feel that he might have burst a blood vessel
|| whilst inserting his head up his arse.

ROFL. Yeugh!!

Regards,
Fergus
Nov 20 '05 #59
"Nak" <a@a.com> schrieb:
Do you think Jack is alright? I feel that he might have
burst a blood vessel whilst inserting his head up his arse.


LOOOL

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #60
Hi Nick,

Excellent!! Big Time ROFL at Jack's expense..

|| .. small girl in lilac who has just dropped
|| her dummy out of the pram ..

LOL

|| Are you feeling lucky, punk? .. Well are you??

I've slight misquoted you but that's the image I got!

Fergus.

ps. What's wrong with lilac? :-(
Nov 20 '05 #61
Hi Jack,

|| Tell your shrink that you're projecting your emotions again.

"Projecting your emotions" is not a correct psychological term, Jack. It's
a term misused by the general public. The word you're looking for there is
'expressing'. The expressing of emotions doesn't require a shrink. On the
contrary, there are those who repress their emotions and may find that they
benefit from a few sessions with a therapist.

It might do you some good to read and apply the following.
http://mentalhelp.net/psyhelp/

Fergus
Nov 20 '05 #62
LOL, Herfried

Regards,
Fergus
Nov 20 '05 #63
Hi Herfried,

Ahah, so <that's> why you hate them.

Regards,
Fergus
Nov 20 '05 #64
LOL. Ok ... NERD FIGHT!!!

I just feel bad for poor Tom... he just wanted a simple answer to a simple
question. <g>
"Fergus Cooney" <fi******@tesco.net> wrote in message
news:ul**************@TK2MSFTNGP11.phx.gbl...
Hi Robert,

Why get into a flame war?

Because it's fun, a chance to be juvenile amidst a whole load of
seriousness.

It's a chance to be part of a gang and defend territory.

It's basic to human nature. It's basic human nature. It's just basic -
sheer bloody primitive. Yowooooo!!!

And that makes a nice change, sometimes. :-D

It's good to rise above these things and remain detached and civilised.
It's good to get all hot and bothered every now and then, too.

Regards,
Fergus

Nov 20 '05 #65
Hi Jack,

|| Yes, you would rather do that than post
|| your own solution, hypocrite.

On the contrary Jack, this query was resolved hours ago by Cor and Nick. I
see no point in writing my own version of a given solution. The only thing I
would be able to contribute is a different style. That strikes me as pointless
in a practical question such as this.

Nor would it have been any use explaining the concepts in any greater
depth because everything was explained to Tom perfectly well. He went away
happy.

My contribution to this thread is to defend my colleagues from unjustified
aggression. I choose to do this by applying equal or greater aggression.

And while this has all been going on I have been busy investigating and
solving a number of other queries. I've answered countless queries since I
joined this newsgroup. In the last whole time that I've noticed you here Jack,
you have contributed to how many queries ? Answer: 4.

Here's one response you gave to someone.

|| I've heard this question asked many times. Without
|| exception, I've found that further investigation into
|| the motivation behind such a request has revealed
|| inappropriate justification for doing so due to ignorance
|| of Windows standards and conventions.

Implication - You (the person with the query) are going to be yet another
(yawn) ignorant programmer who hasn't learnt the manual and is doing things
that they shouldn't.

|| There's always a chance this could be the rare exception,
|| but I wouldn't bet on it.

Implication - Yep, I (Jack) think that you <really are> going to be just
another moron.

I think that your choice of language is inappropriate Jack. I think it may
be due to ignorance of good etiquette. On the other hand maybe it just
confirms my view of you as arrogant, snide, big-headed, conceited and smugly
superior.

It seems to me that you are exhibiting a cluster of behavioural traits
suggestive of the Narcissistic Personality Disorder.

http://www.nlm.nih.gov/medlineplus/e...cle/000934.htm
and

http://topcondition.com/images/mymin...ity_disorde.ht
m

Symptoms: A person with narcissistic personality disorder:
Reacts to criticism with feelings or rage, shame, or humiliation
Takes advantage of others to achieve own goals
Has feelings of self-importance
Exaggerates achievements and talents
Is preoccupied with fantasies of success, power, beauty, intelligence,
or ideal love
Has unreasonable expectations of favorable treatment
Requires constant attention and admiration
Lacks empathy

How many have you got Jack? You don't need a full set for a diagnosis.
Shall we talk about that shrink again?.

Fergus
Nov 20 '05 #66
;-D
Nov 20 '05 #67

"Fergus Cooney" <fi******@tesco.net> wrote in message
news:uv**************@tk2msftngp13.phx.gbl...
My contribution to this thread is to defend my colleagues from unjustified aggression. I choose to do this by applying equal or greater aggression.
Yes, it's obvious that you've only intended to flame from the start. That's
the true measure of your character. You've conveniently avoided every
possible opportunity to discuss the technical merits of this thread. You
demanded that I post my code. I did. You ignored it. No amount of
rationalization for your own behavior justifies it. You never had any
intent of discussing the issues in this thread. So who's the troll in this
case? That you help in other threads doesn't excuse your behavior in this
one.

And while this has all been going on I have been busy investigating and solving a number of other queries. I've answered countless queries since I
joined this newsgroup. In the last whole time that I've noticed you here Jack, you have contributed to how many queries ? Answer: 4.
So how many free "flame cards" do you get for providing helpful answers?

Here's one response you gave to someone.

|| I've heard this question asked many times. Without
|| exception, I've found that further investigation into
|| the motivation behind such a request has revealed
|| inappropriate justification for doing so due to ignorance
|| of Windows standards and conventions.

Implication - You (the person with the query) are going to be yet another (yawn) ignorant programmer who hasn't learnt the manual and is doing things that they shouldn't.
You can selectively pull comments out of context all you want, but nobody
objected to what I said at the time, either technically or personally.
I think that your choice of language is inappropriate Jack. I think it may be due to ignorance of good etiquette. On the other hand maybe it just
confirms my view of you as arrogant, snide, big-headed, conceited and smugly superior.
Is name calling all you can do?

It seems to me that you are exhibiting a cluster of behavioural traits
suggestive of the Narcissistic Personality Disorder.
[snip]
How many have you got Jack? You don't need a full set for a diagnosis.
Shall we talk about that shrink again?.


Your diagnosis is worth every penny that I paid for it.

Nov 20 '05 #68

"Herfried K. Wagner [MVP]" <hi*******@m.activevb.de> wrote in message
news:eJ*************@TK2MSFTNGP09.phx.gbl...
"Jack Spry" <js***@nospammers.com> schrieb:
Let's see who was the first one to post a _working_ example.
Put up, or shut up yourself. I know that you'd rather
challenge me than write code that works,so my code's posted.
Maybe Cor is not always "professional", but he contributes a lot to this

ng. You come in and play the troll. Shame on you.


First of all, I did not come here to troll.

In my original post I said:
It doesn't help when you post bad code that doesn't work, despite your good
intentions.
You also might want to learn when to use While or Do loops instead of misusing a For loop.

It was you that posted, less than an hour after my original post:
"If you have a working solution, feel free to post it. Do not shout at

other
people there if you do not contribute to the ng."

You apparently read my message as a flame. Cor's code didn't work. That is
a fact. It is undisputed to this point. Code that doesn't work isn't
helpful even though that was the intent. Do you dispute this? For loops
aren't very suitable for iterating dynamic data structures that will change
within the iterations, so that's what I meant by 'misusing a For loop'.
Iterating the collection from back to front using a For loop merely a means
to get a poorly chosen looping structure to work in this situation. These
are technical issues that are open for legitimate debate.

You accuse me of being a troll. I had no intention to argue for the sake of
argument or otherwise discuss anything beyond the technical issues. I did
not shout, and I challenge you to show where I did. You didn't even give me
an hour to post a solution. Who the hell do you think you are? Being an
MVP doesn't give you any authority to dictate the direction of the
conversation. You also neglect to recognize who has done the majority of
the abusive name calling in this thread, going so far as to condone and
support their behavior yourself. You and everyone else here has also
conveniently chosen to ignore the code that I posted and its merits,
choosing instead to jump on the bandwagon of flamers. I'm not pleased with
how this thread has turned out. How many trolls post real code, that works,
and is at least as good as anything else posted? I stand by my code, and if
you would've given me a chance to post it before you and others started
attacking, maybe you could see that.

Instead of focusing on the problems in his own code, Cor demanded that I
post something immediately and reposted this demand repeatedly, all within
two hours of my original post. I had only intended my initial message to
serve to point out that the code wouldn't work until I had a chance to post
an alternative, and my reference to 'padawan' wasn't intended as a slam but
in jest. Apparently you and others took this as a flame. But an honest
reevaluation might see that this may have a different intention than what
you assumed to be the case.

You also chose to neglect my response to Scott, in which I corrected the
information he suggested and explained why it wouldn't work. Cor, Fergus,
and Nick continued to challenge me to post an alternative, again within a
mere two hours of this post.

No one apparently took issue with any of the technical information I
provided in my original posts to Cor or Scott or even offered any challenge
to what I said and merely resorted exclusively to personal attacks and
challenges. Cor's code wouldn't work for many reasons, although he thought
I was referring to typographical problems, this was purely an inaccurate
assumption on his part. Rather than directly point out the error, I chose
to point out the nature of the problem rather than specify the exact problem
itself, which I thought was a better way for him to discover the problem on
his own. Had he actually tried his own code to reveal the error, he might
have seen the legitimate problem I had raised.

Your MVP status doesn't convey you any authority to misrepresent the nature
of this thread and your complicity in condoning the abuse by cheering them
on. You don't deserve any respect for that, regardless of what other help
you provide here.

But you've killfiled me, right?

That's OK. I no longer have any expectation of any measure of fair
treatment from you. You can dismiss me as a troll, regardless of the facts.
Nov 20 '05 #69
ROTFL

"Jack Spry" <js***@nospammers.com> wrote in message
news:Oc**************@tk2msftngp13.phx.gbl...

"Fergus Cooney" <fi******@tesco.net> wrote in message
news:uv**************@tk2msftngp13.phx.gbl...
My contribution to this thread is to defend my colleagues from unjustified
aggression. I choose to do this by applying equal or greater aggression.


Yes, it's obvious that you've only intended to flame from the start.

That's the true measure of your character. You've conveniently avoided every
possible opportunity to discuss the technical merits of this thread. You
demanded that I post my code. I did. You ignored it. No amount of
rationalization for your own behavior justifies it. You never had any
intent of discussing the issues in this thread. So who's the troll in this case? That you help in other threads doesn't excuse your behavior in this
one.

And while this has all been going on I have been busy investigating and
solving a number of other queries. I've answered countless queries since I joined this newsgroup. In the last whole time that I've noticed you here

Jack,
you have contributed to how many queries ? Answer: 4.


So how many free "flame cards" do you get for providing helpful answers?

Here's one response you gave to someone.

|| I've heard this question asked many times. Without
|| exception, I've found that further investigation into
|| the motivation behind such a request has revealed
|| inappropriate justification for doing so due to ignorance
|| of Windows standards and conventions.

Implication - You (the person with the query) are going to be yet

another
(yawn) ignorant programmer who hasn't learnt the manual and is doing

things
that they shouldn't.


You can selectively pull comments out of context all you want, but nobody
objected to what I said at the time, either technically or personally.
I think that your choice of language is inappropriate Jack. I think it may
be due to ignorance of good etiquette. On the other hand maybe it just
confirms my view of you as arrogant, snide, big-headed, conceited and

smugly
superior.


Is name calling all you can do?

It seems to me that you are exhibiting a cluster of behavioural

traits suggestive of the Narcissistic Personality Disorder.
[snip]
How many have you got Jack? You don't need a full set for a diagnosis. Shall we talk about that shrink again?.


Your diagnosis is worth every penny that I paid for it.

Nov 20 '05 #70
Hi Jack,

|| Yes, it's obvious that you've only intended to flame
|| from the start. That's the true measure of your character.

Thank you for noticing. I am here in defense of my friends. Not that they
need it per se, but it provides a united front. It is, indeed, a measure of my
character. I call it loyalty.

===============================================
|| You've conveniently avoided every possible opportunity
|| to discuss the technical merits of this thread.
||
|| No amount of rationalization for your own behavior justifies
|| it. You never had any intent of discussing the issues in this thread.

As I said to you before, the technical side of this thread was dealt with
and didn't concern me. No. I haven't avoided it, because, true, I never
intended to discuss the technicals with you.

I'm here against your method of criticism. That is my motivation. Pure and
simple. I don't need to rationalise it. It is reason enough.

The fact that this is taking place in this thread is irrelevant. It will
happen anytime that I see mistreatment. I had cause to pull up one of our own
because he was clumsy with a 'customer'. I have cause to pull you up because
of your mistreatment of one of us. It's a self-appointed role. I do it because
I care and because I can.
|| You demanded that I post my code. I did. You ignored it.

I failed to comment on it. That's not the same thing. You want an opinion
of the code? It's ok. It works. I find it a bit windy and it's not the most
efficient approach.

To Herfried:
|| Iterating the collection from back to front using a For loop
|| merely a means to get a poorly chosen looping structure to
|| work in this situation.

I disagree. Your method recounts the size of the collection each time.
Counting backwards with a For loop only needs one Controls.Count and takes
fewer lines.

===============================================
|| So who's the troll in this case?

I didn't accuse you of that. I know the Trolls from fairy tales and Terry
Pratchett's "Disc World". I don't know what a 'troll' is in this context.

|| So how many free "flame cards" do you get for providing helpful
answers?

You don't get 'flame cards'. You get to build a respectful relationship
with your associates. You get to care about them. You get to dislike it when
someone who has not participated in these joint efforts takes it upon himself
to use careless language when criticising one of them. It's not a 'flame
card' - it's a relationship. Something about which you may well have much to
learn.

To Herfried:
|| Who the hell do you think you are?
|| ...
|| bandwagon of flamers

As above, we think we are a group of people working for the benefit of
others, who have found friendship and camereaderie with each other. Who are
you to come in with your insensitivities? Criticise by all means. But any
means that lack a caring attitude will be responded to. Heavily.
===============================================
|| You can selectively pull comments out of context all you want,
|| but nobody objected to what I said at the time, either technically
|| or personally.

It's a fact of human nature that people don't complain nearly as much to
someone who offends them as they do to themselves or people close to them.
It's something that boorish people and profit-makers the world over rely on.
People don't like to make a fuss.

It's especially the case with many of the people coming to a situation
like this where they perceive us as the experts who are to be respected and
listened to. It's not always the case, of course, but it is certainly true of
those who are junior.

You <don't know> whether you caused offence or not. Given your apparent
lack of sensitivity I would guess that even someone bursting into tears in
front of you would make you wonder what's wrong with <them> not the more
appropriate "what did I say". Sensitivity in dealing with people is something
that is worth making the effort at. [And no, I'm not being sensitive with you,
so don't bother with <that> one.]
|| > I think that your choice of language is inappropriate Jack.
|| > I think it may be due to ignorance of good etiquette. On the
|| > other hand maybe it just confirms my view of you as arrogant,
|| > snide, big-headed, conceited and smugly superior.
||
|| Is name calling all you can do?

No Jack. As you can see in my posts to you, name calling is just a very
small part of my response to you.

I have to wonder. How many of those words have other people accused you of
being in your life? How many others have complained about how you express your
criticisms?
Original post to Cor:
|| It doesn't help when you post bad code that doesn't work,
|| despite your good intentions.
||
|| You also might want to learn when to use While or Do loops
|| instead of misusing a For loop.
First sentence: You're wrong.
Second sentence (condescending): Go away and learn the basics.

Note that there's no hint of any actual correction. No "Count needs to be
decremented", or "ctl needs to be assigned to before use". If you could see
the errors so clearly, what stopped you from cutting, correcting and pasting?
To Herfried:
|| I had only intended my initial message to serve to point out that the
|| code wouldn't work until I had a chance to post an alternative, and
|| my reference to 'padawan' wasn't intended as a slam but in jest.

I accept that there was a mistake with your timing. I don't accept your
message or the language that you used. I do not know what "padawan" is but
when you make a jest in a situation where misunderstanding is possible, you
can qualify it with a smiley. Given that your first post was already
offensive, there was no reason to imagine that you had become friendly enough
to joke. That was bad judgement.

===============================================
|| > It seems to me that you are exhibiting a cluster of behavioural
|| > traits suggestive of the Narcissistic Personality Disorder.
|| > ...
|| > How many have you got Jack? You don't need a full set for a
|| > diagnosis. Shall we talk about that shrink again?.
||
|| Your diagnosis is worth every penny that I paid for it.

There's no monetary charge for that one, Jack. You paid for it in
embarassment when you read it. You paid for it in the way that it stirred your
emotions.

However, it's not a diagnosis. It's a dig. To diagnose someone with a
Personality Disorder requires a lot more than reading a few posts. While I
might suspect that you have a few behaviour traits and attitudes that make
life a bit less comfortable for those who you relate to, I would refuse to
give you a definitive label without an interview. Interestingly enough,
though, of all the Personality Disorders, the Narcissist is the least likely
to accept that there's anything amiss. They only look out for number 1, so
they're all right, Jack. It's the people around them who notice it and suffer
the consequences. So, I'll ask again. How many people are giving you hints,
big or small, that they're not happy in relation to you?

===============================================
Let me finalise this post for you, Jack, by spelling it out.

Had you used language that implied a degree of sensitivity, that cared
<how> you criticised, then I would not have felt called upon to respond as
actively as I have. Had you actually posted a solution rather than simply
spraying negativity, I might have simply thought of you as rude. If at any
time, since, had you put your hand up and said, yes, that was a bit clumsy of
me, sorry, I could have said it better, I would similarly have not been so
active against you.

You can still apologise, if you wish. I would be surprised to the max if
you were big enough to do this with good grace - no ifs or buts. It would show
that you've learned something. I suspect that you've learned a lot but pride
will keep that hidden.

No matter. Whatever the outcome, you are changed.

Fergus
Nov 20 '05 #71
Nak
> || Are you feeling lucky, punk? .. Well are you??
LOL!

I thought I might have been getting carried away, but then I thought again,
naaah. There is nothing wrong with testing your grammar every now and then
in a flame war!! :-)

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Slow internet connection?
Having problems with you job?
You're marriage is on the rocks?
You can't sleep at night?
You have a drink and drugs addiction?
You are sexually impotent?
Then enable Option Strict!
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #72
Cor
Fergus and of course all others,
That is early this morning, I am suprissed.
Even Nick did support me and after a while even Herfried showed he became
angry, did gave me a good feeling.
The errors where so little and bassicly I was expecting from the supplied
code from Tom that only some hints where necassery.
The code Tom used, showed for me that he was not a beginner but just was
searching for some things he could not find.
Thanks all
Cor
Nov 20 '05 #73
Nak
Hi Fergus,

That was very powerful, ever thought of getting into politics? I've
come across people like that before, they simply crawl newsgroups looking
for things to flame, sometimes they go around in pairs, between them they
have a very good time because it is very rare for others to unite against
them. In this case though I believe their is actually a thread of community
in this newsgroup and there are people contributing with all their spare
time, admittedly I do not help as much as others, that is mainly because I
don't know as much as others, but that doesn't get me down or stop me from
trying to help.

I know others will look at the flames from ourselves too and believe
them to be just as bad as his original flame, but as far as I'm concerned
Jack isn't going to be doing any of that in this newsgroup, and I will
protest that even if it means receiving flack, as I believe you feel. I
think you made the quote of the year though Fergus...

"No matter. Whatever the outcome, you are changed."
Fergus - 5 September 2003

I'd be surprised if he has anything else to say, but whatever he says in
this thread now is over my head because I've got "shit" to do, I've got bad
programming to practice ;-) Maybe one day we will be as good a programmers
as Jack, at least I do *hope* he is a good programmer because if he isn't,
sheeesh, he hasn't got much else going for him!

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Slow internet connection?
Having problems with you job?
You're marriage is on the rocks?
You can't sleep at night?
You have a drink and drugs addiction?
You are sexually impotent?
Then enable Option Strict!
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #74
Nak
> Ahah, so <that's> why you hate them.

Hi Herfried,

What newsreader do you use?

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Slow internet connection?
Having problems with you job?
You're marriage is on the rocks?
You can't sleep at night?
You have a drink and drugs addiction?
You are sexually impotent?
Then enable Option Strict!
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #75
Nak
Hi Cor,

Yes I realise that now, I didn't know there were newsreaders that
deleted attachments, I do know now. My code used a similar method (But I
never confessed to it being the best code anyway, I freely admit it was a
bit cheesy, but at least it explains his problem), I hadn't even thought of
going backwards through the collection, what can I say?

"You learn something new every day"

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Slow internet connection?
Having problems with you job?
You're marriage is on the rocks?
You can't sleep at night?
You have a drink and drugs addiction?
You are sexually impotent?
Then enable Option Strict!
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #76
Nak
Hi Jack,
In my original post I said:
We know what you said in your original post, strangely enough.
an hour to post a solution. Who the hell do you think you are? Being an MVP doesn't give you any authority to dictate the direction of the
conversation. You also neglect to recognize who has done the majority of

Being an MVP might not give the authority to change the direction of
conversation but it does give him allot of respect from others in the
newsgroup. Herfried dedicates far more of his time helping others than you
or I do, and probably anyone else who uses this newsgroup. His status gives
him the right to have a respected view, because at the end of the day if it
wasn't for the MVP's this newsgroup would be dead. Do you honestly think
Microsoft would rather pay people to help in here? dream on!
conveniently chosen to ignore the code that I posted and its merits,
choosing instead to jump on the bandwagon of flamers. I'm not pleased with

Congratulations Jack on a fine piece of code, a bit late mind, but a
fine piece of code. I think that we should all recommend *you* for MCP
status simply down to your amazing piece of code, if we all had your skills
software would be so much nicer.
You also chose to neglect my response to Scott, in which I corrected the information he suggested and explained why it wouldn't work. Cor, Fergus, and Nick continued to challenge me to post an alternative, again within a mere two hours of this post.
*Yawn... looks at watch*
Your MVP status doesn't convey you any authority to misrepresent the nature of this thread and your complicity in condoning the abuse by cheering them on. You don't deserve any respect for that, regardless of what other help you provide here.
Don't you mean misinterpret? Herfried wasn't really representing this
thread was he? He is simply pointing out facts that you are "trolling" in a
"troll" like manor that is both vile and undesirable. Again, without the
MVP's, especially Herfried, this newsgroup would be dead, as dead as your
personality.
But you've killfiled me, right?

That's OK. I no longer have any expectation of any measure of fair
treatment from you. You can dismiss me as a troll, regardless of the

facts.

LOL, regardless of the facts that you are a troll? If you don't want
fair treatment from Herfried then don't expect the other MVP's to treat you
fairly (Not that I speak for them of course as I am not an MVP), why not
simply leave the newsgroup? because you aren't doing any good in this one,
unless of course you try apologising to Cor, maybe things could settle down
again.

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Slow internet connection?
Having problems with you job?
You're marriage is on the rocks?
You can't sleep at night?
You have a drink and drugs addiction?
You are sexually impotent?
Then enable Option Strict!
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #77
Cor
Nick,
I have the same curiosity
Because on my regular provider your file was not there.
I had to look for news.Microsoft.com to find it.
Cor
Nov 20 '05 #78
Nak
> Nick,
I have the same curiosity
Because on my regular provider your file was not there.
I had to look for news.Microsoft.com to find it.
Cor


I can't even log onto my ISP's news server! The bastards didn't even tell me
how to when I signed up to their service! Oh well.

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #79
"Cor" <no*@non.com> schrieb:
I have the same curiosity
Because on my regular provider your file was not there.
I had to look for news.Microsoft.com to find it.


That's one reason why attachments should not be used.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #80
"Fergus Cooney" <fi******@tesco.net> schrieb:
Ahah, so <that's> why you hate them.


;-)))

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #81
"Nak" <a@a.com> schrieb:
What newsreader do you use?


Find it out yourself!

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #82
"Jack Spry" <js***@nospammers.com> schrieb:
First of all, I did not come here to troll.

In my original post I said:
Sorry, I forgot the ";-)".
You also might want to learn when to use While or Do
loops instead of misusing a For loop.


It was you that posted, less than an hour after my original post:


I fully agree with you. 'For...To' is not a gode choice in this case.
You apparently read my message as a flame. Cor's code didn't
work. That is a fact.
ACK.
It is undisputed to this point. Code that doesn't work isn't
helpful even though that was the intent.
ACK.
For loops aren't very suitable for iterating dynamic data
structures that will change within the iterations, so that's what
I meant by 'misusing a For loop'.
ACK.
Iterating the collection from back to front using a For loop
merely a means to get a poorly chosen looping structure
to work in this situation. These are technical issues that
are open for legitimate debate.
ACK.
I did not shout, and I challenge you to show where I did.
You didn't even give me an hour to post a solution.
I feel sorry, I am not a native English speaker and it seemed to me that
your posting sounded very unfriendly.
Who the hell do you think you are?
Herfried K. Wagner.
Being an MVP doesn't give you any authority to dictate
the direction of the conversation. You also neglect to
recognize who has done the majority of the abusive name
calling in this thread, going so far as to condone and support
their behavior yourself. You and everyone else here has also
conveniently chosen to ignore the code that I posted and
its merits, choosing instead to jump on the bandwagon of
flamers. I'm not pleased with how this thread has turned
out.
I am not pleased too.
How many trolls post real code, that works, and is at least
as good as anything else posted? I stand by my code, and if
you would've given me a chance to post it before you and others
started attacking, maybe you could see that.
OK, I didn't see your code when posting. Sorry.
Your MVP status doesn't convey you any authority to
misrepresent the nature of this thread and your complicity in
condoning the abuse by cheering them on. You don't deserve
any respect for that, regardless of what other help you provide here.
LOL.
But you've killfiled me, right?
No. That was kind of joke. We often make jokes there...
That's OK. I no longer have any expectation of any measure
of fair treatment from you. You can dismiss me as a troll, regardless
of the facts.


I feel sorry, but in your case that was a late-night (Europe) joke.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #83
"Nak" <a@a.com> schrieb:
MVP doesn't give you any authority to dictate the direction of the
conversation. You also neglect to recognize who has done the
majority of
Being an MVP might not give the authority to change the
direction of conversation but it does give him allot of respect
from others in the newsgroup.


It was never my intention to change the direction of conversation.
Nevertheless, as an MVP, I am allowed to write my optinion (like all the
other people there).
Herfried dedicates far more of his time helping others than you
or I do, and probably anyone else who uses this newsgroup.
LOL.
His status gives him the right to have a respected view, because at
the end of the day if it wasn't for the MVP's this newsgroup would be
dead.
There are some well-contributing non-MVPs too...
Do you honestly think Microsoft would rather pay people
to help in here? dream on!
LOL.
Congratulations Jack on a fine piece of code, a bit late mind, but a
fine piece of code. I think that we should all recommend *you* for MCP
status simply down to your amazing piece of code, if we all had your skills software would be so much nicer.
Notice that Jack _was_ right: A 'For...To' loop is not the best choice in
this case.
Don't you mean misinterpret? Herfried wasn't really representing this
thread was he? He is simply pointing out facts that you are "trolling" in a "troll" like manor that is both vile and undesirable. Again, without the
MVP's, especially Herfried, this newsgroup would be dead, as dead as your
personality.
For me, trolls are people wo start "threads" which cause a lot of off-topic
discussion.
LOL, regardless of the facts that you are a troll? If you don't want
fair treatment from Herfried then don't expect the other MVP's to
treat you fairly (Not that I speak for them of course as I am not an
MVP), why not simply leave the newsgroup?


There are free Java ngs available too...

;-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #84
Cor
Herfried,
I think that I am therefore so curious, because it says OE 6.0 and with that
it is quiet easy to download attachments.

Because it is not a topic for this newsgroup, I cannot give you the answer
how.
But you can look for that at

<news://msnews.microsoft.com/microsoft.public.de.outlook>

:-)

When you be able with your own newsreader to change the official lines, I am
curious to know how you did that
:-)

Cor
Nov 20 '05 #85
Cor
Herfried,
Please contribute to a try from me for a now more serious discussion I have
opened?
Cor
Nov 20 '05 #86
"Cor" <no*@non.com> schrieb:
Please contribute to a try from me for a now more serious discussion
I have opened?


I have "queued" your discussion... I will read it soon.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #87
Hello,

"Cor" <no*@non.com> schrieb:
I think that I am therefore so curious, because it says OE 6.0
and with that it is quiet easy to download attachments.


It's easy, but I don't download them.

;-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #88
"Nak" <a@a.com> schrieb:
Yes I realise that now, I didn't know there were newsreaders that
deleted attachments


Some newsservers and newsreaders delete attachments.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #89
Nak
> Find it out yourself!

Well thank you very much Herfired, by looking at your message source you are
using "Outlook Express"

'X-Newsreader: Microsoft Outlook Express 6.00.2800.1158

But if this is the case I thought it only prevented you from opening them, I
wasn't aware that it deleted them?

Also, why the tension? Have I upset you at all Herfried?

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #90
Nak
> It was never my intention to change the direction of conversation.
Nevertheless, as an MVP, I am allowed to write my optinion (like all the
other people there).
Did I say otherwise then?
There are some well-contributing non-MVPs too...
Again, did I say otherwise?
Notice that Jack _was_ right: A 'For...To' loop is not the best choice in
this case.
Yet again, did I say otherwise?
For me, trolls are people wo start "threads" which cause a lot of off-topic discussion.
Oh, I see where you going with this one, thanks Herfried, at least I know
where I stand with you now, fair enough.
There are free Java ngs available too...


And? If you are refering to my post about making a menu item for IE by
VB.NET code then I think you are being a bit on the picky side, as my
questions regarding said code has even been posted into the IE newsgroup
with 0 replies, that is also why I was asking as I wasn't sure if I needed
to use JavaScript or not. But fair enough, if you want to feel that way,
who am I to stop you? Maybe I shouldn't defend your integrity next time, I
expect you can do that well enough on your own.

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #91
Tom
GOOD GRIEF!!! All I wanted was a simple answer... didn't mean to start a
huge discussion! :)

I should blame myself partly on this... it was only after I wnet thru the
debugger numerous times that it dawned on me 'DUMMY! You are removing items
from an array, which changes the number of elements in the array...' and
then saw the error of my ways. Didn't mean to start everyone into a flame
war over pseudo code vs. real code, etc.

But I do want to thank everyone for their help.... Guess it is time to end
this thread, though.

Tom

"Robert Jacobson" <rj**********************@nospam.com> wrote in message
news:uy**************@TK2MSFTNGP11.phx.gbl...
LOL. Ok ... NERD FIGHT!!!

I just feel bad for poor Tom... he just wanted a simple answer to a simple
question. <g>
"Fergus Cooney" <fi******@tesco.net> wrote in message
news:ul**************@TK2MSFTNGP11.phx.gbl...
Hi Robert,

Why get into a flame war?

Because it's fun, a chance to be juvenile amidst a whole load of
seriousness.

It's a chance to be part of a gang and defend territory.

It's basic to human nature. It's basic human nature. It's just basic - sheer bloody primitive. Yowooooo!!!

And that makes a nice change, sometimes. :-D

It's good to rise above these things and remain detached and

civilised.

It's good to get all hot and bothered every now and then, too.

Regards,
Fergus


Nov 20 '05 #92
"Nak" <a@a.com> schrieb:
Also, why the tension? Have I upset you at all Herfried?


Sorry... I only wanted to tell you that it's not recommended to post
attachments.

:-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #93
Nak
> Some newsservers and newsreaders delete attachments.

Righty, as I have said previously, I don't have an ISP news server, I'm
using Microsofts one only :-(.

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #94
"Nak" <a@a.com> schrieb:
There are some well-contributing non-MVPs too...
Again, did I say otherwise?


No.
Notice that Jack _was_ right: A 'For...To' loop is not the
best choice in this case.


Yet again, did I say otherwise?


No.
For me, trolls are people wo start "threads" which cause a lot of
off-topic discussion.


Oh, I see where you going with this one, thanks Herfried, at least I know
where I stand with you now, fair enough.


You are _not_ a troll...
There are free Java ngs available too...


And? If you are refering to my post about making a menu
item for IE by VB.NET code then I think you are being a bit


No, I don't refer to your post. It was only an addition to what you said in
your posting.

;-)
who am I to stop you? Maybe I shouldn't defend your integrity next time, I expect you can do that well enough on your own.


I think you misunderstood me...

:-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #95
"Nak" <a@a.com> schrieb:
Some newsservers and newsreaders delete attachments.


Righty, as I have said previously, I don't have an ISP news server, I'm
using Microsofts one only :-(.


I use Microsoft's newsserver too but there may be some people who do not see
the attachment because their newsserver kills it. That's all I wanted to
say.

:-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #96
Nak
> I think you misunderstood me...

I think I must have, my appologies Herfried, sorry for the confusion :-)

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #97
"Nak" <a@a.com> schrieb:
I think you misunderstood me...


I think I must have, my appologies Herfried, sorry for the
confusion :-)


:-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #98
Hi Herfried,

I'm curious too. I'm using OE 6.0 and attachments work fine for me.

Regards,
Fergus
Nov 20 '05 #99
"Fergus Cooney" <fi******@tesco.net> schrieb:
I'm curious too. I'm using OE 6.0 and attachments work fine for me.


;-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #100

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Qun Cao | last post by:
Hello, I am just starting to play threading in python, here is a really interesting problem I am very curious about: " import thread def main(): thread.start_new(test.()) def test():
0
by: Niranjan | last post by:
Access XP Windows XP This code has been working for over 5 years with no problems and all of a sudden I am running into these wierd problems. I have this code to delete a record....
1
by: paul reed | last post by:
Hello, I am having some weird behavior between two machines...one which is running the 1.1 framework and one which is running 1.0. After opening a child form from a parent...I update the...
3
by: Michael Loughry | last post by:
I'm working for a company in Houston developing a web application. At one point in the code, we have to refresh the page, but save what checkboxes have been selected. Since these checkboxes are...
14
by: SStory | last post by:
I am trying to make a splash screen for my vb.net app. It is an mdi app. including the splash code produces wierd results. not inluding makes things fine. Also have tried loading the splash...
0
by: Tom | last post by:
OK, here's a wierd one... I have a listbox, which I fill with strings (in my case, file names). I normally load this via a loop, adding each item to the list box in the loop. I put lb.BeginUpdate...
3
by: Tom | last post by:
We are experiencing some wierd debugging behavior. What happens is that, during debugging with VS 2003, the debugger seems to 'skip' statements that are associated with database operations. For...
0
by: Tom | last post by:
I have some very strange issues with combo boxes on a tab control. Here's the scenario: I have a Windows Forms form that has a tab control on it, with two (2) tabs. Tab 2 happens to have a number...
4
by: Muthu Arumugam | last post by:
Tried the following c# code static void Main(string args) { ArrayList list = new ArrayList(); int i = 10;
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.