I have been trying to find a technical solution for this feature but it has
proven to be much harder than I thought. The problem is that the physical
executable file is locked and can't be deleted as long as the executable is
running.
I found some quite interesting articles explaining the problem in more
detail and also explaining some possible solutions. An example of a very
usefull article on this subject can be found on:
http://www.catch22.net/tuts/selfdel
Unfortunately the solutions in the article require C++ and I am trying to
achieve a solution that will work in VB.NET or C#.NET. Is there anybody who
can help me a bit further with this problem ? Any help is appreciated.
news://msnews.microsoft.com/microsoft.public.dotnet.languages.vb
Well, you're not going to be able to have the application delete itself, as
you know, which means that some other applicaiton is going to have to do it.
I would create a "launch" application that is the one that actually runs
when the program is started. This application would spawn a new process,
which then executes your "main" application in that new process.
When your panic button is pressed, it is the "launch" application that
handles it by shutting down the secondary process (the one running your main
application) and then deleting the file (which you could now do because the
application is no longer running).
Here's some code to get you started:
Sub Main()
'Launch main application in a new process...
If System.IO.File.Exists("path to main application here") Then
mainAppProc = System.Diagnostics.Process.Start("path to main
application here")
'If you don't set this, you won't get event notifications
because the events won't be raised.
mainAppProc.EnableRaisingEvents = True
End If
End Sub
Sub PanicButton_Click() Handles btnPanic.Click
'Stop the process...
'Killing a process can have serious ramifications!
If Not mainAppProc .HasExited Then
calcProc.Kill()
End If
'Delete the main application
Dim FileToDelete As String
FileToDelete = "C:\testDelete.txt"
If System.IO.File.Exists(FileToDelete) Then
System.IO.File.Delete(FileToDelete)
'Shut down the launch application
Application.Quit
En Sub
In the end, the main application's assembly should be shut down and deleted,
but you will still have the "launch" application resident on the device.
-Scott
"Scott M." <s-...@nospam.nospam> wrote in message
news:eIZ76cia...@TK2MSFTNGP06.phx.gbl...
"C. Kevin Provance" <*@*.*> wrote in message
news:%23$4uZfia...@TK2MSFTNGP05.phx.gbl...
> Here's some code to get you started
> Sub Main()
> 'Launch main application in a new process...
> If System.IO.File.Exists("path to main application here")
Go play somewhere else, Scotty. You're just a troll. This is a Classic VB
newsgroup and you are not wanted here.
Mike
No need. I'm having too much fun beating on yours.
He's clearly compensating. His wife told me he's got a little tiny dick and
doesn't know how to use it and is often mistaken for a woman. I don't know
how he lives that down. Sad.
Why does this sound like you're trying to build malware?
--
"You're in probably the wickedest, most corrupt city, most
Godless city in America." -- Fr Mullen, "San Francisco"
Most of us more intelligent participants probably read between the lines and
saw this as well. However, you're talking about Scott here, who was more
concerned about trolling this community with his .Nxt evangelism than taking
into account the nature of the request. This is what happens when brothers
and sisters breed and produce complete idiots. This is probably why
McCarthy took little Scottee under his wing and trained his to become the
latest .Nxt troll; they have that mongoloidism in common.
You're not wanted here either, but you keep sticking around.
That's obvious.
Or "pornware"?
What a well thought out reply that has no facts in it (go look up the
definition of evangelism because you don't use it correctly) or relevance to
the post. In fact, you only come out of the woodwork to sling profanity and
insults. Very troll-like behavior if you ask me.
Says who? You? Haven't you yet figured out by the numerous replies from
people you've irked that it's you who is not wanted here? Your opinion
doesn't mean a thing. Go crawl back up McCarthy's @$$, probably the only
place you're really wanted. :-)
Something you clearly have a lot of experience with since you brought that
up. I understand why of course, with your wife cringing every time you drop
trow. She might as well be a lesbo, huh? ;-)
You bet he is, he is giving a lot of valuable help. Wich you are NOT!
/Henning
Well, since there are about 3 people that I know of that want nothing to do
with him, yes.
> Haven't you yet figured out by the numerous replies from
> people you've irked that it's you who is not wanted here?
Just because 3 of you make numerous replies, it doesn't make there more than
3 of you.
> Your opinion doesn't mean a thing.
And yet, you continue to rebuke it?
>Go crawl back up McCarthy's @$$, probably the only
> place you're really wanted. :-)
And once again, the supposed people who are "right" have chimed in and taken
to insults and profanity. All because I answered a .NET question. That's
very mature and rational of you!
Yes, *clearly*. Your logic is infallable and your ability to act like a
mature and rational person has been clearly demonstrated.
At this point, I just find it funn how you and your pals come out of the
woodwork to show the rest of us your true colors.
Keep it up! You're doing a great job. You never dissapoint!
> Most of us more intelligent participants probably read between
> the lines and saw this as well. However, you're talking about
> Scott here, who was more concerned about trolling this
> community with his .Nxt evangelism than taking into account
> the nature of the request.
I think Scotty actually saw it too, but decided to help the OP anyway even
though he appears to be writing the sort of app that paedophiles and other
similar disgusting miscreants are likely to use. But then Scotty would help
someone like that, wouldn't he. Right up his street from what I've heard :-)
Mike
That reply is a sure RAID1...
/Henning
I don't care what you think. The fact is - and you've been asked and told
on dozens of occasions - that .Nxt questions are to be redirected to the
appropriate group and NOT answered here. What part about that cannot you
not get through your little tiny brain? The more you keep ignoring this and
trolling this forum, the more you're going to get slammed.
Fncking idiot.
Let me borrow your definition:
> From: "Scott M." <s-...@nospam.nospam>
> Newsgroups: microsoft.public.dotnet.general
> Sent: Thursday, November 19, 2009 2:15 PM
> Subject: Re: Conversion from 2008->2003?
>
> "Alain Dekker" <abde...@NOSPAM.fsmail.net> wrote in message
> news:%23ANjVhT...@TK2MSFTNGP02.phx.gbl...
>> BTW, an "evangelist" is not meant perjoratively. I'm a MS and a native
>> C++
>> envangelist, for example. Its just someone who, if you like, defends a
>> viewpoint. The more usual term is "apologist".
>
>An "evangelist" is someone who *promotes* something, not necessarially one
> who defends something. I can defend a criminal in court, but that doesn't
> mean I promote the criminal's behavior.
Now, since you've been told numerous times it is inappropriate to post /Nxt
questions and answers in this forum, you blatently ignoring these warnings
is nothing more than promotion (and trolling). Why would you promote
answers to .Nxt questions in a forum where you know it's inappropriate and
of topic? 1) Because you're a stupid douche bag. 2) Because you know it's
wrong, but do it anyone to create FUD while promoting whatever Bill has you
brainwashed or blackmailed into promoting.
Hence, you are a .Nxt evangelist and should be treated as such. So, you can
go on whining about how you're being attacked, but you brought it on
yourself by being a deliberate troll.
Or, you could try pretending to be a grown up by either ignoring those
misplaced questions or redirecting them to the appropriate forum. I know
you won't tho. Billy won't let you. I hope the MVP nomination was worth
selling out for. Respect from idiots like Bill and his cronies is not
something you should want, considering their own lack of ethics and morals.
Just FYI.
Well, he clearly has this obsession with putting his hands, or wanting
others to put their hands on wives and children. Kinda creepy if you ask
me.
>Most of us more intelligent participants probably read between the lines and
>saw this as well. However, you're talking about Scott here, [....]
I seldom look at the name of the poster, but prefer to look at the subject
being discussed. I don't know anything about your history with Scott. All I
know is that a self-deleting executable is usually the sign of malware. I
fight this crap every day as part of my business.
And you have been asked and told on dozens of occasssions to take your head
out of the sand and just be helpful, rather than draw an imaginary line in
the sand for no purpose other than to say "don't cross this line".
The bottom line that you don't get is that YOU are not in charge of anything
here. You never were and you never will be. YOUR rules for this forum are
not *THE* rules, they are just the way you'd like things to be done.
The more YOU keep ignoring this, the more ignorant you prove yourself to be.
-Scott
And, that's where you've slipped off the rails, which makes pretty much
everything else you have to say irrelevant. You have a great knack for
twisting anything to suit your needs and then call it irrefutible truth.
Let's use your twisted reasoning shall we? You have been told numerous
times that your word is not any more important that anyone else's and that
you have no authority to dictate to anyone what can and cannot be said here,
yet you keep ignoring that, which tells me that you must be an evangelist of
ignorance.
> Why would you promote
> answers to .Nxt questions in a forum where you know it's inappropriate and
> of topic?
Now you need to go look up the word "promote".
> 1) Because you're a stupid douche bag.
For someone who is sooooooo bent on following NG etiquitte at all costs with
no flexibility, it amazes me how you can act like you care about the NG, but
then act like such an ingorant child.
> 2) Because you know it's
> wrong, but do it anyone to create FUD while promoting whatever Bill has
> you
> brainwashed or blackmailed into promoting.
I have no idea who Bill is, but your logic is so solid you must be right.
> Hence, you are a .Nxt evangelist and should be treated as such.
Really? Beacuse you know the word "hence" and can use it in a sentence,
your logic is correct? Hardly.
> So, you can
> go on whining about how you're being attacked, but you brought it on
> yourself by being a deliberate troll.
Listen, I've said it many times before, but you seem to be so ignorant as to
not get it. I am not here to change your ways, you're too far gone for
that. I'm just going to point out to anyone who cares to read your garbage,
that you have two settings:
1. General jerk.
2. Complete raving lunatic.
All one has to do is read this, or any other thread you're involved in to
see that.
> Or, you could try pretending to be a grown up by either ignoring those
> misplaced questions or redirecting them to the appropriate forum.
Are YOU pretending that you have the slightest idea of how a grown up acts?
> I know you won't tho. Billy won't let you. I hope the MVP nomination was
> worth
> selling out for. Respect from idiots like Bill and his cronies is not
> something you should want, considering their own lack of ethics and
> morals.
> Just FYI.
I would consider this statement with great care if I knew who Bill was or
knew what the hell you are talking about.
"David Kaye" <sfdavi...@yahoo.com> wrote in message
news:he7dn1$3rd$1...@news.eternal-september.org...
> "C. Kevin Provance" <*@*.*> wrote:
>
>>Most of us more intelligent participants probably read between the lines
>>and
>>saw this as well. However, you're talking about Scott here, [....]
>
> I seldom look at the name of the poster, but prefer to look at the subject
> being discussed. I don't know anything about your history with Scott.
> All I
> know is that a self-deleting executable is usually the sign of malware. I
> fight this crap every day as part of my business.
I would agree in some cases, but there are also valid reasons for an app. to
need to remove itself and, rather than judge a potentially valid question, I
just gave my thoughts on how a valid app. that has this need might go about
it.
-Scott
> I would agree in some cases, but there are also valid
> reasons for an app. to need to remove itself . . .
There's defnitely a valid reason for YOU to remove yourself!
> and, rather than judge a potentially valid question,
> I just gave my thoughts on how a valid app. that
> has this need . . .
The OP was talking about a NET app. If you are going to answer it at all
then you should have restricted your answer to redirecting him to a NET
group, where he could get answers from a large number of NET programmers in
the group where such questions and answers belong. The fact is that you are
a troll Scotty and you take every opportunity to troll this group.
Mike
I was not aware that this part of the forum was only meant for classic vb
questions, I can imagine that it is frustrating to see .nxt questions pop up
in this forum all the time. However I was somewhat supprised by some of the
reactions above. Anyway, I will post my question again in the appropriate
part of the forum, thanks for that tip.
David was mentioning malware. That is certainly not the case. I'm trying to
crate a GPS based warning system for speedcamera's. Software like that is
legally not allowed in all european countries (for instance switzerland). I
want to give the user that is traviling througout europe the option to
completely erase the software to avoid problems with the local authorities.
That's all.
"PeterW" wrote:
> I am trying to create an application for the Windows Mobile 5.0 (or higher)
> platform. One of the features of the application is that it has a panic
> button that automatically closes down the application and deletes the
> executable.
>
> David was mentioning malware. That is certainly not the case.
> I'm trying to crate a GPS based warning system for
> speedcamera's. Software like that is legally not allowed in
> all european countries (for instance switzerland). I want to
> give the user that is traviling througout europe the option to
> completely erase the software to avoid problems with the
> local authorities.
You mean you want to assist them to break the law? Right. That's okay then
:-)
Mike
RBS
"Scott M." <s-...@nospam.nospam> wrote in message
news:emx1$alaKH...@TK2MSFTNGP05.phx.gbl...
> Gentlemen,
>
> I was not aware that this part of the forum was only meant for classic
> vb questions,
That a problem you can run into when you have two dissimilar products
called the same thing.
> I can imagine that it is frustrating to see .nxt
> questions pop up in this forum all the time.
Frustrating.....and confusing too.
>However I was somewhat
> supprised by some of the reactions above.
Not suprising........Scott M. continues to answer .Net questions in this
group with no redirection what-so-ever, and has been asked again, and again,
and again, and again, not to and to redirect them to a proper group.
But he refuses to do so.........hence, the reaction.
He knows this is going to happen, and gets off on it happening, which
is textbook Usenet troll.
>
> "C. Kevin Provance" <*@*.*> wrote in message
> news:%23xxoX1j...@TK2MSFTNGP06.phx.gbl...
>> And once again, the supposed people who are "right" have chimed in
>> and taken
>> | to insults and profanity. All because I answered a .NET question.
>> That's
>> | very mature and rational of you!
>>
>> I don't care what you think. The fact is - and you've been asked and
>> told on dozens of occasions - that .Nxt questions are to be
>> redirected to the appropriate group and NOT answered here. What part
>> about that cannot you not get through your little tiny brain? The
>> more you keep ignoring this and
>> trolling this forum, the more you're going to get slammed.
>>
>> Fncking idiot.
>
> And you have been asked and told on dozens of occasssions to take your
> head out of the sand and just be helpful,
Being helpful would be redirecting the question to an appropriate group
where there are dozens if not more .Net programmers and the OP has a
chance of getting more than one (your) answer.
NOT being helpful is being a Lone Ranger and restrict the OP to whatever
you can do, and to answer here KNOWING full well that it will cause this
tirade.
That's got T R O L L written all over it...
http://en.wikipedia.org/wiki/Troll_%28Internet%29
> rather than draw an
> imaginary line in the sand for no purpose other than to say "don't
> cross this line".
>
> The bottom line that you don't get is that YOU are not in charge of
> anything here. You never were and you never will be. YOUR rules for
> this forum are not *THE* rules, they are just the way you'd like
> things to be done.
Actually, if you think about it, it's the way *MS* wants it done.
Why else would they create an entire hierarchy of *.dotnet.* newsgroups ?
...including m.p.DOTNET.languages.vb !!!!!!! DOH !!!!!!!!
Asstroll.
The reactions are not related to the question, not easy to know when asking.
The reactions are only against Scottie who takes every oportunity to troll
this group with .nxt replies.
/Henning
I'm sorry, did you say something?
I don't see much typical .Net code on that page, I get the idea that you've
sent this message to frustrate this newsgroup.
Cor
"PeterW" <Pet...@discussions.microsoft.com> wrote in message
news:D6A7B7B8-E940-4F56...@microsoft.com...
Hehehe that's exactly the point of my question Cor, I need to do a similar
thing as is descibed on the page but I have trouble converting it to
something that works in VB.NET.
"Cor Ligthert[MVP]" wrote:
> .
>
> Peter,
>
> I don't see much typical .Net code on that page, I get the idea that
> you've sent this message to frustrate this newsgroup.
>
>
> Cor
Actually, it' assumed the OP posted here by mistake due to the similar
name of the particualr product he was using vs. the subjct of this group.
Scott M., on the other hand, *DID* *absolutley* post here to 'frustrate' this
newsgroup, as you call it.
What a class act.
Troll-dom at it's finest............
Wrong as usual. That is what you're girl Scottie has done...and now by your
appearance, you as well.
Then why have you not posted your question to the correct NG? If you are
waiting for an answer here, you probably will not get one.
Except that he already did get one.
/Henning
As you can see there are two or three "people" (term used lightly) in this
newsgroup who rant and rave should anyone dare mention .NET in any
constructive manner; the same people of course start many off topic posts in
here attempting to bash .NET, but in the case of someone using .NET even
when it is with VB6 they try to take over this newsgroup and make it any
anti .NET one. Seriously, the best option is just to block people such as
Mike Williams and Kevin Provance and focus on those posts that try to help.
As to your question, there is nothing about it that is necessarily specific
to .NET; the usual raging ranters obviously fail to see that <g> You could
use approaches like command files or batch files to do the deletion (unless
there are limitations on them on Windows Mobile 5), but probably the best
approach it to look at using an installer and telling the user to uninstall
from "remove programs" ; Start Menu -> Settings -> System Tab -> Remove
Programs
"PeterW" <Pet...@discussions.microsoft.com> wrote in message
news:16C27058-E6AE-472B...@microsoft.com...
That is if you don't concider, "Unfortunately the solutions in the article
require C++ and I am trying to achieve a solution that will work in VB.Nxt
or C#.Nxt.", necessarily specific to .Nxt.
;)
/Henning
"Bill McCarthy" <bi...@localhost.com> skrev i meddelandet
news:%23iplqI9...@TK2MSFTNGP04.phx.gbl...
>As you can see there are two or three "people" (term used lightly) in this
>newsgroup who rant and rave should anyone dare mention .NET in any
>constructive manner; [....]
The problem is that NET is not VB6. I'm an expert on VB6 but know little
about NET. I can write bug-free code for file manipulation, voice
recognition, SQL, whatever, while half awake and it will work exactly as
intended the first time around. With VB-NET I'd have to have manual pages
open and struggle to get through code line by line.
This newsgroup is for VB6 and its lineal predecessors, and always has been.
"David Kaye" <sfdavi...@yahoo.com> wrote in message
news:heclbe$aqg$2...@news.eternal-september.org...
> This newsgroup is for VB6 and its lineal predecessors, and always has
> been.
This newsgroup is vb.general.discussion. It was not designed specifically
for VB6: if it was it would have VB6 in the name. There are specific
newsgroups for .NET just as there are for win API, graphics etc, and where
appropriate questions on specific areas should be redirected *WITHOUT* all
the childish name calling and other nonsense. In this particular case the
question does not necessitate a specific .NET solution.
>
> The problem is that NET is not VB6. I'm an expert on VB6 but know little
> about NET. I can write bug-free code for file manipulation, voice
> recognition, SQL, whatever, while half awake and it will work exactly as
> intended the first time around. With VB-NET I'd have to have manual pages
> open and struggle to get through code line by line.
>
Well that's very sad as I personally found the transition to VB7 and later
quite easy, and I am amazed you find that stuff difficult so many years
later. A real problem I see is often advice on coding in VB6 fails to take
into account prior art and moving one's code forward to VB7 or later
<sigh> Again you focus on that which raises your hackles but miss out on
the real information imparted. I suggest you re-read my post. If you still
don't get it, go lay down, take a headache pill or whatever, but please
cease from adding the rather useless flame feeding posts like yours. You
clearly aren't interested in helping or answering the question. I'll leave
it at that, as I am sure there is no fruit in trying to discuss that concept
with you rationally; sadly you seem intent on joining and feeding Williams
and Provance's on going attempts to make this newsgroup hostile and
unfriendly. I do hope you eventually realize that if you just chilled out
and ignored the posts that you seem to get so riled up about, everyone would
get along nicely here. Bye.
"Henning" <comput...@coldmail.com> wrote in message
news:#ymBWP9a...@TK2MSFTNGP06.phx.gbl...
It is ofcause just as fun to write .Nxt with correct spelling as many times
as possible, so googlers will get a lot of hits to this group.
The only thing we can do is complain on MVP behavior to
mailto:mv...@microsoft.com.
/Henning
"Bill McCarthy" <bi...@localhost.com> skrev i meddelandet
news:eTjPsd9a...@TK2MSFTNGP02.phx.gbl...
"RB Smissaert" <bartsm...@blueyonder.co.uk> wrote in message
news:%23LLD4Op...@TK2MSFTNGP02.phx.gbl...
***
I was not aware that this part of the forum was only meant for classic vb
questions, I can imagine that it is frustrating to see .nxt questions pop up
in this forum all the time. However I was somewhat supprised by some of the
reactions above. Anyway, I will post my question again in the appropriate
part of the forum, thanks for that tip.
***
So I guess that makes RB correct. DotNxt questions have their very own
groups.
/Henning
"James Hahn" <jh...@yahoo.com> skrev i meddelandet
news:OyHpDv9...@TK2MSFTNGP05.phx.gbl...
Nonsense.
This newsgroup is part of a suite of groups all under
"microsoft.public.vb.~", and the ".vb." specifically refers to the Visual
Basic Application Development product, a la other product groups - Word, VC,
SQLServer, Office, etc. That specifically would limit it to VB6 and its VB
predecessors, and in no way would include the "Visual Basic" language MS
provides with the .Net Framework development product.
Instead, surprise! Newsgroups for that language implementation are found
under ".dotnet.". A suite provided for the .Net Framework development
product.
<snipped>
>
> .... A real problem I see is often advice on coding in VB6 fails to take
> into account prior art and moving one's code forward to VB7 or later
>
So all advice should include proselytizing for a favorite alternative
product?
If that were true then all my VB coding advice would include the advantages
in migrating to VC and C#, which IMHO are better options for "moving
forward" than the current implementation of "Visual Basic" in the .Net
product. But I don't as I recognize that such evangelism would be
inappropriate.
-ralph
First, he was redirected, courtesy of the poster known as "Nobody". The job
was done and there was no need for further discussion. Then the troll known
as Scott S. reared his ugly head and knowingly violated the community
standard the all .Nxy questions be redirected instead of answered. Doing so
only causes further confusion for other folks who wander into here by
accident. They also get indexed on Google which will forever encourage more
confusion. There was no need for Scott to violate this guideline. He did
it on purpose merely to start trouble, as is his way. Had he not, this
thread would not exist.
And you are wrong, it is not "a small number of VB6 diehards". It is pretty
much everyone who continues to support this community. If anything, it's a
small number of MSFT encouraged diehard .Nxt evengelicals that fnck this
community up with thier deliberate antics.
Facts are facts, Jack. The usual offenders have been asked, mutliple times
in a civil manner to not answer .Nxt questions here and to simply redirect
them to the appropriate group. The ignored those requests, and you are
chatizing us for being rude? I disagree, it's rude for folks who know
better to continue to ignore community guidelines and act as if they can
post anything they want. What you see as rude from the "VB6 diehards" is
merely a measured response to active trolls.
Put simply, you are wrong. You post really serves no value except to fan
the flames.
Make sure you CC those complaints to sbal...@microsoft.com with MVP in the
subject line. He actually reads those, so I've been told by a reliable
source. The first time I did it, Bill went away for a long time. Looks
like it's time to write another letter.
Bull$hit, dickhole. I guess your buttboy Scott didn't get that memo...since
it was he who did not redirect and answer in .Nxt code that the lot of you
know does not belong here.
So, as with everything out R@peclown, take your screenshots of these posts
and put them on ED where you can spank yourself blind to them when you need
your Kevin fix. Stalking troll.
"Henning" <comput...@coldmail.com> wrote in message
news:uLTXC09a...@TK2MSFTNGP06.phx.gbl...
> This newsgroup is vb.general.discussion. It was not
> designed specifically for VB6: if it was it would have
> VB6 in the name.
Look, McCarthy, I know your brain is addled from constant exposure to sheep
dip but it is quite clear to everyone except the few dotnet evanglelists
such as yourself that Classic VB and VB.Net are two completely different
products which work in two completely different ways and where in almost all
cases a program coded in one of those products will not work in the other.
That is why they have two completely separate Microsoft newsgroups. Your own
behaviour of repeatedly spamming and trolling the Classic VB group in a
deliberate attempt to annoy its members is not the behaviour one would
expect of a Microsoft MVP and you should be thoroughly ashamed of yourself,
as also should Microsoft for condoning it.
Mike
"Henning" <comput...@coldmail.com> wrote in message
news:uLTXC09a...@TK2MSFTNGP06.phx.gbl...
> That's classic. The guy gets beat up by a bunch of thugs
> and agrees to echo
> the party line, so you quote his comments as 'proof' !
Don't really see, who you mean with "beaten up, agreeing
to echo...", surely not RBS, who just wrote the obvious in
more civil words - and it's also quite understandable, why
one can read "uncivil words" from regulars of this group
who just don't want to take that trolling anymore.
This group is *not* for .Nxt-questions - keep these questions
(and especially the provocing answers) where they belong
to - in the ___.dotnet.___ groups.
And regarding "bunch of thugs" - you're right - there are
only a few ones, who continue with their provocing
trolling-behaviour (Scott, Bill ... and apparently now you too),
against the common sense of all the VB-Classic-users in
this group.
You don't really want to start a poll, do you?
Or better (to not waste that much bandwidth) - make that an
"inversed poll", on who thinks that .Nxt-questions (and answers)
belong here - should give a much shorter "Me-too" thread
in that case (probably with only the 3 or 4 "wellknown repliers").
Olaf
/Henning
"James Hahn" <jh...@yahoo.com> skrev i meddelandet
news:%23akN3zA...@TK2MSFTNGP02.phx.gbl...
It is and always has been for classic VB and any person that feels the need
to express something remotely "Off Topic" has always had the good grace to
preface their subject line accordingly.
Further if the particular subject that is "Off Topic" particularly dovetails
into another newsgroup in a precise manner, inarguably belongs in that
"someother" newsgroup.
To deliberatly violate these basic tenets of good (NG) etiquette cannot be
characterized in any other fashion than trolling.
Worse, is that this crap is indelibly chisled into the future resource of
legitimate seekers of information on this particular discipline, forcing the
future seeker to wade through a morass of crap and chaff.
To the purveyors of this behavior, one can only hope that the rule of "What
goes around, comes around" will catch and bite them in the appropriate
location at some future time when the next big thing comes down the road.
"Schmidt" <s...@online.de> wrote in message
news:%23g9DywD...@TK2MSFTNGP05.phx.gbl...
It is and always has been for classic VB and any person that feels the need
to express something remotely "Off Topic" has always had the good grace to
preface their subject line accordingly.
Further if the particular subject that is "Off Topic" particularly dovetails
into another newsgroup in a precise manner, inarguably belongs in that
"someother" newsgroup.
To deliberatly violate these basic tenets of good (NG) etiquette cannot be
characterized in any other fashion than trolling.
Worse, is that this crap is indelibly chisled into the future resource of
legitimate seekers of information on this particular discipline, forcing the
future seeker to wade through a morass of crap and chaff.
To the purveyors of this behavior, one can only hope that the rule of "What
goes around, comes around" will catch and bite them in the appropriate
location at some future time when the next big thing comes down the road.
"PeterW" <Pet...@discussions.microsoft.com> wrote in message
news:D6A7B7B8-E940-4F56...@microsoft.com...
But they clearly are mis-directed. Not sure why you can't see that.
Isn't it blatantly obvious that is is much better to post a question to do
with VB.net to one of the .net groups?
RBS
"James Hahn" <jh...@yahoo.com> wrote in message
news:OyHpDv9...@TK2MSFTNGP05.phx.gbl...
� I am trying to create an application for the Windows Mobile 5.0 (or higher)
� platform. One of the features of the application is that it has a panic
� button that automatically closes down the application and deletes the
� executable.
�
� I have been trying to find a technical solution for this feature but it has
� proven to be much harder than I thought. The problem is that the physical
� executable file is locked and can't be deleted as long as the executable is
� running.
�
� I found some quite interesting articles explaining the problem in more
� detail and also explaining some possible solutions. An example of a very
� usefull article on this subject can be found on:
� http://www.catch22.net/tuts/selfdel
�
� Unfortunately the solutions in the article require C++ and I am trying to
� achieve a solution that will work in VB.NET or C#.NET. Is there anybody who
� can help me a bit further with this problem ? Any help is appreciated.
�
I would try posting your question to the Visual Studio Smart Device Development forum:
http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesvbcs/threads
Paul
~~~~
Microsoft MVP (Visual Basic)
Despite what a very small minoriry of people that are regulars in this NG
have said, the FACTS are this:
I have posted a .NET answer to a questions posted in this NG on just a small
number of occassions.
1. This thread, where a .NET question was asked.
2. A general question about where icons could be foud.
3. A reply to a question that was cross-posted to the .net and .vb
groups (my reply came to this group via my cross-posted reply I made in the
.NET group).
4. A question that I honestly thought had originated in the .NET group.
There have also been other replies in threads that I have engaged in that
discussed various merits of .NET or .NET vs. Classic VB.
In all of these cases (except #4 above), I felt that my responses
contributed to the conversation or flat out answered the question being
asked. In 3 of those 4 situations above, I know for a fact that they did,
as the OP stated such after my replies were posted.
These are the facts.
If you were to to listen to some of the more fanatical posters here, you
would think that I am all over this NG to purposefully spred the Gospel of
.NET and that they have told me many, many, many, many, etc. times to cease
and desist.
There's also no disputing that these, less than a handfull, of posters have
no trouble at all violating standard NG etiquitte by using profanity and
insults when someone disagrees with their viewpoint of how to use an NG.
The FACT is that, first and foremost, a NG exists to help peers. It is true
that there are categories of NG's and it is also true the a question posted
to the most relevant NG is desireable, but this in no way means that if a
question about an off-topic question and a resulting answer to it were to be
posted to this, or any other NG, that those authors should be subjected to
the treatment of those select few in this NG that can always be counted on
to come out of the woodwork for a good old fashioned lynching.
When MS created the "dotnet.general" group, we immediately began seeing (and
still do quite regularly) misdirected posts relating to general Internet
questions, that have nothing to do with .NET, much less programming (i.e.
"My email doesn't work, help!").
And while most often, we do respond to the OP with a "nudge" that they have
posted to the wrong group, sometimes we also just post an answer to the
question. Why? Because, the first goal of an NG is to HELP.
In addition, when a post is made, sometimes the best way to be helpful is to
provide comparison or contrasting information. In the varous .NET groups
and in groups that have nothing to do with .NET or VB, competing
technologies are often brought into the conversation to help form a bigger
picture of the problem and/or solution.
Now, for the most important part; when I or someone else does post an answer
to a OP that was misdirected in the first place, or when we bring up other
technologies that aren't strictly .NET, do you know what the other regulars
of the .NET groups do? NOTHING! That's because the vast majority of people
who use the NG's get that being helpful is the goal.
Yet, there is that small vocal minority here that feel that the mere mention
of anything .NET here is herecy (proven by there own incapability to even
reference it themselves correctly ".nxt"). I'm sorry folks but that kind of
thinking is close-minded for the sake of being close-minded. It conjures up
images of someone with their head in the sand or the hear no evil, see no
evil, speak no evil monkeys. There is no rational argument for it. And,
when no rational argument can be made for someting, you can always count on
the irrational argument, the "spin-dcotoring", and the insults to begin.
Those same few people here think that to utter anything about .NET in this
hallowed ground is .NET evangelsim, when they don't even know what that word
means. This is again a fact, just go read how often I've been called a .NET
evangelist, when I have simply mentioned .NET and not necessarially said
anything at all about it's good or bad merits.
So, C. Kevin, Mike, Schmidt, and Henning, it's unfortunate that you choose
to be so close-minded and that you feel there's nothing you can learn from
opening your eyes to more than just VB. That's your issue and not for me to
try to change.
But, you 4 do not control anything, you are not the guardians of Microsoft's
newsgroups. Your word is not the Gospel here. Your "line in the sand"
approach to learning is not recognized as being effective. Your infulence
is only with each other. You can scream "the sky is falling" as loud and as
often as you like, but that does not make it so.
I will continue to post where I find it to be helpful. I will continue to
be civil. And, I will continue to point out the fallacies that you vocal
few, in the minority, want to repeat so often, as to convince yourselves be
true.
If you really want to position yourselves as someone that others should
respect and value the opinion of, I would think you'd at least want to be
able to separate fact from fiction.
Now, I'm sure there will be further insults and edicts from these 4, here in
this thread as well as in the future. That's fine. They'll spin their tale
in whatever way that works for them.
But, the FACT is that the OP's question was answered well before you all
came out of the woodwork. And the reality is that, in this thread, as with
others, I am providing help, while you are attempting to protect your
imaginary line in the sand with insults, just for the sake of it. You're
posts are not helping anyone, and you are violating well establish NG
etiquitte with personal attacks and threats.
How exactly does that HELP the OP?
-Scott
/Henning
"Scott M." <s-...@nospam.nospam> skrev i meddelandet
news:eXVQT7Gb...@TK2MSFTNGP06.phx.gbl...
You bothered to read it? It was TL;DR for me. We should already know by
now that it's probably more self defense of why he thinks he's right, which
is why I skipped over it.
He's Billy's latest Stooge, plain and simple.
Ofcause ;) I read all his posts just for the amusement to see what facts are
valid this time...
He's not an evangelist, more some kind of factist. In wich the spelling is
very close. ;)
/Henning
You're a lot of things, but you're *not* that dumb.
The purpose has been explained to you countless times.
--
[.NET: It's About Trust!]
Ah, so here we are full circle, to once again meet that old truism,
"Takes one to know one," eh?
As self-appointed judge and jury, I rule you lose, because he made you
type 13x as much nonsense in response to the provocation.
Take a hike.
And I have responded countless times that to be so rigid as to say that
under no circumstances can this group contain any mention of .NET *is*
"drawing an imaginary line in the sand".
You make it sound like I have no idea what is being said and that it has to
be "explained" to me. What you fail to realize is that I reject the absurd
notion in the first place. I know that the vocal minoriry here wouldn't
know this, but this is pretty much the only MS NG where this debate rages on
like this. To take the point of view that this NG should somehow have
different rules of conduct that are perfectly acceptable in the other NG's
is also ridiculous.
If you actually read my posts in this NG, you will see that there has been
only 1 occassion where I have posted a .NET reply to a non-.NET question and
that was a mistake (I thought I was in a .NET group), which I have
admitted. Yet, if you actually read what has been written about me, they
would have you believe that I do nothing but scan for any opportunity I can
to inject .NET into any answer I can. They will tell you I do nothing but
"evangelize" .NET, without understanding what "evangelize" means. In *one*
thread, I provided benchmark testing results as to the performance of VB vs.
VB .NET, and that is because the conversation had already turned in that
direction. And in absolutely no other thread have I made any mention
whatsoever about .NET's merit vs. VB's, yet I am an "evangelist". Please!
These facts are indisputable - - just go look for yourself.
If you accept these easily checkable facts, then you know they are lying.
If you choose not to, then you are (by the textbook definition of the word)
being ignorant (a la 2 + 2 = 22) and that speaks for itself as well.
Either way, my point is proven with verfiyable facts.
They *prove* their point by yelling loud and often.
The fact that a small few have yelled louder and more often than I have does
not make their point of view correct. It just shows how unbelievably
willfully ignorant they choose to be. And it is a choice they are making,
for just as they would rather engage in never ending flame wars, being the
one side to throw unwarranted insults and threats (their choice), they could
also just ignore posts that they deem of no value to them, but they choose
not to. They *could* filter me from their NG reader, but they choose not
to.
So, in the end, what we have is a small loud group that chooses to post
unprovoked flames and make up blatent fallacies about me because they
percieve the NG to be more about a very limited scope (that is not accepted
in any other group), than actually what NG's are all about in the first
place, which is to help peers.
That's their choice.
My choice is to post civil replies that relate to the questions being asked.
-Scott
I have no need to make it sound that way.
Then why don't you go there and have a good time, so you can stop feeling
sorry for yourself. We sure wouldn't miss you here.
I guess you've missed the FACT that you're the vocal minority here, namely
one single person.
And Scott M's the only one who is allowed to do what he sees fit, however
wrong others tell him it is, right?
>
> -Scott
>
/Henning
What does these remarks have to do with anything being discussed? Nothing.
But, it's a good attempt to divert the conversation when you don't have
anything to contribute.
> I guess you've missed the FACT that you're the vocal minority here, namely
> one single person.
I am not claiming to speak for anyone but myself. 4 of you are claiming
that you speak for everyone else.
> And Scott M's the only one who is allowed to do what he sees fit, however
> wrong others tell him it is, right?
You are *allowed* to do anyting you want (certainly you've proven that).
And, clearly you haven't read anything I've said, because 4 people who
saying something is wrong out of hundreds and hundreds, doesn't make them
right.
But, again, you can choose to react anyway you wish and it is how you react
that others will judge you by.
-Scott
Seriously, it's been a long time since I've seen such a self important
crybaby on the Intertubes. Let's start posting Pascal questions in the .Nxt
groups and see if he answers just as enthusiastically. Anything else of
course would be a sign of hypocrisy.
Note to Bill: You're boy needs some more conditioning. It wouldn't
surprise me if the M. In Scott M. would turn out to be McCarthy's little
brother..you know, the one his mom and brother had.
Let's see if we can follw some sort of logic that would get you to that
statement:
I don't back down when faced with fallacies and isults so...
If someone posts a non-.NET related message in a .NET forum it must then be
hypocritical if I don't enthusiastically reply to them.
Oh, and let's not forget that I've been the one defending someone's right to
speak about something other than the name of the NG in the NG.
Hmmm. Yeah, that makes perfect sense.
It now you need to look up the definitions for "evangelist" and "hypocrisy"
because you don't use either of them correctly.
> Note to Bill: You're boy needs some more conditioning. It wouldn't
> surprise me if the M. In Scott M. would turn out to be McCarthy's little
> brother..you know, the one his mom and brother had.
And, for someone who rarely likes a post without using the word Troll in it,
tell me what that last paragraph has to do with anything being discussed or
how it adds to the conversation (VB or otherwise) or how it helps the OP.
Becuase you see, THAT is the very definition of a Troll. Someone who just
wants to get their 2 cents in regardless if it has anything to do with
anything.
-Scott
Crybaby, cry...tell me about your lonesome lullaby. Crybaby, cry.
http://www.facebook.com/group.php?gid=43606237254
"Scott M." <s-...@nospam.nospam> wrote in message
news:OOPzsSXb...@TK2MSFTNGP02.phx.gbl...
> And, for someone who rarely likes a post without using the word Troll
> in it, tell me what that last paragraph has to do with anything being
> discussed or how it adds to the conversation (VB or otherwise) or how
> it helps the OP. Becuase you see, THAT is the very definition of a
> Troll. Someone who just wants to get their 2 cents in regardless if
> it has anything to do with anything.
>
> -Scott
So.....that's *your* 2 cents ?
This is mine.
RBS
"Scott M." <s-...@nospam.nospam> wrote in message
news:OOPzsSXb...@TK2MSFTNGP02.phx.gbl...
/Henning
"RB Smissaert" <bartsm...@blueyonder.co.uk> skrev i meddelandet
news:uddk9Yab...@TK2MSFTNGP02.phx.gbl...
> I'm trying to create a GPS based warning system for speedcamera's.
> Software like that is legally not allowed in all european countries
> (for instance switzerland).
> I want to give the user that is traveling througout europe the option to
> completely erase the software to avoid problems with the local authorities.
IMHO, a morally questionable position, at best.
By the same argument, you could sell guns in the "hope" that your
customers /won't/ go to Europe and start killing people with them.
Both activities are illegal; you are simply providing the tools with
which to perpetrate the crime.
<action verb="getting off" location="high horse" />
If you're actually serious about this, then "deleting" the file in the
traditional sense simply /won't/ be enough. Windows, in all its
flavours - never really deletes anything; it just "forgets" about where
it is on the disk and, if "the local authorities" were to get hold of
such a device they could, without too much effort, locate the "deleted"
file, leaving your customer /doubly/ liable; once for possessing illegal
software and again (presumably) for speeding, which your device is
seemingly intended to facilitate.
Secure deletion takes rather more effort. Opening the file and
overwriting it's innards with random values (preferably several times)
is probably the way to go.
Regards,
Phill W.
"What does these remarks... "
It was just a remark to a remark that had nothing to do with the subject.
"4 of you are claiming... "
Make that at least 5, and normally 5 to 1 is a majority. If you count in
Bill, it's still a 5 to 2.
I don't count in James, he possibly missread and stod-up for the OP.
"You are *allowed*... "
I see no hundreds and hundreds, I only see you.
"...that others will judge you by"
Exactly ;)
As long as you don't post .nxt replies here, this is a really nice group. We
all try to get help/help eachother.
If you *really* wanted to be to help, start posting help to VB classic
problems. Don't just jump in on .nxt missposted problems.
/Henning
RBS
"Henning" <comput...@coldmail.com> wrote in message
news:udlJiscb...@TK2MSFTNGP06.phx.gbl...
I'm not sure about the questionable morality aspect: in the UK, police
authorities are required to make public the locations of speed cameras. The
reasoning for this is that the police claim the cameras are only located in
accident black spots and exist only to increase road safety for all road
users; therefore the locations of the cameras should be public in order that
people should know in advance if they are approaching an area where the
risks of an accident are higher and adjust their level of driving caution
appropriately. Whether you agree with that logic or not, that's the case as
put by the authorities (in order to counter the claim that the cameras exist
purely to extract fines from people who may be unfamiliar with speed limits
which vary area by area, often arbitrarily).
In the OP's case, such software is perfectly legal and justifiable in the UK
at least but would be illegal in other European countries and, as such, it
would be to the benefit of a normally legal user if the software were to
make itself unavailable if circumstances should so dictate. Whether that's
actually the OP's scenario I couldn't comment.
Just adding my �0.02 but I can see an argument there. And in the case of
guns, it is perfectly legal to buy shotguns in the UK (if you have a
license, but then we are talking about firearms) but try taking one into
most European countries and see how far you get - exactly the same as making
sure your users can't transport software that's perfectly legal at home into
a place it is not.
"Phill W." <p-.-a-.-w-a-r-d-@-o-p-e-n-.-a-c-.-u-k> wrote in message
news:hej8sq$nu8$1...@south.jnrs.ja.net...
>
> Secure deletion takes rather more effort. Opening the file and
> overwriting it's innards with random values (preferably several times) is
> probably the way to go.
>
> Regards,
> Phill W.
Even that is a bit of a give away. A more discrete method would be to supply
an innocuous file of the same size then instead of deleting or random
overwrite, replace each byte of the executable with bytes from the other
file then delete the innocent copy and rename the now overwritten file with
that files name.
But I agree the whole thing is on a very dodgy moral footing.
Dave O.
Really?
A really nice group, is full of really nice people. Really nice people
don't react to posts they disagree with the way some of you have.
There is at least one of you that follows me into other groups and makes
replies to me that don't even pertain to any particular post. They just
follow me around and post random insults.
> If you *really* wanted to be to help, start posting help to VB classic
> problems.
I have and I do. I have been contributing to this group for over a decade.
> Don't just jump in on .nxt missposted problems.
You mean the ONE post that I did that with?
>
> /Henning
>
>
No, what I said was that there was one .NET reply to a non-NET question and
that was a mistake. I'm not going to promise not to bring up .NET in a post
here if .NET is a valid part of the answer.
RBS
"Scott M." <s-...@nospam.nospam> wrote in message
news:et0Ghedb...@TK2MSFTNGP02.phx.gbl...
If you have followed this group the last 18 months or moore, you might have
some understanding of why.
Let me remind you that the very first reply to the OP, by "nobody", was a
very polite redirect to the correct group. It could have stopped there if
you hadn't jumped in after that and replied in the wrong (this) group.
>
> There is at least one of you that follows me into other groups and makes
> replies to me that don't even pertain to any particular post. They just
> follow me around and post random insults.
And that is the reason you prefer to stirr-up things here? If so, I feel
sorry for you.
One of us can't be they.
>
>> If you *really* wanted to be to help, start posting help to VB classic
>> problems.
>
> I have and I do. I have been contributing to this group for over a decade.
Then why not keep that up? Posting .nxt replies doesn't count for
contributing to this group.
>
>> Don't just jump in on .nxt missposted problems.
>
> You mean the ONE post that I did that with?
Comeon, there has been more than this one, right?
>
>>
>> /Henning
>>
>>
>
>
/Henning
Which is putting the group on notice that you intend to start another one of
these 40 odd response pissing contests at the drop of a hat.
The prudent thing to do is to capitulate and agree that the only reponse to
a .nxt question is a polite redirect to the appropriate group and the answer
given there.
How can you not understand this unless your motives are other than your weak
defenses for your actions.
You're conflating immoral and illegal. Where I come
from speed traps are money makers. And anyone
driving at the unreasonably low speed *limit* is likely
to be rear-ended.
My radar detector saved me lots of times during the
80s/90s -- when speed traps were high fashion in
police circles -- from being extorted by rural police
on the lookout for "outsiders" passing through their
jurisdiction.
In any case, if I understood correctly the OP just
wanted to quickly eliminate the program if necessary.
If the local authorities are going to get into "PC
forensics" then they're going to need an awfully lot
of speed traps to pay for that. :)
... and if various people hadn't have had a hissy fit about it.
It takes two...
--
Dee Earley (dee.e...@icode.co.uk)
i-Catcher Development Team
iCode Systems
Nah - I never liked the above statement, since it
is "blurring" causality...
What we have here is a situation like this...
Your Door-Bell rings....
You'll find somebody who's telling you, that he
simply interchanged the light- and the ringing-button...
fine..., bearable... you're nice and polite...
But then it happens the second, and the third time...
Now what will you say...? Probably something
like "you do that on purpose... stop that ..."
Then, after it happens the 5th time you're using
(presumably) not that nice words anymore...
At this time your friendly neighbour from above
comes around, telling you: "Heh, why do you call
him a$$hole, it always takes two..." ;-)
That's basically what happens with Scott here, he's
pressing Buttons, deliberately - and he gets appropriate
responses now - their "rudeness" depending somewhat
on the temper of the replying person in question -
but always "well earned" I'd say.
Olaf
So, you too think replying to .nxt Q's are best done in this group?
Besides the stir-up in this group, most users in .nxt groups who could
benefit, will miss the reply! In my opinion the last is worst.
Another thing is that MS is no longer participating in usenet, only in the
new forums. So now even the new .nxt groups are left drifting with the wind.
/Henning
When I see this, I always wonder if the button-pusher isn't looking for
"message-counts"? There are unfortunately rewards for just pushing buttons.
That's why I tend to avoid them. However, I do get sucked in occasionally.
-ralph
No, I would refer them to the correct place, but also accept that
mistakes happen.
Plenty of times, I give the wrong answer just because I'm in so many
groups and IRC channels, I answer out of habit before checking where I am.
(VB code isn't much use in PHP or JavaScript, and even less so in a
photography group.. :)
To be honest, I have ignored so many threads because of pissy arguments,
I've last track of who the regular "offenders" are.
If you read (and I wouldn't blame you if you didn't) my earlier post. This
NG seems to be the only one where doing so causes a lynching. Sometimes it
is absolutely fine to answer the question as asked as that is the MOST
important aspect of a NG - being helpful. In no other NG do you endure this
from a small few.
See the dotnet.general group for many many examples.
-Scott
I haven't stirred anything up. This entire thread was stirred up by folks
that could have just as well moved on.
> One of us can't be they.
>
>>
>>> If you *really* wanted to be to help, start posting help to VB classic
>>> problems.
>>
>> I have and I do. I have been contributing to this group for over a
>> decade.
>
> Then why not keep that up?
As I said, I have and I do - Is your newsreader broken?
> Posting .nxt replies doesn't count for contributing to this group.
How about posting .NET reply (singular)?
>
>>
>>> Don't just jump in on .nxt missposted problems.
>>
>> You mean the ONE post that I did that with?
>
> Comeon, there has been more than this one, right?
As I've said repeatedly:
there was one reply that made it into this group because the OP cross-posted
it to .NET and here and my reply went here as well.
there was one .NET reply to a non-.NET question that was a simple mistake on
my part because I thought it was the .NET group.
there was one thread where someone else brought up .NET during the thread
and I responded to inaccurate informaton that was posted.
there was one thread where a general questions about icons was asked and I
provided an answer relating to where they are stored in VS .NET.
and then there is this thread.
Out of all of these, this thread is the ONLY one where a .NET reply was
given to a .NET question.
The problem is that none of you folks with let a simple threat go without
bulking it up to dozens of replies, which makes you think that there are
more threads than there really are.
-Scott
Hey, don't look at me for the length of this thread. I was done after one
answer to the OP. It wasn't me who came out of the woodwork to extend the
life of this thread and it never is.
> The prudent thing to do is to capitulate and agree that the only reponse
> to a .nxt question is a polite redirect to the appropriate group and the
> answer given there.
I would characterize that as the thing to do to placate a small few who are
just waiting to pounce. The other side of this coin (what happens in an NG
that is frequented by people really intending to help and not just draw
lines in the sand) can be seen in any other group than this one.
> How can you not understand this unless your motives are other than your
> weak defenses for your actions.
How can you not understand that this whole issue is a non-issue at all. The
FACTS are what they are. None of these vocal folks are about helping
anyone, they are about pushing a hard and fast rule (that they have made
up).
It's obvious that I'm not going to convince them (or you) and that's fine.
I'm not replying here to do that. I'm replying to let them know that just
because they are loud, doesn't mean I'm willing to go away, when if you
really look at what I've posted, there is only help being provided.
RBS
"Scott M." <s-...@nospam.nospam> wrote in message
news:ewe%23MxebK...@TK2MSFTNGP04.phx.gbl...