Top "Vb6-migration" questions

This tag is for questions about migrating existing applications, or legacy code, from Visual Basic 6 to a more modern platform.

Converting DateAdd and Format code from VB6 to C#

I have the following code in vb - tAvailableDate = DateAdd("d", 21, Format(Now, gDATEFORMAT)) I am attempting to convert this …

c# vb6 vb6-migration
Porting a .bas file to vb.net

I'm working on some legacy VB5/VB6 code and need to convert a ".bas" file to vb.net. I found …

vb.net vb6-migration
Convert Visual Basic 6.0 type to VB.NET 'Structure'

EDIT: Having gotten this to work under 32-bit, I'm now trying to get it to work for 64-bit. I've gotten …

vb.net vb6-migration
Can a VB6 project use a .Net .dll

I have a VB6 project. My question is can I call a .NET .dll that has all the business rules …

.net vb6 asp-classic vb6-migration
Making a DLL COM accessible

I have a class library written in .Net that I would like to make available to VB6/VBA. What I …

.net vb.net com vb6 vb6-migration
Name 'Printer' is not declared VB6 to .NET

I am upgrading VB6 to .NET after the upgrade I get the compile error: Name 'Printer' is not declared My …

vb.net printing vb6 vb6-migration declare
VB6 Format function: analog in .NET

There is String.Format function that is referred to in the documentation as the analog for Format function from VB6. …

.net vb.net string-formatting vb6-migration
Replacements for DirListBox and/or FileListBox from Microsoft.VisualBasic.Compatibility

I have a VB6 application that has been migrated to VB.net, and am trying to upgrade the framework version …

.net .net-4.5 vb6-migration
Forms retaining values after closing

Throughout our program, forms are opened like this: FormName.SomeValue = 10 FormName.ShowDialog() rather than the usual Dim myForm As New …

vb.net winforms vb6-migration
VB6/VBA MSFlexGrid to VB.NET DataGridView

Yet again, more fantastic VB6 to VB.NET migration. Okay sure, this isn't necessarily a "Question" in definition, but it …

vb.net winforms datagridview vb6-migration msflexgrid