Solved

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

Posted on 2001-09-04
6
435 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
Comment Utility
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
Comment Utility
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
Comment Utility
You could try loading them into a VB3/VB4 project if you have either disks available...
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:omerfarooque
Comment Utility
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 25 total points
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

744 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