SnowConvert
The best available tools to perform code migrations from a source database or Spark application to Snowflake.

Oracle
Spark Scala
Spark Python
SQL Server
Teradata

Data Solutions
The premier productivity workbench designed and optimized for teams using Snowflake.

Translation with SnowConvert
Edit, Debug & Deploy
Automated Test Case Generation
Metadata Analysis
Source Code Management

Get Started
There are countless ways to take advantage of BlackDiamond Studio and SnowConvert.

Migration and Other Snowflake Services
Get Up and Running with Snowpark
Using the SnowConvert Trial
Build a Cross-Platform Object Inventory

Monetize Your Data

We Are GAP Mobilize
Free Assessment Tool

VB to .NET

ISSUE #1043

Class instancing was changed to public.

Description  

In Visual Basic 6.0, instance creation was controlled by the Instancing property of a class, which set both the access level (Public, Private, Friend) of a class and the way an object could be created. In Visual Basic .NET, the Instancing property is no longer supported; you control the way that an object can be created by setting the access level of the constructor (Sub New):

Visual Basic 6.0 Instancing Visual Basic .NET
Private Class Access attribute: Private
PublicNotCreatable Class Access attribute: Public. Declare the constructor Friend (Friend Sub New)
MultiUse Class Access attribute: Public. Declare the constructor Public (Public Sub New)


There is no direct equivalent for SingleUse, GlobalSingleUse, or GlobalMultiUse instancing in Visual Basic .NET; when the Instancing property is set to one of these values, the access level of both the class and the constructor are set to Public during upgrade.

Recommendations 

Check the code. The behavior may be slightly different than it was in Visual Basic 6.0, and you may need to change the access level of the class and/or the constructor.

Talk To An Engineer