Solved

Latest version of Powerbuilder and OCX control

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
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.

747 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