Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


autorefreh vb

 
Logged in as: Guest
arrSession:exec spGetSession 2,7,52730
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> autorefreh vb
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 autorefreh vb - 10/16/2007 7:43:23 PM   
  suvi

 

Posts: 5
Score: 0
Joined: 10/16/2007
Status: offline
Original message moved by dm_4ever
Reason : Moving To Appropriate Forum
hi

I want to autorefresh a webpage when it is idle
can we integrate vbscript + Ajax
Plz guide
 
 
Post #: 1
 
 RE: autorefreh vb - 10/18/2007 3:56:34 PM   
  TNO


Posts: 1074
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
We're going to need more info thea that.

#1- What do you mean by idle? The user not moving the mouse or hitting any keys? Or an idle connection with the server?
#2- Generally speaking people use AJAX so they don't have to refresh the page. Please clarify what you mean.

But yes you can integrate AJAX and VBScript pretty easily.

_____________________________

To iterate is human, to recurse divine. -- L. Peter Deutsch

(in reply to suvi)
 
 
Post #: 2
 
 RE: autorefreh vb - 10/18/2007 6:07:06 PM   
  suvi

 

Posts: 5
Score: 0
Joined: 10/16/2007
Status: offline
 
Connection with server is ok but i can't see any progress until i move the mouse or refresh the page.
This happens only sometimes and I am not able to find the reason


(in reply to TNO)
 
 
Post #: 3
 
 RE: autorefreh vb - 10/22/2007 9:19:23 AM   
  TNO


Posts: 1074
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
What do you have so far? Doesnt sound as much an AJAX issue at the moment.

_____________________________

To iterate is human, to recurse divine. -- L. Peter Deutsch

(in reply to suvi)
 
 
Post #: 4
 
 RE: autorefreh vb - 10/22/2007 4:55:58 PM   
  suvi

 

Posts: 5
Score: 0
Joined: 10/16/2007
Status: offline
I want  the page to be automatically refreshed when problem occurs. so I thought of using Ajax

(in reply to TNO)
 
 
Post #: 5
 
 RE: autorefreh vb - 10/22/2007 5:27:51 PM   
  TNO


Posts: 1074
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
Window.Reload can be used to refresh a webpage. I'm not sure here you're getting AJAX out of all this without more information.

In JavaScript:

      

in vbs:

      


Is this perhaps an issue with you not setting the async property properly. The page will lock out all script interaction until it receives server info if this is set incorrectly.

_____________________________

To iterate is human, to recurse divine. -- L. Peter Deutsch

(in reply to suvi)
 
 
Post #: 6
 
 RE: autorefreh vb - 10/23/2007 10:31:32 PM   
  suvi

 

Posts: 5
Score: 0
Joined: 10/16/2007
Status: offline
I used procedure webbrowser_downloadcomplete() and my problem is sorted out

(in reply to TNO)
 
 
Post #: 7
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [General Forum] >> Other Programming/Scripting Languages >> autorefreh vb Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts