-->

upgrade from 32 bit vb project to 64 bit

2019-07-28 23:36发布

问题:

I have a visual basic(.vbp) desktop application, actually an excel add-ins, it is in VB 2006 and for 32 bit.

I need to upgrade it so it can work with 64 bit, is it possible to do so and how. please guide I have already searched on all internet.

回答1:

Visual Basic 6 (which came out in 1998, not 2006) predates 64-bit Windows development, and certainly predates it being a normal thing. (Windows XP 64-bit for Itanium was released in 2001, and it didn't get much use.) VB6 can only create 32-bit DLLs and Executables. In order to create a 64-bit application, you will need to recreate the program in a more modern programming environment.

Some of the older versions of Visual Basic .NET have built-in tools to assist with the migration, which can help with some automated translation from VB6 to VB.NET. But, you'd still need to do some amount of manual work to convert it, and thoroughly test for your use cases.