SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
DDE-client functions

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
DDE-client functions
Author Message
Felix



Joined: 16 Aug 2003
Posts: 7

Post DDE-client functions Reply with quote

I am not able to make DDE-client functions working on a Win 2k machine with 24x7 Scheduler v. 3.4.11.
The DDEOpen function always works, returning a positive channel number, but when I try to use this channel to make
execute/setdata/getdata operations a failure message pops up after a 1-minute timeout ("DDE error. Request denied").
Also this minimal example doesn't work:

Dim channel, number

DDEOpen "Excel", "test.xls", channel

DDEClose channel

the close statement fails with a generic "DDE error. Close channel failed".
I have made my trials with the debugger and the JAL script is not "asyncronous", is inserted in the "[default]" queue and the priority is "Normal".

What am I doing wrong?

Thanks for any help.

Sat Aug 16, 2003 9:03 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: DDE-client functions Reply with quote

Please make sure you have declared channel variable and Excel is running when you open a new DDE channel and it knows what "test.xls" is.

By the way which Excel version are you using?

: I am not able to make DDE-client functions working on a Win 2k machine with
: 24x7 Scheduler v. 3.4.11.
: The DDEOpen function always works, returning a positive channel number, but
: when I try to use this channel to make
: execute/setdata/getdata operations a failure message pops up after a 1-minute
: timeout ("DDE error. Request denied").
: Also this minimal example doesn't work: Dim channel, number

: DDEOpen "Excel", "test.xls", channel

: DDEClose channel

: the close statement fails with a generic "DDE error. Close channel
: failed".
: I have made my trials with the debugger and the JAL script is not
: "asyncronous", is inserted in the "[default]" queue
: and the priority is "Normal".

: What am I doing wrong?

: Thanks for any help.

Sat Aug 16, 2003 9:14 am View user's profile Send private message
Felix



Joined: 16 Aug 2003
Posts: 7

Post Re: DDE-client functions Reply with quote

: Please make sure you have declared channel variable and Excel is running when
: you open a new DDE channel and it knows what "test.xls" is.

: By the way which Excel version are you using?

The stange is that the variable is declared as number, and Excel is running, with "test.xls" open.
If Excel is not running or "test.xls" not open the DDEOpen function fails (by the way, with a null error message).
I am using Excel 2000 (9.0.4402 SR-1), but the problem occurs with other DDE servers, and particulary with the application that I want to control (I used Execel as a sample).

Could be a problem with my OS version?

Tanks for Your assistance!

Sun Aug 17, 2003 6:52 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7966

Post Re: DDE-client functions Reply with quote

Please try the latest build
http://www.softtreetech.com/download/247upg.exe

This build includes several changes in DDE functions implemetation addressing
compatibility issues in recent MS office applications

: The stange is that the variable is declared as number, and Excel is running,
: with "test.xls" open.
: If Excel is not running or "test.xls" not open the DDEOpen function
: fails (by the way, with a null error message).
: I am using Excel 2000 (9.0.4402 SR-1), but the problem occurs with other DDE
: servers, and particulary with the application that I want to control (I
: used Execel as a sample).

: Could be a problem with my OS version?

: Tanks for Your assistance!

Sun Aug 17, 2003 11:05 pm View user's profile Send private message
Felix



Joined: 16 Aug 2003
Posts: 7

Post Re: DDE-client functions Reply with quote

The upgrade to version 3.4.12 fixes the problem.

Thank You!

Mon Aug 18, 2003 10:21 am View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.