ASP.NET Topics include: System.Web classes, Web Forms and Web Controls.

Go Back  Xtreme .NET Talk > .NET > ASP.NET > DoEvents for Web Form page


Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2003, 02:05 PM
rysioja rysioja is offline
Newcomer
 
Join Date: Aug 2003
Posts: 3
rysioja is on a distinguished road
Unhappy DoEvents for Web Form page



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?

Reply With Quote
  #2  
Old 08-20-2003, 03:57 PM
Nerseus's Avatar
Nerseus Nerseus is offline
Danner

Preferred language:
C#
 
Join Date: Oct 2002
Location: Arizona, USA
Posts: 2,547
Nerseus is on a distinguished road
Default

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
__________________
"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
Reply With Quote
  #3  
Old 08-20-2003, 05:45 PM
rysioja rysioja is offline
Newcomer
 
Join Date: Aug 2003
Posts: 3
rysioja is on a distinguished road
Thumbs up 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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto complete form on web page with vb.net laroberts Windows Forms 0 07-06-2005 04:16 AM
Using a Web Form Template page Diesel ASP.NET 3 04-13-2005 09:48 PM
Posting Data to a web page via a windows form? FartNocker Network 1 02-27-2004 09:34 PM
How to bring up a web page from a Windows Form Adam Windows Forms 1 02-06-2004 02:43 AM
Web page from Windows Form Roey Windows Forms 3 08-31-2003 04:10 PM

Advertisement:







Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe