473,320 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

DoEvents Equivalent?

I have an ASP.NET application (written in VB.NET) that has to use a 3rd
party COM server to accomplish a lengthy processing task. This COM server
works asynchronously and uses a call-back event to report its progress.

If I was programming in good old VB6, I'd use a loop and Do Events to wait
for the call-back event to be triggered. I understand that VB.NET has
Application.DoEvents(), but that isn't available to me since my app is a
dll.

Is there an equivalent in VB.NET/ASP.NET that I can use to accomplish this?
Nov 19 '05 #1
1 2920
no. google this newsgroup for progress bar solutions. they involve polling
for status.

-- bruce (sqlwork.com)

"MichaelR" <ad***@info-resonance.com> wrote in message
news:O7**************@tk2msftngp13.phx.gbl...
| I have an ASP.NET application (written in VB.NET) that has to use a 3rd
| party COM server to accomplish a lengthy processing task. This COM server
| works asynchronously and uses a call-back event to report its progress.
|
| If I was programming in good old VB6, I'd use a loop and Do Events to wait
| for the call-back event to be triggered. I understand that VB.NET has
| Application.DoEvents(), but that isn't available to me since my app is a
| dll.
|
| Is there an equivalent in VB.NET/ASP.NET that I can use to accomplish
this?
|
|
Nov 19 '05 #2

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

Similar topics

1
by: Bobby | last post by:
Hello, Does anyone know what is the VB.NET equivalent for DoEvents as in VB6 Thanks Bobby
2
by: Bob lazarchik | last post by:
Hello: I have created a component in which I need to do a timeout operation. What is the equivalent to Application.DoEvents() in a Component. public virtual bool ReceiveResponse( out string...
5
by: Srinivas Kollipara | last post by:
Hey guys, In my project one place I am using Application.DoEvents() and waiting for 5 minutes to finish my required task in that block. My project need to run for almost 60 hours continuously to...
0
by: Howard Kaikow | last post by:
If one has code that cannot include DoEvents, is it possible to achieve the equivalent of either of the following Excel VBA codes in VB .NET? Public Sub EnableInterrupt1() Const...
12
by: Jack Russell | last post by:
My unstanding of all VB up to and including vb6 is that an event could not "interrupt" itself. For instance if you had a timer event containing a msgbox then you would only get one message. ...
2
by: Ed Chiu | last post by:
Hello, Does anybody know any commands that do the same as DoEvents in VB6. I need to delay the program execution a little bit for the form to refresh. Thanks in Advance
13
by: Amjad | last post by:
Hi, Is there an equivalent to the "Application.Doevents" method in modules or Windows services? I want to make a Windows service that calls a DLL. The DLL would have all my functions and it...
1
by: pcnerd | last post by:
I have VB.NET 2005 Express Edition. Is there a VB.NET equivalent to the "classic" VB's DoEvents? I searched the VB.NET Help & had no luck. In "classic" VB, DoEvents was used in code that might...
8
by: Bharathi Harshavardhan | last post by:
Hi, I have an application in which I have used Application.DoEvents() method in the click event of a NumericUpDown. This particular method is throwing "Object reference not set to an instance of...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.