Solved

Latest version of Powerbuilder and OCX control

Posted on 2008-10-07
4
961 Views
Last Modified: 2013-12-26
What is the latest version of commercial usage Power Builder ?
 
What is the OCX control? How to use this control?.
0
Comment
Question by:srinib
  • 2
  • 2
4 Comments
 
LVL 14

Expert Comment

by:sandeep_patel
ID: 22670271
1. What is the latest version of commercial usage Power Builder ?
>> PowerBuilder 11.5

2. What is the OCX control? How to use this control?
>> OCX is nothing but an Third party ActiveX controls. You can embed that on PB window or UserObject and later you can use it's properties, methods. It is also known as OLE in PowerBuilder.

e.g. Say you want to display websites in your powerbuilder application. For that you need to use OCX for Microsoft Web Browser. Put this control on your window and use it's Navigate() method to display websites within your powerbuilder application. In short initiating InternetExplorer in PB.

Let me know if you need more help for this.

Regards,
Sandeep
0
 
LVL 1

Author Comment

by:srinib
ID: 22670472
Great.
Can you please let me know the stpes involved in displaying website within powerbuilder application using OCX for Microsoft Web Browser?
I just know how to place this control on window, please let me know the code after this.

Thanks for your time.
0
 
LVL 14

Accepted Solution

by:
sandeep_patel earned 125 total points
ID: 22670537
1. say name of ole control you placed on window is ole_web
2. now write below script in window's open and command button clicked event
ole_web.object.navigate('http://www.google.com/')

you are done.

You can see more properties and methods of any OCX registered on your machine through PowerBuilder's Object Browser > OLE Tabpage
0
 
LVL 1

Author Closing Comment

by:srinib
ID: 31504109
Excellent!
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question