473,625 Members | 2,677 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Abort/Dump in ClickOnce app before my code runs

I have a program which runs fine here (created in VB9). I publish it to
my web site for download & install. It runs on some computers (one or
two) but not others. When it does not run, it causes a reporting and
submission window to pop up. It seems something is missing.

This program was converted from a VB6 original piece. Unfortunately, I
started on the .NET path just a couple of weeks after getting this app
going. I have "Publish"ed other apps to the web site as a test and they
are OK. They were converted from .NET 2003 or 2005.

I have gotten rid of the VB.Format conversions and use just "Format"
now. I thought there might be something there. No change.

I commented this line. It did not change the problem and does not cause
any errors: 'Imports VB = Microsoft.Visua lBasic

Just in case someone wants to see this error up close and personal, here
is the path to it. As far as I know (as Norton tell me), it is virus
free but...

http://www.iliketheinternet.com/PVM1...on/publish.htm

I put a msgbox as the first statement of the startup form's load event
and the msgbox never comes up. Therefore, something bad is happening
before I ever get to my code.

I cannot figure out (since M$ won't tell me) what is missing. I expect
some required .dll is not being bundled and distributed by the Publish
process. I included four items I found in the compile statement
(graphing and something else) and that is when the program started
running on some machines. It still does not run on others. All WinXP
environments.

Is there anything in the dump that tells me what it is wanting? I can
see it but don't know how to glean anything useful from it. Give me a
IBM VM or MVS dump and I might get somewhere with it but this stuff is
foreign to me.

Error signature
Event Type: clr20r3
it says it is a system.invalido perationexcepti on

I have values for P1 through P7 including the program name twice and the
version info twice and some other value twice (47ed5b7e) and P7:1b and
P8:ca , if they are worth anything.

WHAT invalid op?

This is VERY repeatable.

Is there anything I can do to find out what the real problem is?

Mike

Mar 28 '08 #1
7 1535
Well, I'm not going to try your deployment because I like my computer just
the way it is. How about if you post the dump you're getting?

Also, it doesn't look like you have any prerequisites. Are you 100% sure
that the computers it does not install on actually have whatever version of
the .Net Framework you are targeting with your application? You can add the
framework as a prerequisite; if it is already installed, it will skip it,
otherwise it will install it.

RobinS.
GoldMail.com
-------------------------------------
<Ju********@hom e.netwrote in message
news:b6******** *************** *********@4ax.c om...
>I have a program which runs fine here (created in VB9). I publish it to
my web site for download & install. It runs on some computers (one or
two) but not others. When it does not run, it causes a reporting and
submission window to pop up. It seems something is missing.

This program was converted from a VB6 original piece. Unfortunately, I
started on the .NET path just a couple of weeks after getting this app
going. I have "Publish"ed other apps to the web site as a test and they
are OK. They were converted from .NET 2003 or 2005.

I have gotten rid of the VB.Format conversions and use just "Format"
now. I thought there might be something there. No change.

I commented this line. It did not change the problem and does not cause
any errors: 'Imports VB = Microsoft.Visua lBasic

Just in case someone wants to see this error up close and personal, here
is the path to it. As far as I know (as Norton tell me), it is virus
free but...

http://www.iliketheinternet.com/PVM1...on/publish.htm

I put a msgbox as the first statement of the startup form's load event
and the msgbox never comes up. Therefore, something bad is happening
before I ever get to my code.

I cannot figure out (since M$ won't tell me) what is missing. I expect
some required .dll is not being bundled and distributed by the Publish
process. I included four items I found in the compile statement
(graphing and something else) and that is when the program started
running on some machines. It still does not run on others. All WinXP
environments.

Is there anything in the dump that tells me what it is wanting? I can
see it but don't know how to glean anything useful from it. Give me a
IBM VM or MVS dump and I might get somewhere with it but this stuff is
foreign to me.

Error signature
Event Type: clr20r3
it says it is a system.invalido perationexcepti on

I have values for P1 through P7 including the program name twice and the
version info twice and some other value twice (47ed5b7e) and P7:1b and
P8:ca , if they are worth anything.

WHAT invalid op?

This is VERY repeatable.

Is there anything I can do to find out what the real problem is?

Mike
Mar 29 '08 #2
It won't trash your system. It just GPFs and goes away. It installs in
an obfuscated directory and does not mess with anything.

I was targeting .NET 2.0. How do I force out the install for that?

Mike

On Sat, 29 Mar 2008 16:26:31 -0700, in
microsoft.publi c.dotnet.langua ges.vb "RobinS" <ro****@imnotte lling.com>
wrote:
>Well, I'm not going to try your deployment because I like my computer just
the way it is. How about if you post the dump you're getting?

Also, it doesn't look like you have any prerequisites. Are you 100% sure
that the computers it does not install on actually have whatever version of
the .Net Framework you are targeting with your application? You can add the
framework as a prerequisite; if it is already installed, it will skip it,
otherwise it will install it.

RobinS.
GoldMail.com
-------------------------------------
<Ju********@ho me.netwrote in message
news:b6******* *************** **********@4ax. com...
>>I have a program which runs fine here (created in VB9). I publish it to
my web site for download & install. It runs on some computers (one or
two) but not others. When it does not run, it causes a reporting and
submission window to pop up. It seems something is missing.

This program was converted from a VB6 original piece. Unfortunately, I
started on the .NET path just a couple of weeks after getting this app
going. I have "Publish"ed other apps to the web site as a test and they
are OK. They were converted from .NET 2003 or 2005.

I have gotten rid of the VB.Format conversions and use just "Format"
now. I thought there might be something there. No change.

I commented this line. It did not change the problem and does not cause
any errors: 'Imports VB = Microsoft.Visua lBasic

Just in case someone wants to see this error up close and personal, here
is the path to it. As far as I know (as Norton tell me), it is virus
free but...

http://www.iliketheinternet.com/PVM1...on/publish.htm

I put a msgbox as the first statement of the startup form's load event
and the msgbox never comes up. Therefore, something bad is happening
before I ever get to my code.

I cannot figure out (since M$ won't tell me) what is missing. I expect
some required .dll is not being bundled and distributed by the Publish
process. I included four items I found in the compile statement
(graphing and something else) and that is when the program started
running on some machines. It still does not run on others. All WinXP
environments .

Is there anything in the dump that tells me what it is wanting? I can
see it but don't know how to glean anything useful from it. Give me a
IBM VM or MVS dump and I might get somewhere with it but this stuff is
foreign to me.

Error signature
Event Type: clr20r3
it says it is a system.invalido perationexcepti on

I have values for P1 through P7 including the program name twice and the
version info twice and some other value twice (47ed5b7e) and P7:1b and
P8:ca , if they are worth anything.

WHAT invalid op?

This is VERY repeatable.

Is there anything I can do to find out what the real problem is?

Mike
Mar 31 '08 #3
Would be glad to post the dump if M$ would let me get hold it. So far,
I can't find any way to get it.

It is not selectable, just viewable. Is it saved somewhere I can find?
Mike

On Sat, 29 Mar 2008 16:26:31 -0700, in
microsoft.publi c.dotnet.langua ges.vb "RobinS" <ro****@imnotte lling.com>
wrote:
>Well, I'm not going to try your deployment because I like my computer just
the way it is. How about if you post the dump you're getting?

Also, it doesn't look like you have any prerequisites. Are you 100% sure
that the computers it does not install on actually have whatever version of
the .Net Framework you are targeting with your application? You can add the
framework as a prerequisite; if it is already installed, it will skip it,
otherwise it will install it.

RobinS.
GoldMail.com
-------------------------------------
<Ju********@ho me.netwrote in message
news:b6******* *************** **********@4ax. com...
>>I have a program which runs fine here (created in VB9). I publish it to
my web site for download & install. It runs on some computers (one or
two) but not others. When it does not run, it causes a reporting and
submission window to pop up. It seems something is missing.

This program was converted from a VB6 original piece. Unfortunately, I
started on the .NET path just a couple of weeks after getting this app
going. I have "Publish"ed other apps to the web site as a test and they
are OK. They were converted from .NET 2003 or 2005.

I have gotten rid of the VB.Format conversions and use just "Format"
now. I thought there might be something there. No change.

I commented this line. It did not change the problem and does not cause
any errors: 'Imports VB = Microsoft.Visua lBasic

Just in case someone wants to see this error up close and personal, here
is the path to it. As far as I know (as Norton tell me), it is virus
free but...

http://www.iliketheinternet.com/PVM1...on/publish.htm

I put a msgbox as the first statement of the startup form's load event
and the msgbox never comes up. Therefore, something bad is happening
before I ever get to my code.

I cannot figure out (since M$ won't tell me) what is missing. I expect
some required .dll is not being bundled and distributed by the Publish
process. I included four items I found in the compile statement
(graphing and something else) and that is when the program started
running on some machines. It still does not run on others. All WinXP
environments .

Is there anything in the dump that tells me what it is wanting? I can
see it but don't know how to glean anything useful from it. Give me a
IBM VM or MVS dump and I might get somewhere with it but this stuff is
foreign to me.

Error signature
Event Type: clr20r3
it says it is a system.invalido perationexcepti on

I have values for P1 through P7 including the program name twice and the
version info twice and some other value twice (47ed5b7e) and P7:1b and
P8:ca , if they are worth anything.

WHAT invalid op?

This is VERY repeatable.

Is there anything I can do to find out what the real problem is?

Mike
Mar 31 '08 #4
It is the run after install that is failing.

A box comes up saying that I can submit the dump and I have the option
to look at it but no way to copy it off to post anywhere.

If anyone knows where it is stashed for the upload, I guess I can find
it there and post.

Mike

On Mon, 31 Mar 2008 00:02:27 -0700, in
microsoft.publi c.dotnet.langua ges.vb "RobinS" <ro****@imnotte lling.com>
wrote:
>What do you mean "it is not selectable, just viewable" ? You mean you *are*
getting some kind of log file or message? What does the file dialog look
like?

If the ClickOnce deployment was failing, you would get a dialog box saying
it failed, and why, and pointing to a tmp file with a log of the deployment.
So I don't think the problem is your deployment, I think it's your program.
Write out one line of text in the startup of your program to a file, and see
if it works. If it does, then it's not the deployment.

In C#, you can do this in the Program.cs file. In VB, assuming you're
starting with a form, I would probably put it before the call to
InitializeComp onent().

RobinS.
GoldMail.com
<Ju********@ho me.netwrote in message
news:s8******* *************** **********@4ax. com...
>Would be glad to post the dump if M$ would let me get hold it. So far,
I can't find any way to get it.

It is not selectable, just viewable. Is it saved somewhere I can find?
Mike

On Sat, 29 Mar 2008 16:26:31 -0700, in
microsoft.publ ic.dotnet.langu ages.vb "RobinS" <ro****@imnotte lling.com>
wrote:
>>>Well, I'm not going to try your deployment because I like my computer just
the way it is. How about if you post the dump you're getting?

Also, it doesn't look like you have any prerequisites. Are you 100% sure
that the computers it does not install on actually have whatever version
of
the .Net Framework you are targeting with your application? You can add
the
framework as a prerequisite; if it is already installed, it will skip it,
otherwise it will install it.

RobinS.
GoldMail.c om
-------------------------------------
<Ju********@ home.netwrote in message
news:b6***** *************** ************@4a x.com...
I have a program which runs fine here (created in VB9). I publish it to
my web site for download & install. It runs on some computers (one or
two) but not others. When it does not run, it causes a reporting and
submission window to pop up. It seems something is missing.

This program was converted from a VB6 original piece. Unfortunately, I
started on the .NET path just a couple of weeks after getting this app
going. I have "Publish"ed other apps to the web site as a test and they
are OK. They were converted from .NET 2003 or 2005.

I have gotten rid of the VB.Format conversions and use just "Format"
now. I thought there might be something there. No change.

I commented this line. It did not change the problem and does not cause
any errors: 'Imports VB = Microsoft.Visua lBasic

Just in case someone wants to see this error up close and personal, here
is the path to it. As far as I know (as Norton tell me), it is virus
free but...

http://www.iliketheinternet.com/PVM1...on/publish.htm

I put a msgbox as the first statement of the startup form's load event
and the msgbox never comes up. Therefore, something bad is happening
before I ever get to my code.

I cannot figure out (since M$ won't tell me) what is missing. I expect
some required .dll is not being bundled and distributed by the Publish
process. I included four items I found in the compile statement
(graphing and something else) and that is when the program started
running on some machines. It still does not run on others. All WinXP
environments .

Is there anything in the dump that tells me what it is wanting? I can
see it but don't know how to glean anything useful from it. Give me a
IBM VM or MVS dump and I might get somewhere with it but this stuff is
foreign to me.

Error signature
Event Type: clr20r3
it says it is a system.invalido perationexcepti on

I have values for P1 through P7 including the program name twice and the
version info twice and some other value twice (47ed5b7e) and P7:1b and
P8:ca , if they are worth anything.

WHAT invalid op?

This is VERY repeatable.

Is there anything I can do to find out what the real problem is?

Mike
Jun 27 '08 #5
Already posted that I did just that.

The first statement of the form load is a msgbox. It never gets to it.

Mike

On Sun, 30 Mar 2008 23:59:42 -0700, in
microsoft.publi c.dotnet.langua ges.vb "RobinS" <ro****@imnotte lling.com>
wrote:
>See below.

<Ju********@ho me.netwrote in message
news:gt******* *************** **********@4ax. com...
>It won't trash your system.

And if I sent money to someone in Nigeria, they'd send me some back. This is
not personal, I'm just careful about what I click on, and I don't know you.
>It just GPFs and goes away. It installs in
an obfuscated directory and does not mess with anything.


So it does install, but it won't run. Have you considered putting statement
in to your startup to write one line of text to a file, so you can see if it
is getting that far? I've had this problem in the past, but it always
occurred because of a bug in my program, in the startup, prior to the forms
even being displayed.

>I was targeting .NET 2.0. How do I force out the install for that?

Click on the Prerequisites button in the Publish tab of the project
properties. Find ".Net Framework 2.0" and click the checkbox. I think you
also need "Windows Installer 3.1". Select "download from vendor website".
Click "OK". It's that simple. When the user runs it, if they don't have .Net
2.0 installed, it will install it.

RobinS.
>>
Mike

On Sat, 29 Mar 2008 16:26:31 -0700, in
microsoft.publ ic.dotnet.langu ages.vb "RobinS" <ro****@imnotte lling.com>
wrote:
>>>Well, I'm not going to try your deployment because I like my computer just
the way it is. How about if you post the dump you're getting?

Also, it doesn't look like you have any prerequisites. Are you 100% sure
that the computers it does not install on actually have whatever version
of
the .Net Framework you are targeting with your application? You can add
the
framework as a prerequisite; if it is already installed, it will skip it,
otherwise it will install it.

RobinS.
GoldMail.c om
-------------------------------------
<Ju********@ home.netwrote in message
news:b6***** *************** ************@4a x.com...
I have a program which runs fine here (created in VB9). I publish it to
my web site for download & install. It runs on some computers (one or
two) but not others. When it does not run, it causes a reporting and
submission window to pop up. It seems something is missing.

This program was converted from a VB6 original piece. Unfortunately, I
started on the .NET path just a couple of weeks after getting this app
going. I have "Publish"ed other apps to the web site as a test and they
are OK. They were converted from .NET 2003 or 2005.

I have gotten rid of the VB.Format conversions and use just "Format"
now. I thought there might be something there. No change.

I commented this line. It did not change the problem and does not cause
any errors: 'Imports VB = Microsoft.Visua lBasic

Just in case someone wants to see this error up close and personal, here
is the path to it. As far as I know (as Norton tell me), it is virus
free but...

http://www.iliketheinternet.com/PVM1...on/publish.htm

I put a msgbox as the first statement of the startup form's load event
and the msgbox never comes up. Therefore, something bad is happening
before I ever get to my code.

I cannot figure out (since M$ won't tell me) what is missing. I expect
some required .dll is not being bundled and distributed by the Publish
process. I included four items I found in the compile statement
(graphing and something else) and that is when the program started
running on some machines. It still does not run on others. All WinXP
environments .

Is there anything in the dump that tells me what it is wanting? I can
see it but don't know how to glean anything useful from it. Give me a
IBM VM or MVS dump and I might get somewhere with it but this stuff is
foreign to me.

Error signature
Event Type: clr20r3
it says it is a system.invalido perationexcepti on

I have values for P1 through P7 including the program name twice and the
version info twice and some other value twice (47ed5b7e) and P7:1b and
P8:ca , if they are worth anything.

WHAT invalid op?

This is VERY repeatable.

Is there anything I can do to find out what the real problem is?

Mike
Jun 27 '08 #6
I can't get to the code to run anything!

Wish I could.

Mike

On Mon, 31 Mar 2008 00:08:02 -0700, in
microsoft.publi c.dotnet.langua ges.vb "RobinS" <ro****@imnotte lling.com>
wrote:
>I tried this in a VM, and the problem is not in your deployment, it is in
your application. If you check the installation folder(s), the app is
installed.

You might try adding some logging to your application, like log4net, or just
writing your own statements in the startup to make sure it's running okay.

You might also try doing the deployment in release mode, then going to the
Release folder and drilling down and running the exe file from there.

Does it work if you run it from Visual Studio in debug mode? How about in
release mode?

RobinS.
GoldMail.com
<Ju********@ho me.netwrote in message
news:gt******* *************** **********@4ax. com...
>It won't trash your system. It just GPFs and goes away. It installs in
an obfuscated directory and does not mess with anything.

I was targeting .NET 2.0. How do I force out the install for that?

Mike

On Sat, 29 Mar 2008 16:26:31 -0700, in
microsoft.publ ic.dotnet.langu ages.vb "RobinS" <ro****@imnotte lling.com>
wrote:
>>>Well, I'm not going to try your deployment because I like my computer just
the way it is. How about if you post the dump you're getting?

Also, it doesn't look like you have any prerequisites. Are you 100% sure
that the computers it does not install on actually have whatever version
of
the .Net Framework you are targeting with your application? You can add
the
framework as a prerequisite; if it is already installed, it will skip it,
otherwise it will install it.

RobinS.
GoldMail.c om
-------------------------------------
<Ju********@ home.netwrote in message
news:b6***** *************** ************@4a x.com...
I have a program which runs fine here (created in VB9). I publish it to
my web site for download & install. It runs on some computers (one or
two) but not others. When it does not run, it causes a reporting and
submission window to pop up. It seems something is missing.

This program was converted from a VB6 original piece. Unfortunately, I
started on the .NET path just a couple of weeks after getting this app
going. I have "Publish"ed other apps to the web site as a test and they
are OK. They were converted from .NET 2003 or 2005.

I have gotten rid of the VB.Format conversions and use just "Format"
now. I thought there might be something there. No change.

I commented this line. It did not change the problem and does not cause
any errors: 'Imports VB = Microsoft.Visua lBasic

Just in case someone wants to see this error up close and personal, here
is the path to it. As far as I know (as Norton tell me), it is virus
free but...

http://www.iliketheinternet.com/PVM1...on/publish.htm

I put a msgbox as the first statement of the startup form's load event
and the msgbox never comes up. Therefore, something bad is happening
before I ever get to my code.

I cannot figure out (since M$ won't tell me) what is missing. I expect
some required .dll is not being bundled and distributed by the Publish
process. I included four items I found in the compile statement
(graphing and something else) and that is when the program started
running on some machines. It still does not run on others. All WinXP
environments .

Is there anything in the dump that tells me what it is wanting? I can
see it but don't know how to glean anything useful from it. Give me a
IBM VM or MVS dump and I might get somewhere with it but this stuff is
foreign to me.

Error signature
Event Type: clr20r3
it says it is a system.invalido perationexcepti on

I have values for P1 through P7 including the program name twice and the
version info twice and some other value twice (47ed5b7e) and P7:1b and
P8:ca , if they are worth anything.

WHAT invalid op?

This is VERY repeatable.

Is there anything I can do to find out what the real problem is?

Mike
Jun 27 '08 #7
Go to the deployment folder and find the exe file, double-click on it and
see if it runs. If it doesn't, then your deployment is probably missing some
crucial file.

RobinS.
GoldMail.com
<Ju********@hom e.netwrote in message
news:h0******** *************** *********@4ax.c om...
It is the run after install that is failing.

A box comes up saying that I can submit the dump and I have the option
to look at it but no way to copy it off to post anywhere.

If anyone knows where it is stashed for the upload, I guess I can find
it there and post.

Mike

On Mon, 31 Mar 2008 00:02:27 -0700, in
microsoft.publi c.dotnet.langua ges.vb "RobinS" <ro****@imnotte lling.com>
wrote:
>>What do you mean "it is not selectable, just viewable" ? You mean you
*are*
getting some kind of log file or message? What does the file dialog look
like?

If the ClickOnce deployment was failing, you would get a dialog box saying
it failed, and why, and pointing to a tmp file with a log of the
deployment.
So I don't think the problem is your deployment, I think it's your
program.
Write out one line of text in the startup of your program to a file, and
see
if it works. If it does, then it's not the deployment.

In C#, you can do this in the Program.cs file. In VB, assuming you're
starting with a form, I would probably put it before the call to
InitializeCom ponent().

RobinS.
GoldMail.co m
<Ju********@h ome.netwrote in message
news:s8****** *************** ***********@4ax .com...
>>Would be glad to post the dump if M$ would let me get hold it. So far,
I can't find any way to get it.

It is not selectable, just viewable. Is it saved somewhere I can find?
Mike

On Sat, 29 Mar 2008 16:26:31 -0700, in
microsoft.pub lic.dotnet.lang uages.vb "RobinS" <ro****@imnotte lling.com>
wrote:

Well, I'm not going to try your deployment because I like my computer
just
the way it is. How about if you post the dump you're getting?

Also, it doesn't look like you have any prerequisites. Are you 100% sure
that the computers it does not install on actually have whatever version
of
the .Net Framework you are targeting with your application? You can add
the
framework as a prerequisite; if it is already installed, it will skip
it,
otherwise it will install it.

RobinS.
GoldMail.co m
-------------------------------------
<Ju******** @home.netwrote in message
news:b6**** *************** *************@4 ax.com...
>I have a program which runs fine here (created in VB9). I publish it
>to
my web site for download & install. It runs on some computers (one or
two) but not others. When it does not run, it causes a reporting and
submissio n window to pop up. It seems something is missing.
>
This program was converted from a VB6 original piece. Unfortunately,
I
started on the .NET path just a couple of weeks after getting this app
going. I have "Publish"ed other apps to the web site as a test and
they
are OK. They were converted from .NET 2003 or 2005.
>
I have gotten rid of the VB.Format conversions and use just "Format"
now. I thought there might be something there. No change.
>
I commented this line. It did not change the problem and does not
cause
any errors: 'Imports VB = Microsoft.Visua lBasic
>
Just in case someone wants to see this error up close and personal,
here
is the path to it. As far as I know (as Norton tell me), it is virus
free but...
>
http://www.iliketheinternet.com/PVM1...on/publish.htm
>
I put a msgbox as the first statement of the startup form's load event
and the msgbox never comes up. Therefore, something bad is happening
before I ever get to my code.
>
I cannot figure out (since M$ won't tell me) what is missing. I
expect
some required .dll is not being bundled and distributed by the Publish
process. I included four items I found in the compile statement
(graphing and something else) and that is when the program started
running on some machines. It still does not run on others. All WinXP
environment s.
>
Is there anything in the dump that tells me what it is wanting? I can
see it but don't know how to glean anything useful from it. Give me a
IBM VM or MVS dump and I might get somewhere with it but this stuff is
foreign to me.
>
Error signature
Event Type: clr20r3
it says it is a system.invalido perationexcepti on
>
I have values for P1 through P7 including the program name twice and
the
version info twice and some other value twice (47ed5b7e) and P7:1b and
P8:ca , if they are worth anything.
>
WHAT invalid op?
>
This is VERY repeatable.
>
Is there anything I can do to find out what the real problem is?
>
Mike
>
Jun 27 '08 #8

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

Similar topics

11
4674
by: David | last post by:
I am compiling C++ under both MacOsX and under Bloodshed Dev C++ on Windows XP. Because the console window disappears under Bloodshed when using the standard assert() via #include <cassert> I wrote my own "asserting.h", which goes as follows: ============================================= #include <iostream> #include <cstdlib> #define asserting(e) \ if (!(e)) {\
16
10074
by: Bill | last post by:
Say I have a childThread currently is running a finally block to cleanup external resources. At the same time the main thread calls childThread.Abort(). The question is: when the ThreadAbortException is thrown, does the childThread finish the remaining code in the finally block?
7
3279
by: Morris | last post by:
I want to abort a running thread, so I call MyThread.abort() function. My problem is this thread runs "almost" like a while(true) loop and I don't want the Abort() function interrupts the thread at any point in the thread. In fact, I have a section of code needs to be "protected" from being interrupted. How can I make sure Abort() will not land anywhere winthin this block? In other words, the Abort() must wait until this block of code is done...
20
3009
by: Doug Thews | last post by:
I ran into an interesting re-pain delay after calling the Abort() method on a thread, but it only happens the very first time I call it. Every time afterward, there is no delay. I've got a delegate inside the UI that I call to update the progress meter. I use the Suspend() and Abort() methods based on button events. I can watch the progress meter increase just fine when the thread is running. When I select Start, I enable the Cancel...
5
3128
by: [Yosi] | last post by:
Why I can't abot a susspended thread. Who can terminat a thread imediatly without consider to its stat or execution?
18
5846
by: Urs Vogel | last post by:
Hi I wrote an application server (a remoting sinlgeton), where processes must be stopped in very rare cases, done thru a Thread.Abort(). Occasionally, and only after a Thread.Abort(), this component becomes instabile, throwing a Windows like error (access violation on 0x00000002), not an framework exception. The component and all of its subcomponents are 100% managed code. What could go wrong with Thread.Abort()? Thanks for any hints.
3
2474
by: Chris Rennert | last post by:
Hey all, we have a project that we would like to use ClickOnce deployment on, and although it all seems straightforward we are having a few issues concerning SQL Server Express and clickonce. We are using C# for our development language, and the application itself runs fine until we get to a part that accesses the database. When it tries to hit the database it bombs saying it can't find it. We even created a connection string that...
2
6418
by: deepak nayak | last post by:
hi everyone, I am running my application on AIX 5 which has the mlock() system call(for locking files in memory). When I run this application with root privileges , it runs fine. But since we are denied root privileges for certain machines , we are compelled to use suid bit technique. So using this when I run, execution aborts with the error message "IOT/Abort Trap" and no core dump is created. Can anyone tell why this happens and how can...
3
3794
by: Peter Wyss | last post by:
Hello! I've a few questions about ClickOnce in VisualStudio 2005. The installation of my application works fine, I published the files on a webserver and installed the app on a winxp client, updates works also fine. But here's my first question: - Our app produces xml-files on startup, which stores several informations like gui-settings etc...now when I publish a new version and my app updates, this xml-files rested in the old folder...
0
8189
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8692
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8635
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8497
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7182
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6116
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5570
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2621
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 we have to send another system
1
1802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.