Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-12-2014, 02:56 AM
indy5 indy5 is offline
Registered User
 
Join Date: Aug 2014
Posts: 3
Slow script

Hello,

I want to write an own script for custom GUI dialog, so I tested your script "Create a Custom Username and Password Input Dialog" described in "scripting_essential.pdf" on page2 81-82. But it takes more than 10 seconds to display that IE dialog box. Can you advise what's the problem?

After some investigation it seems that the main delay is caused by the following commands:
g_objIE.Offline = True
g_objIE.navigate "about:blank"

immediately after " Set g_objIE = CreateObject("InternetExplorer.Application") "

I've written some VB scripts for SecureCRT but never had such problem.

If I run that script directly in windows it's fast and the IE dialog box is displayed immediately.

I'm using Windows 7 x64, IE8 on PC with i7, 8GB RAM

Thanks in advance
Reply With Quote
 

Tags
internet explorer , script , speed


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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


All times are GMT -6. The time now is 08:34 PM.