?
Solved

utility to read or convert a .vbx (16 bit) to 32 bit .ocx

Posted on 2001-09-04
6
Medium Priority
?
488 Views
Last Modified: 2012-06-21
Hi,
I have a few VBX and OCX(16 bit)which I am not able to attach to my project.
Is there a utility to convert 16 bits vbx / ocx to 32 bit??

Regards
Omer
P.S. Even if you know of a code viewer for them let me know.
0
Comment
Question by:omerfarooque
  • 3
  • 2
6 Comments
 
LVL 43

Expert Comment

by:TimCottee
ID: 6452772
Simply put, no there isn't a way of doing this. 16 bit controls may only be used in a 16 bit container. Likewise 32 bit controls require a 32 bit container. If you don't have the source for the controls (I assume they are third-party controls) then you are likely to be out of luck.
0
 

Author Comment

by:omerfarooque
ID: 6452855
Hey TimCottee
Ok if I cant convert them can I atleast view their attributes / properties and methods. I have been trying to add these vbx's as controls in a test form but am not able to as it just says cannot load ----.vbx to the project, continue loading?
0
 
LVL 22

Expert Comment

by:rspahitz
ID: 6454936
You could try loading them into a VB3/VB4 project if you have either disks available...
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:omerfarooque
ID: 6455444
Tried that, but it gives me the same error. I ahve just got the vbx, I am not sure whether a vbx would require a dll or a something like that to make it loadable. Sure dont need it in the OCX world.
Could it be that I need something more that the vbx file to load the control?
0
 
LVL 22

Accepted Solution

by:
rspahitz earned 50 total points
ID: 6457607
Normally VBXs are stand-alone, but there's no guarantee.

Did you ever have them working?  Is that system still available?  If so, load VB3 there and add them, then check the properties (although I don't think you have direct access to their methods like you do now with the "intellisense".)
0
 

Author Comment

by:omerfarooque
ID: 6530155
Hey
After lots and lots off looking around I found out that there was a concept called Thunking but it can only be used for Dlls and that too when the scource code is available.
So I am accepting the last comment as ana answer as I want to close this.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month14 days, 9 hours left to enroll

840 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