473,757 Members | 10,754 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Enabling and actioning an asynchronous Stop button

Hi,

I am in a mouseup event for button A and I'd like to disable=false button B
before starting some work. Is there anyway that an event for button B can
then fire before my event processing for button A's mouseup has completed?

I beleive event processing to be single-threaded for good reason but I need
a "stop" button and it's no good if it doesn't do anything until the other
processing has finished :-)

Sorry if this has been asked before, I'm a newbie and couldn't find it.

Regards Richard Maher

PS. If it helps; I'm invoking an applet that connects via tcp/ip socket to
the server and fills a <selectlist with result rows and I'd like a button
so that I can send the OOB character to the server if the user has had
enough. Wher can I read about this Asynchrous Javascript? (I just want the
AJ part or AJAX :-)
Feb 25 '07 #1
8 2049
Richard Maher said the following on 2/25/2007 1:43 AM:
Hi,

I am in a mouseup event for button A and I'd like to disable=false button B
before starting some work. Is there anyway that an event for button B can
then fire before my event processing for button A's mouseup has completed?
onmouseup="disa bleButton('B'); doSomeAJAXStuff ()"

Where disableButton is a function to disable Button B.

<snip>
PS. If it helps; I'm invoking an applet that connects via tcp/ip socket to
the server and fills a <selectlist with result rows and I'd like a button
so that I can send the OOB character to the server if the user has had
enough. Wher can I read about this Asynchrous Javascript? (I just want the
AJ part or AJAX :-)
Why not just add an "I am tired, abort this crap" button directly into
the Java Applet?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Feb 25 '07 #2
Hi Randy,

Thanks for the reply.
onmouseup="disa bleButton('B'); doSomeAJAXStuff ()"
Just to bring a bit more clarity the problem: - I have hit button "Do the
work" and am in that button's onmouseup action and have tried to set the
"Abort" button's disabled status to false. (Which doesn't seem to work, but
even if I haven't preset disable=true in the <inputtag, hitting the button
does nothing while I'm still in OriginalEventFu nction() anyway :-()

If I were to use Frames (Where obviously the Applet and its underlying
Socket are global to all frames) can each frame have an event running in
parralel? For example if I had a stop button in an "Applet Frame" that just
sent the OOB when it was hit. Are there seperate event threads for each
frame?

I am not the least bit interested in AJAX, http (or isapi) or webservers (I
tell a lie; I'd like to know if AJAX uses NIO for the sockets, but that's
about it.)
Why not just add an "I am tired, abort this crap" button directly into
the Java Applet?
Because I wish to demonstrate the functionality of a html/javascript form
utilising the Applet's methods to assist in Form validation and general
application-specific functionality. If I used Java then I assume that you're
suggesting I have a dangling dialog box somewhere with a stop button in it;
is that correct?

"Why don't I just do it all in Java? Why don't I skip rubbish applets and
use Webstart? Why am I using a browser at all?"

All questions I expected, but hoped desperately not, to see :-(

Cheers Richard Maher

"Randy Webb" <Hi************ @aol.comwrote in message
news:cc******** ************@te lcove.net...
Richard Maher said the following on 2/25/2007 1:43 AM:
Hi,

I am in a mouseup event for button A and I'd like to disable=false
button B
before starting some work. Is there anyway that an event for button B
can
then fire before my event processing for button A's mouseup has
completed?
>
onmouseup="disa bleButton('B'); doSomeAJAXStuff ()"

Where disableButton is a function to disable Button B.

<snip>
PS. If it helps; I'm invoking an applet that connects via tcp/ip socket
to
the server and fills a <selectlist with result rows and I'd like a
button
so that I can send the OOB character to the server if the user has had
enough. Wher can I read about this Asynchrous Javascript? (I just want
the
AJ part or AJAX :-)

Why not just add an "I am tired, abort this crap" button directly into
the Java Applet?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/
Feb 25 '07 #3
Hi,

Below is the html/javascript that I was hoping would turn the "Abort" button
into a hot abort key. As it wasn't necessary for this example I've just
removed the button altogether but I will come back to the issue of
stop/cancel/abort processing in the next example. I think this "Frames"
idea's got legs so please let me know if you have any knowledge in this area
that may help.

Cheers Richard Maher.

PS. If you've got a chance to look, I couldn't make the Courier Font in the
..green_screen style smaller. Can anyone show me how with this example?

PPS. What controls if a button is Up or Down? I couldn't find the property
or method but sometimes the "send" button stayed down. (I think if disabled
when an alert fired?) Any Ideas how to control that?

<html>

<head>

<title>
Example Client for Tier3 demo queue-lookup server
Author: Richard Maher
</title>

<style>

h2
{
color: Turquoise;
}

p.credits
{
color: Turquoise;
}

.green_screen
{
color: Lime;
background-color: Black;
font-family: courier;
}

</style>

<script type="text/javascript">

function enter(nextfield )
{
if (window.event && window.event.ke yCode == 13)
{
nextfield.focus ();
return false;
}
else
return true;
}

function num_only(numObj )
{
if (isNaN(numObj.v alue))
{
numObj.value = "";
alert("Numeric value required");
numObj.focus();
return false;
}
else
return true;
}

function job_lookup()
{
if (!num_only(docu ment.getjobs.en try_number))
return true;

document.getjob s.abort.disable d = false;

document.getjob s.send.disabled = true;
document.getjob s.abort.disable d = false;

var recTypeLen = 2;
var recType = "";
var msgGetInfo = "10";
var jobInfo = "11";
var errorInfo = "00";

var zeroFill = "0000";
var maxRows = "9999";
var outPad = "";
var ok = true;

var selectRef = document.getjob s.job_list;
var msgEntry = "";

selectRef.optio ns[0].selected=true;
var holdHdr = selectRef.optio ns[0];

while (selectRef.opti ons.length 0)
{
selectRef.remov e(selectRef.opt ions[0]);
}
selectRef.optio ns[0] = holdHdr
document.getjob s.job_list.size = 1;

msgEntry = document.getjob s.entry_number. value;
outPad = zeroFill.substr ing(0, (zeroFill.lengt h - msgEntry.length ));

var chan = document.getEle mentById("Cornu Copiae");
chan.sendMessag e(msgGetInfo.co ncat(outPad,msg Entry,maxRows)) ;

if (chan.readMessa ge(recTypeLen) != recTypeLen)
{
alert ("Error receiving reply from server");
return false;
}
recType = chan.getString( 0,recTypeLen);

if (recType == jobInfo)
{
ok = process_jobs(ch an);
}
else
{
if (recType == errorInfo)
{
ok = process_error(c han);
}
else
{
alert ("Unknown message type " + recType);
return false;
}
}

if (!ok) return false;

document.getjob s.abort.disable d = true;
document.getjob s.send.disabled = false;
document.getjob s.entry_number. focus();

return true;
}

function process_error(c han)
{
document.getjob s.rec_count.val ue = 0;

var errMsgLen = 0;
var errLenLen = 3;
var alertMsg = "Error retrieving job entry information\n";

if (chan.readMessa ge() < errLenLen)
{
alert ("Error receiving Error Length from server");
return false;
}

errMsgLen = parseInt(chan.g etString(0,errL enLen),10);
alertMsg = alertMsg + chan.getString( errLenLen,errMs gLen);
document.getjob s.send.disabled = false;
alert(alertMsg) ;

return true;
}

function process_jobs(ch an)
{
var recTypeLen = 2;
var recType = "";
var jobInfo = "11";
var eofInfo = "99";
var eofLen = 3;
var jobMsgLen = 109;
var jobMsg = "";
var rc = 1;
var eofInfo = "99";
var selectRef = document.getjob s.job_list;

for (;;)
{
rc = rc + 1;
if (rc < 6)
document.getjob s.job_list.size = rc;

if (chan.readMessa ge(jobMsgLen) != jobMsgLen)
{
alert ("Error receiving Job Information from server");
return false;
}

jobMsg = chan.getString( 0,4) + "|" +
chan.getString( 4,39) + "|" +
chan.getString( 43,15) + "|" +
chan.getString( 58,31) + "|" +
chan.getString( 89,10) + "|" +
chan.getString( 99,10);
selectRef.optio ns[selectRef.optio ns.length] = new Option (jobMsg);

if (chan.readMessa ge(recTypeLen) != recTypeLen)
{
alert ("Error receiving reply from server");
return false;
}

recType = chan.getString( 0,recTypeLen);
if (recType != jobInfo)
break;
}

if (recType != eofInfo)
return false;

if (chan.readMessa ge(eofLen) != eofLen)
{
alert ("Error receiving reply from server");
return false;
}

document.getjob s.rec_count.val ue = (rc - 1);

return true;
}

function send_oob(oob_ch ar)
{
var chan = document.getEle mentById("Cornu Copiae");
chan.sendUrgent Data(oob_char);
return;
}

</script>

</head>

<body>

<h2>Example Client for Tier3 DEMO application server on VMS</h2><hr>

<form name="getjobs">

<object classid="clsid: 8AD9C840-044E-11D1-B3E9-00805F499D93"
width= "0" height= "0" name="CornuCopi ae"
id="CornuCopiae ">
<param name="archive" value="tier3.ja r">
<param name="codebase"
value="http://1.2.3.6/">
<param name="code"
value="CornuCop iae">
<param name="mayscript " value="yes">
<param name="scriptabl e" value="true">
<param name="name"
value="CornuCop iae">
<param name="PORT" value="1024">
<param name="HOSTCHARS ET"
value="ISO-8859-1">
<param name="MAXBUF" value="512">
<param name="APPLICATI ON" value="DEMO">

</object>

<br />Enter Job Entry Number [Default is All jobs]:
<input
type="text"
onkeypress="ret urn enter(document. getjobs.send)"
name="entry_num ber"
maxlength=4
size=4
dir="rtl"
/>

<input
type="button"
onmouseup="job_ lookup()"
name="send"
value="Get Job Info."
/>

<input
type="button"
onmousedown="se nd_oob(1)"
name="abort"
value="Abort"

/>
Jobs Found:
<input
type="text"
name="rec_count "
readonly
value="0"
size=5
/>

<br /><br />

<select
name="job_list"
id="Job_list"
class="green_sc reen"
size=1>
<option
value="lovhdr"
selected=true
disable=true
>
Nbr--Job-Name--------------------------------Job Status------Queue
Name----------------------Queue Type-Status----</option>
</select>

<br />

</form>

<p>
This is an example of a browser-based, html and JavaScript,
client interacting with a VMS hosted Tier3 Application Server
in a connection-oriented and context-rich environment.<br /><br />

You would have noticed that, when this page was initially displayed,
you were immediately prompted for your VMS Username and Password.
Once authorization is successful your credentials, and an accompanying
Persona, are automatically made available to your 3GL User Action
Routines each time their Server Process is chosen to perform work on
behalf of the client. In this example, the user only gets to see those
Print and Batch jobs that they have privileges to view. You can find
the corresponding server code for this example (demo_uars.cob) in your
t3$examples directory.<br /><br />

The session and server connection are terminated when you change
web pages or refresh this page.
</p>

<hr>

<p class="credits" >
"Tier3" is a registered trademark of Tier3 Software Ltd<br />
"CornuCopia e" is a trademark of Richard Maher
</p>

</body>
</html>

Feb 25 '07 #4
Hi,

My "Frames" idea collapsed in a screaming heap :-( and it looks like each
frame has zero autonomy when it comes to event processing. Although I split
my display up into two frames and placed the "Abort" button in a seperate
frame to that containing the currently executing an ONaction, I was unable
to press the "Abort" button and sunsequently trigger a mouseup event.

So is it the case that I'm stuck with a "dangling" Java-driven dialog box
with the hot-abort button in it or nothing.

Please reply even if it's only to say "You're stuffed!".

Is there no way to hook into the [Stop] button on the browser?

Is there no code that can execute while any other ONaction is running?

Cheers Richard Maher

PS. Does the setTimeout() code have to wait if another event is being
served/processed?

"Richard Maher" <ma******@hotsp amnotmail.comwr ote in message
news:er******** **@news-01.bur.connect. com.au...
Hi Randy,

Thanks for the reply.
onmouseup="disa bleButton('B'); doSomeAJAXStuff ()"
Just to bring a bit more clarity the problem: - I have hit button "Do the
work" and am in that button's onmouseup action and have tried to set the
"Abort" button's disabled status to false. (Which doesn't seem to work,
but
even if I haven't preset disable=true in the <inputtag, hitting the
button
does nothing while I'm still in OriginalEventFu nction() anyway :-()

If I were to use Frames (Where obviously the Applet and its underlying
Socket are global to all frames) can each frame have an event running in
parralel? For example if I had a stop button in an "Applet Frame" that
just
sent the OOB when it was hit. Are there seperate event threads for each
frame?

I am not the least bit interested in AJAX, http (or isapi) or webservers
(I
tell a lie; I'd like to know if AJAX uses NIO for the sockets, but that's
about it.)
Why not just add an "I am tired, abort this crap" button directly into
the Java Applet?

Because I wish to demonstrate the functionality of a html/javascript form
utilising the Applet's methods to assist in Form validation and general
application-specific functionality. If I used Java then I assume that
you're
suggesting I have a dangling dialog box somewhere with a stop button in
it;
is that correct?

"Why don't I just do it all in Java? Why don't I skip rubbish applets and
use Webstart? Why am I using a browser at all?"

All questions I expected, but hoped desperately not, to see :-(

Cheers Richard Maher

"Randy Webb" <Hi************ @aol.comwrote in message
news:cc******** ************@te lcove.net...
Richard Maher said the following on 2/25/2007 1:43 AM:
Hi,
>
I am in a mouseup event for button A and I'd like to disable=false
button B
before starting some work. Is there anyway that an event for button B
can
then fire before my event processing for button A's mouseup has
completed?

onmouseup="disa bleButton('B'); doSomeAJAXStuff ()"

Where disableButton is a function to disable Button B.

<snip>
PS. If it helps; I'm invoking an applet that connects via tcp/ip
socket
to
the server and fills a <selectlist with result rows and I'd like a
button
so that I can send the OOB character to the server if the user has had
enough. Wher can I read about this Asynchrous Javascript? (I just want
the
AJ part or AJAX :-)
Why not just add an "I am tired, abort this crap" button directly into
the Java Applet?

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/


Mar 3 '07 #5
Richard Maher wrote:
<snip>
Please reply even if it's only to say "You're stuffed!".
<snip>
"Richard Maher" <ma******@hotsp amnotmail.com.. .
<snip>
>Randy Webb wrote in message ...
<snip>

You are aware that the implication of this group's FAQ's advice on
posting style is that if you elect to top-post here it may be taken as an
indication that you do not want to receive any help here?

Richard.

Mar 3 '07 #6
"Richard Maher" <ma******@hotsp amnotmail.comwr ote in message
news:es******** **@news-01.bur.connect. com.au...
Hi,

My "Frames" idea collapsed in a screaming heap :-( and it looks like each
frame has zero autonomy when it comes to event processing. Although I
split
my display up into two frames and placed the "Abort" button in a seperate
frame to that containing the currently executing an ONaction, I was unable
to press the "Abort" button and sunsequently trigger a mouseup event.

So is it the case that I'm stuck with a "dangling" Java-driven dialog box
with the hot-abort button in it or nothing.

Please reply even if it's only to say "You're stuffed!".

Is there no way to hook into the [Stop] button on the browser?

Is there no code that can execute while any other ONaction is running?

Cheers Richard Maher

PS. Does the setTimeout() code have to wait if another event is being
served/processed?

"Richard Maher" <ma******@hotsp amnotmail.comwr ote in message
news:er******** **@news-01.bur.connect. com.au...
Hi Randy,

Thanks for the reply.
onmouseup="disa bleButton('B'); doSomeAJAXStuff ()"
>
Just to bring a bit more clarity the problem: - I have hit button "Do
the
work" and am in that button's onmouseup action and have tried to set the
"Abort" button's disabled status to false. (Which doesn't seem to work,
but
even if I haven't preset disable=true in the <inputtag, hitting the
button
does nothing while I'm still in OriginalEventFu nction() anyway :-()

If I were to use Frames (Where obviously the Applet and its underlying
Socket are global to all frames) can each frame have an event running in
parralel? For example if I had a stop button in an "Applet Frame" that
just
sent the OOB when it was hit. Are there seperate event threads for each
frame?

I am not the least bit interested in AJAX, http (or isapi) or webservers
(I
tell a lie; I'd like to know if AJAX uses NIO for the sockets, but
that's
about it.)
Why not just add an "I am tired, abort this crap" button directly into
the Java Applet?
Because I wish to demonstrate the functionality of a html/javascript
form
utilising the Applet's methods to assist in Form validation and general
application-specific functionality. If I used Java then I assume that
you're
suggesting I have a dangling dialog box somewhere with a stop button in
it;
is that correct?

"Why don't I just do it all in Java? Why don't I skip rubbish applets
and
use Webstart? Why am I using a browser at all?"

All questions I expected, but hoped desperately not, to see :-(

Cheers Richard Maher

"Randy Webb" <Hi************ @aol.comwrote in message
news:cc******** ************@te lcove.net...
Richard Maher said the following on 2/25/2007 1:43 AM:
Hi,

I am in a mouseup event for button A and I'd like to disable=false
button B
before starting some work. Is there anyway that an event for button
B
can
then fire before my event processing for button A's mouseup has
completed?
>
onmouseup="disa bleButton('B'); doSomeAJAXStuff ()"
>
Where disableButton is a function to disable Button B.
>
<snip>
>
PS. If it helps; I'm invoking an applet that connects via tcp/ip
socket
to
the server and fills a <selectlist with result rows and I'd like a
button
so that I can send the OOB character to the server if the user has
had
enough. Wher can I read about this Asynchrous Javascript? (I just
want
the
AJ part or AJAX :-)
>
Why not just add an "I am tired, abort this crap" button directly into
the Java Applet?
>
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/

"Richard Cornford" <Ri*****@litote s.demon.co.ukwr ote in message
news:es******** ***********@new s.demon.co.uk.. .
Richard Maher wrote:
<snip>
Please reply even if it's only to say "You're stuffed!".
<snip>
"Richard Maher" <ma******@hotsp amnotmail.com.. .
<snip>
Randy Webb wrote in message ...
<snip>

You are aware that the implication of this group's FAQ's advice on
posting style is that if you elect to top-post here it may be taken as an
indication that you do not want to receive any help here?

Richard.
Hi Richard,

Ok, appologies if my ignorance upset anyone.

But while we're here, you wouldn't have any idea how to set up a hot-abort
key wouldya?

Randy's suggestion of Java would work but I wanted it to be a little more
integrated with the browser; any ideas?

I'm used to processor modes where an inner(Exec) mode Asynchronous System
Trap can interrupt a currently executing outer(User) mode AST. In this JS
case I imagine we're dealling with threads and only a single-thread to deal
with one event stack. Is that sort of what happens? What I think I'm seeing
is not an event stack but rather a single event pigeon hole that says "Sorry
no more events please, pigeon is already home. I don't care what buttons you
press or what focus has shifted or what objects the mouse is currently
travelling over; I'm in an ONevent(bit of code) and I'm just *not* taking
*any* calls!" :-(

A broader question could be "If I created a seperate thread via my Applet
and it was busy beavering away, how would that ever communicate with, or
have effect on, the browser interface and Javascript code?"

Regards Richard Maher
Mar 4 '07 #7
In comp.lang.javas cript message <esd27a$n5d$1@n ews-
01.bur.connect. com.au>, Sun, 4 Mar 2007 09:06:10, Richard Maher
<ma******@hotsp amnotmail.compo sted:
Lines: 163
>"Richard Maher" <ma******@hotsp amnotmail.comwr ote in message
news:es******* ***@news-01.bur.connect. com.au...
>Hi,
>... ... ... ... ... ...
>Ok, appologies if my ignorance upset anyone.
You are aware that the implication of this group's FAQ's advice on
posting style is that if you elect to over-quote here it may be taken as
an indication that you do not want to receive any help here?

Apologising for a fault without showing signs of having taken the
suggested step to reduce one's ignorance is indicative of insincerity.

It's a good idea to read the newsgroup and its FAQ. See below.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v6.05 IE 6
news:comp.lang. javascript FAQ <URL:http://www.jibbering.c om/faq/index.html>.
<URL:http://www.merlyn.demo n.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demo n.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
Mar 4 '07 #8
Hi JR, Dickie,

Thanks for the feedback.

You are aware that the implication of your posts is that neither of you have
a life, or that you spend your spare time trolling unsuspecting newsgroups,
or both. It is a good idea to move away from the keyboard and go outside for
a while! Go skiing, go to the beach if it's warm enough (I know I am!), find
a girl - fall in love, (if you've already got one then fall in love all over
again), go to the beer-garden and tell humorous stories. Maybe then, the
next newbie to stumble over c.l.javascript won't feel as if he's walked into
a regime of anally retentive Nazis or self-serving, narcissistic
knob-jockeys!

What a fun and helpful place. Good-luck!

Regards Richard Maher

PS. Check out Wikipedia; absolute hours of fun for those with your editing
talents!

"Dr J R Stockton" <re*******@merl yn.demon.co.ukw rote in message
news:$0******** ******@invalid. uk.co.demon.mer lyn.invalid...
In comp.lang.javas cript message <esd27a$n5d$1@n ews-
01.bur.connect. com.au>, Sun, 4 Mar 2007 09:06:10, Richard Maher
<ma******@hotsp amnotmail.compo sted:
Lines: 163
"Richard Maher" <ma******@hotsp amnotmail.comwr ote in message
news:es******** **@news-01.bur.connect. com.au...
Hi,
... ... ... ... ... ...
Ok, appologies if my ignorance upset anyone.

You are aware that the implication of this group's FAQ's advice on
posting style is that if you elect to over-quote here it may be taken as
an indication that you do not want to receive any help here?

Apologising for a fault without showing signs of having taken the
suggested step to reduce one's ignorance is indicative of insincerity.

It's a good idea to read the newsgroup and its FAQ. See below.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v6.05
IE 6
news:comp.lang. javascript FAQ
<URL:http://www.jibbering.c om/faq/index.html>.
<URL:http://www.merlyn.demo n.co.uk/js-index.htmjscr maths, dates,
sources.
<URL:http://www.merlyn.demo n.co.uk/TP/BP/Delphi/jscr/&c, FAQ items,
links.
Mar 5 '07 #9

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

Similar topics

6
2935
by: Zunbeltz Izaola | last post by:
Hi, I have the following problem. I'm developing a GUI program (wxPython). This program has to comunicate (TCP) whit other program that controls a laboratory machine to do a measurement. I have a dialog box, wiht two buttoms "Start measurement" and "Stop". "Start" executes a function that do the measurement in the following way.
0
1321
by: Darren Thomas | last post by:
Dear all, I have written a TCP server as a windows service that accepts connections using the System.Net.Sockets.Socket class. I use the various asynchronous methods in the socket class. I'm having a problem at the moment when I shut the service down. When I stop the service I attempt to shutdown and close the socket. But when the service is started again and the Socket.Bind statement is encountered, an error occurs telling me that it is...
4
2012
by: Frank Way | last post by:
Hi all, I've googled this one to death, and still can't find an answer. Not sure I'm asking the right question, but here goes: Have a form with an onSubmit that has some javscript to disable the submit button. When the user clicks submit, the value of the button changes to "Processing..." and the button disables. The cgi to which it is submitting will process the data and render the
3
2694
by: Bryan Capps | last post by:
I have a text box control on a form, the value of which is calculated (concatenated) from entries on a subform. Accordingly, I've set the control's locked property to true and the tab stop property to false. The latter setting makes the control completely disappear. FYI, the form is dialog border style. When set to sizable border style, the control only appears when the form is re-sized much larger. I have a similar form with a...
0
1558
by: Kruz | last post by:
Somewhere around 500 connections when calls (BeginSend calls) are arround 108,752 and total bytes sent are around 9,496,399 bytes - send callbacks (EndSend) stop coming in C# asynchronous sockets. I'm counting how many BeginSend are issued and how many EndSend are received, and somewhere around 500 connections send callbacks stop coming even when the count for BeginSend shows that there are pending sends in the system. Here is the...
3
1431
by: Thomas Nielsen | last post by:
Hi, I need to make a web page that wait for 3 asynchronous processes to finish. So I am considering these options 1) Poll the status of the processes from the web page using the "REFRESH" metatag in HTML. 2) Synchronously call a monitor function on the server that poll the status of the processes, and returns when they are done.
1
1664
by: Waqas Pitafi | last post by:
Hi, 3rd day is already gone without any solution. My problem is, I have a Windows Server 2003 sp1 machine as my development platform having NTFS filesystem. Other notable components installed are ODP.NET (latest version), WSE 2.0 sp3, offcourse VS.NET 2003 so .NET 1.1. When I enable Forms Authentication (restrict anonymous access) through web config using <authentication> section my login.aspx page's button stop
2
4806
by: Robinson | last post by:
I can start an Asynchronous operation against a data source with SQLCommand.BeginExecuteReader, allowing me to loop, checking for user cancellation before the operation has completed, but how then to cancel the SQLCommand if the user wishes to? The "Cancel" method states: ".......... The Cancel method cannot be used to cancel a pending asynchronous operation." The scenario I'm thinking about here concerns a potentially long-running...
0
9489
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9298
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
10072
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...
1
9885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8737
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
7286
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
6562
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
3829
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
3
2698
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.