How to recompile ACTIVEX Grid Control (VB6) to 64-bit OCX?

Since 2000, we have been working on ActiveX grid control and have many satisfied customers. The control is still supported, but the main problem we and our customers face recently is 64 The bit version of MS Office VBA, our grid control is widely used. The problem is that our OCX is 32 bit because it is developed/compiled in Visual Basic 6 and cannot generate 64 bit code-at least in the original form.

The question is: Is there a way to recompile our existing VB6 project into a 64-bit ActiveX control? Is it possible to use add-ons or modifications of the VB6 IDE to perform this operation from VB6, or are there other tools such as a command line compiler? Maybe, another development environment like RealBasic can generate 64-bit code?

Of course we know that the source code (mainly API calls) should also be updated, but in this question we asked about the general possibility of creating a 64-bit executable OCX from the VB6 source code.

You can post any thoughts on the issue at will, even after a few months from the release date.

I regret to say that it is impossible to create a 64-bit control with VB6.

One solution may be to create a 64-bit user control in VB.NET and then use interop To host your 32-bit control, but it is a bad kludge and not worth the effort.

Since 2000, we have been committed to ActiveX grid control and have Many satisfied customers. The control is still supported, but the main problem that we and our customers have recently faced is the 64-bit version of MS Office VBA, our grid control is widely used. The problem is that our OCX is 32-bit because It is developed/compiled in Visual Basic 6 and cannot generate 64-bit code-at least in the original form.

The question is: Is there a way to recompile our existing VB6 project to 64-bit ActiveX control? Is it possible to use add-ons or modifications of the VB6 IDE to perform this operation from VB6, or are there other tools such as a command line compiler? Maybe, another development environment like RealBasic can generate 64-bit code?

Of course we know that the source code (mainly API calls) should also be updated, but in this question we asked about the general possibility of creating a 64-bit executable OCX from the VB6 source code.

Even after a few months from the release date, feel free to post any thoughts on the issue.

I regret to say that I created one with VB6 64-bit control is not possible at all.

A solution may be to create a 64-bit user control in VB.NET, and then use interop to host your 32-bit control, but it is a Bad kludge, not worth the effort.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3447 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.