Hi all,
Please forgive me if this is an obvious one.
I have an unknown amount of elements on a page, which I need to loop through one at a time and do stuff to. However, I need the loop to pause until the functions used on the elements have completed, and then continue on to the next iteration.
I tried doing this in a $.each loop, but...
Hi again, the question is....
The application maybe in Silverligth.
It's possible to implement SYNChonous WebService call?
I try to realize any application RIA, with Grids, Edits and using WebServices in SL, but I do not understand how to make it's possible without a SYNC calls.
And I also need to use MODAL DIALOGS for some tasks.
I...
In a classes are some methods that are run synchronously. I would like them to run asynchronously, the first idea was to wrap it, and use switch enum to decide which function should be called. But for every method called, I needed a new method in the wrapper class and a new enum. It looks like this:
public class QueuedShow implements In...
I am a bit confused as to why a synchronous call is different to an asynchronous call, as there is never an "immediate" response, it still takes some nano or milliseconds?
...
The MSDN states in its description of ReadFile() function:
If hFile is opened with FILE_FLAG_OVERLAPPED, the lpOverlapped parameter must point to a valid and unique OVERLAPPED structure, otherwise the function can incorrectly report that the read operation is complete.
I have some applications that are violating the above recommend...
Dear all,
Most of my daily programming work in Windows is nowadays around I/O operations of all kind (pipes, consoles, files, sockets, ...). I am well aware of different methods of reading and writing from/to different kinds of handles (Synchronous, asynchronous waiting for completion on events, waiting on file HANDLEs, I/O completion p...
I'm attempting to perform a synchronous write/read in a demux-based client application with MINA 2.0 RC1, but it seems to get stuck. Here is my code:
public boolean login(final String username, final String password) {
// block inbound messages
session.getConfig().setUseReadOperation(true);
// send the login request
fi...
Hi,
I am a beginner. I tried to use some synchronous FTP downloading (in order to create a file on the iphone from a file on the ftp server) in an application but I am not able to do it.
I read the doc (and CFTPSample) and I managed to use asynchronous download but not synchronous. Can anyone help me?
Cheers
...
Hi all,
What is the difference between asynchronous and non-blocking calls? Also between blocking and synchronous calls(with examples please)?
Thanks.
...
I can only find asynchronous iPad/objective C HTTP examples. How do I do a synchronous web request?
...
Hello,
I'm a little new to objective-C but have run across a problem that I can't solve, mostly because I'm not sure I am implementing the solution correctly.
I am trying to connect using a Synchronous Connection to a https site with a self-signed certificate. I am getting the
Error Domain=NSURLErrorDomain Code=-1202 "untrusted serve...
I need a way to perform some action synchronously which should complete in half a second, but might just hang around for minutes. If it times out I don't care about the result. Here's the I'm doing it right now using compiler-generated delegate.BeginInvoke:
static void Main()
{
bool disposed = false;
var wait = new ManualResetEv...
Hello Guys,
Can i make use of jquery ajax API and make a synchronous calls?
Best Regards,
Keshav
...
Hi,
I have Silverlight problem.
I have to deal with fairly large legacy application that has some web services exposed (regular asmx, not wcf). What I need to do is to build Silverlight app that consumes those web services. Due to business logic I need to have the same web method to be called from Silverlight app synchronously. I was a...
I'm looking at trying to start a process from F#, wait till it's finished, but also read it's output progressively.
Is this the right/best way to do it? (In my case I'm trying to execute git commands, but that is tangential to the question)
let gitexecute (logger:string->unit) cmd =
let procStartInfo = new ProcessStartInfo(@"C:\Pr...
I'd like for the user to select a file and then open it.
Currently I have:
protected var theFile:File;
...
theFile.browse();
var stream:FileStream = new FileStream();
stream.open(theFile, "rb");
The problem is though, that browse() operates asynchronously and uses events. Is there a way I can do the same thing without using events?
...
the question is fairly simple and technical:
var it_works = false;
$.post("some_file.php", '', function(data) {
it_works = true;
});
alert(it_works); # false (yes, that 'alert' has to be here and not inside $.post itself)
What I want to achieve is:
alert(it_works); # true
Is there a way to do that? If not can $.post() retu...
Is it possible to call in a .js file synchronously and then use it immediately afterward?
<script type="text/javascript">
var head = document.getElementsByTagName('head').item(0);
var script = document.createElement('script');
script.setAttribute('type', 'text/javascript');
script.setAttribute('src', 'http://mysite/my.js...
Hello,
I have a list of URLs and need to load each page, one after another.
This is my main function that i have in my Mind.
mainFunction() {
loop { // Loop through URL list
oPage = func1(URL); //Get page contents
aResult = func2(oPage); //Analyse the contents
func3(aResult); //Do current page modifications
}
}
func1 uses GM_xml...
I have a page layout that looks something like this
| image || image || image |
When you hover over one of the images, I want to make an animation to get something like this
| image-hover || image || image |
or
| image || image-hover || mage |
or
| image || image || image-hover...