Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


page gets stuck when getfolder is used

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

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> page gets stuck when getfolder is used
  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 >>
 page gets stuck when getfolder is used - 9/13/2003 1:16:44 AM   
  iris

 

Posts: 1
Score: 0
Joined: 9/13/2003
From: India
Status: offline
my code goes like this.......

dim filesys
set filesys=CreateObject("Scripting.FileSystemObject")
If filesys.FileExists("c:\sourcefolder\dbMC.mdb") Then
filesys.CopyFile "c:\sourcefolder\dbMC.mdb", "c:\destfolder\"
End If

the page gets stuck if the methods getfolder,copyfile or copyfolder are used.
there is no problem with fileexists and folderexists methods
In another PC when the getfolder method is used, PWS is stopped
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> page gets stuck when getfolder is used 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