Solved

Latest version of Powerbuilder and OCX control

Posted on 2008-10-07
4
954 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
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.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

919 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now