Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, November 25, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Sendkeys in a legacy code - 64bit machine
LCF
Posts: 46
 
Sendkeys in a legacy code - 64bit machineYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Sep 15 6:51 AM

Hi,


I have a legacy script that is still running on a SLX 7.5.4 client. The code is using sendkeys to select all the rows in a datagrid (legacy form). The client is running now in a 64bit machine and throws an error saying "Can´t install hook". I'm trying to modify the code and use the next one:


 


Dim objSh

 


Set objSh = CreateObject("WScript.Shell")


objSh.SendKeys "{HOME}"


For i = 0 to iRows - 1


objSh.SendKeys "+{DOWN}"


Next


Set objSh = Nothing


 


 


But it´s failing when saving saying "Compile: Syntax Error on line 13" that, in my case, is the line with the code 


Set objSh = CreateObject("WScript.Shell")

 


 


Any idea how resolve this issue? Thanks.

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/25/2024 5:16:53 PM