[Openroad-users] eClient & Timezones

Fabian Anderson fabian.anderson at Fintechnix.com
Thu Apr 17 15:56:47 EST 2008


Hi Darren,

 

I am not sure how eClient goes with packaging other components, but you
could either write a wrapper component and package that with your app or
you could use VBScript or Javascript to get access to the date functions
via a file-handle.  For this type of thing, an ActiveX wrapper would
probably be the best option as it needs to execute within the security
framework of a browser.  You may also be able to use client-side
scripting to call the Jscript/VBScript functions to launch the correct
version of the image with correct timezone environment as you originally
mentioned.

 

On a related not, I am curious as to whether eClient supports 3GL when
running in a browser and if doing so requires that security settings be
reduced on the browser.  If eClient supports 3GL without altering
security settings, then I would just make a 3GL wrapper instead.

 

e.g..

 

                    Li_RtnStatus = callproc DeleteFileA('file.txt');

 

Can this line be used from an eClient to delete a system file or
important data? 

 

Regards,

Fabian.

 

________________________________

From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Darren
Harvey
Sent: Thursday, 17 April 2008 3:23 PM
To: 'International OpenROAD Users'
Subject: Re: [Openroad-users] eClient & Timezones

 

I have looked at using Windows API's to get the current local time, and
there are 2 API's which I am trying to use, 'GetSystemTime' &
'GetLocalTime'.  However when I try to use these in a similar way to
some of the file handling API's we use, I get the error below indicating
that the procedure is not defined.

 

                    Li_RtnStatus = callproc DeleteFileA('file.txt');

 

                    Li_RtnStatus = callproc GetSystemTime();

                                                          ^

%% Warning at line 1273

E_W402B9 Warning - Procedure getsystemtime is undefined.

 

So obviously the Time related API's need to be structured differently,
but I am at a loss as to what is required to use these.  (I have
'kernel32.dll' in the 'II_LIBU3GL' path.)  The API's also require a
parameter of type 'SYSTEMTIME", and this has me stuck as well.

 

If anyone can help me out, that would be great.

 

Darren

 

 

 

Regards

 

Darren Harvey

 

 

 

MyWorkplace Solutions Pty Limited

Level 5, 11 Queens Road

Melbourne Victoria 3004

 

Ph.       1300 733 731

Mob.     0400 398 188

Fax.      03 9710 1112

 

Making Service our Priority

 

www.MyWorkplace.com.au

 

If you receive this email by mistake, please notify us and do not make
any use of the email. We do not waive any privilege, confidentiality or
copyright associated with it.

 

________________________________

From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Fabian
Anderson
Sent: Friday, 11 April 2008 7:56 AM
To: International OpenROAD Users
Subject: Re: [Openroad-users] eClient & Timezones-CORRECTION KB415539not
KB415439

 

Hi Darren,

            Using the Win32 SDK to get the timezone from the control
panel is the way it would work normally (for any other distributed
app)...so I think the same approach would be needed for eClient.  

            I find it odd though that the eClient doesn't already offer
a function that gets this information, but rather provides a means to
pass the environment from the server.

            I would proceed with the Win32 SDK idea, but only for
display/conversion purposes.  You should not need to store an additional
date/varchar though.

 

Cheers,

Fabian Anderson

Systems Analyst

Fintechnix Pty Ltd

 

<snip>


Specialist providers of back and front office systems for the financial services industry.
Featuring:  Fintechnix(r)
Disclaimer: 
Notice: This message contains privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action in reliance on it.
Any views expressed in this message are those of the individual sender,except where the sender specifically states them to be the views of Fintechnix Pty Ltd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20080417/1110773d/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1436 bytes
Desc: image001.jpg
Url : http://www.peerlessit.com/pipermail/openroad-users/attachments/20080417/1110773d/attachment-0001.jpe 


More information about the Openroad-users mailing list