Click here to Skip to main content
15,891,654 members
Home / Discussions / Web Development
   

Web Development

 
GeneralADO recordset error: "Operation is not allowed when the object is closed. " Pin
devvvy30-Jan-03 23:14
devvvy30-Jan-03 23:14 
GeneralRe: ADO recordset error: "Operation is not allowed when the object is closed. " Pin
David Wulff31-Jan-03 4:02
David Wulff31-Jan-03 4:02 
GeneralRe: ADO recordset error: "Operation is not allowed when the object is closed. " Pin
devvvy31-Jan-03 9:39
devvvy31-Jan-03 9:39 
GeneralRe: ADO recordset error: "Operation is not allowed when the object is closed. " Pin
David Wulff31-Jan-03 11:39
David Wulff31-Jan-03 11:39 
GeneralRe: ADO recordset error: "Operation is not allowed when the object is closed. " Pin
devvvy31-Jan-03 12:22
devvvy31-Jan-03 12:22 
QuestionMy Newest Website - Testers? Pin
Davy Mitchell30-Jan-03 21:06
Davy Mitchell30-Jan-03 21:06 
QuestionWait( ) function for VBScript? Pin
devvvy30-Jan-03 19:11
devvvy30-Jan-03 19:11 
AnswerRe: Wait( ) function for VBScript? Pin
Torsten Mauz31-Jan-03 2:47
Torsten Mauz31-Jan-03 2:47 
There isn't any such function in VBScript.

You can get around it though by using SetTimeout. This allows you to designate a delay before executing a sub or function.

So if you structure your code suitably you can do this


sub myFirstSub()
'Do whatever
MsgBox("test1")
Call SetTimeout("mySecondSub", 2000)
end sub

sub mySecondSub()
MsgBox("test2")
'Do something else
end sub

the first parameter to SetTimeout is the name of the function or sub you want to execute, the second is the delay in milliseconds that you want. So in my

example when i call myFirstSub I will get a messagebox with "test1" then 2 seconds later I get another messagebox with "test2".

HTH
GeneralRe: Wait( ) function for VBScript? Pin
devvvy31-Jan-03 9:42
devvvy31-Jan-03 9:42 
GeneralObject.Sleep Pin
devvvy31-Jan-03 12:25
devvvy31-Jan-03 12:25 
GeneralRe: Object.Sleep Pin
Torsten Mauz31-Jan-03 15:53
Torsten Mauz31-Jan-03 15:53 
GeneralRe: Object.Sleep Pin
devvvy31-Jan-03 17:33
devvvy31-Jan-03 17:33 
GeneralRe: Object.Sleep Pin
Torsten Mauz31-Jan-03 23:39
Torsten Mauz31-Jan-03 23:39 
Generalhere's a simple solution to the problem Pin
devvvy2-Feb-03 20:18
devvvy2-Feb-03 20:18 
Generalscript block and Server.Transfer Pin
devvvy30-Jan-03 17:06
devvvy30-Jan-03 17:06 
GeneralRe: script block and Server.Transfer Pin
devvvy30-Jan-03 17:10
devvvy30-Jan-03 17:10 
GeneralRe: script block and Server.Transfer Pin
Paul Watson30-Jan-03 22:46
sitebuilderPaul Watson30-Jan-03 22:46 
GeneralRe: script block and Server.Transfer Pin
devvvy30-Jan-03 22:47
devvvy30-Jan-03 22:47 
GeneralASP .NET Web Hosting Pin
perlmunger30-Jan-03 6:56
perlmunger30-Jan-03 6:56 
GeneralRe: ASP .NET Web Hosting Pin
Paul Riley30-Jan-03 7:03
Paul Riley30-Jan-03 7:03 
GeneralRe: ASP .NET Web Hosting Pin
perlmunger30-Jan-03 7:35
perlmunger30-Jan-03 7:35 
GeneralRe: ASP .NET Web Hosting Pin
Paul Riley30-Jan-03 7:35
Paul Riley30-Jan-03 7:35 
GeneralRe: ASP .NET Web Hosting Pin
perlmunger30-Jan-03 7:49
perlmunger30-Jan-03 7:49 
GeneralAdd - Remove between two HTML List Boxes Pin
jerry0davis30-Jan-03 5:59
jerry0davis30-Jan-03 5:59 
GeneralRe: Add - Remove between two HTML List Boxes Pin
DFU2330-Jan-03 6:51
DFU2330-Jan-03 6:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.