?
Solved

Latest version of Powerbuilder and OCX control

Posted on 2008-10-07
4
Medium Priority
?
1,002 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 500 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

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…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
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 new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

762 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