Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Setting the language for OLE objects and controls – PB Docs 2019 – PowerBuilder Library

Setting the language for OLE objects and controls – PB Docs 2019

Setting the language for OLE objects and controls

When you write automation commands, you generally use commands
that match the locale for your computer. If your locale and your users
— locale will differ, you can specify the language you have used for
automation with the SetAutomationLocale function.

You can call SetAutomationLocale for OLE controls, custom
controls, and OLEObjects, and you can specify a different locale for
each automation object in your application.

For example, if you are developing your application in Germany and
will deploy it all over Europe, you can specify the automation language
is German. Use this syntax for an OLE control called ole_1:

Use this syntax for an OLEObject called oleobj_report:

The users of your application must have the German automation
interface for the OLE server application.

What languages do your users’ computers support?

When your users install an OLE server application (particularly
an OLE application from Microsoft), they get an automation interface
in their native language and in English. It might not be appropriate
for you to write automation commands in your native language if your
users have a different language.

For more information, see the section called “SetAutomationLocale” in PowerScript Reference.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x