View Single Post
  #2  
Old 02-08-2012, 08:42 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi Wes,

That's correct, I believe ActiveX objects are system dependent, so objects that worked on XP may not work on Vista or Windows 7.

As an alternative, you can use the FileOpenDialog() method that was added to SecureCRT in version 6.7.

Changes in SecureCRT 6.7 (Beta 1) -- March 8, 2011
--------------------------------------------------

New features:
  • Added the script function FileOpenDialog() that displays the file browser and returns the selected file.

Syntax:
Code:
crt.Dialog.FileOpenDialog([title, [buttonLabel, [defaultFilename, [filter ]]]])

See the SecureCRT Help topic Scripting / Script Objects Reference / Dialog Object for additional information on the FileOpenDialog() method.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote