rysioja Posted August 20, 2003 Posted August 20, 2003 Hi, I`ve used Application.DoEvents method in my Windows Forms many times, no problem. However, it obviously not going to work in a Web Based application. It is so, as DoEvents is not a member of System.Web.HttpApplicationState. So, I am trying to figure out what replaces this method in a Web Form page, which I created in VB.NET. Could anyone help me out with this, please? :cool: Quote
*Experts* Nerseus Posted August 20, 2003 *Experts* Posted August 20, 2003 Normally you want DoEvents to have windows process some messages through the normal windows message pump. On a web server you won't have a message pump and you certainly don't have access to the client's window's message pump (which would only be IE's). What are you trying to do with DoEvents? It sounds like you need to be doing something else. -Nerseus Quote "I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
rysioja Posted August 20, 2003 Author Posted August 20, 2003 DoEvents Case Yes, you are right. I kept on thinking, for some reason, that I am in a windows application but not in a web based one. I must have gotten tired, I guess? Thanks so much for your help and putting me back on the right track. I appreciate that. ;) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.