Solved

Latest version of Powerbuilder and OCX control

Posted on 2008-10-07
4
969 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
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…
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.

733 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