BYTEINSIGHT
GAPVelocity AI Studio helps you move from outdated tech stacks to the latest desktop, web, and cloud platforms—smarter, faster, and with less risk.
Choose a platform to see migration options:
GAPVelocity AI helps you move from outdated tech stacks to the latest desktop, web, and cloud platforms—smarter, faster, and with less risk.
Choose a platform to see migration options:
Our comprehensive approach to application modernization, from assessment to production deployment.
BYTEINSIGHT
GAPVelocity AI Studio helps you move from outdated tech stacks to the latest desktop, web, and cloud platforms—smarter, faster, and with less risk.
Choose a platform to see migration options:
GAPVelocity AI helps you move from outdated tech stacks to the latest desktop, web, and cloud platforms—smarter, faster, and with less risk.
Choose a platform to see migration options:
Our comprehensive approach to application modernization, from assessment to production deployment.
Transformation Services
Not Sure Where to Start?
In VB6 you could use a scale mode different to pixels to use as the unit for measures and locations in a form. This is not longer supported by .Net.
Use these functions, to convert units to pixels, depending of the scale mode. Unit can be centimeters, millimeters, inches, etc.
PublicSub SetScaleMode()
Me.ScaleMode = 1 'Twips
Me.Width = 10000
EndSub
PublicSub SetScaleMode()
'UPGRADE_ISSUE: (2038) Form property ewi2038.ScaleMode is not supported.
ScaleMode = 1
Width = Microsoft.VisualBasic.Compatibility.VB6.Support.TwipsToPixelsX(100)
EndSub
publicvoid SetScaleMode()
{
//UPGRADE_ISSUE: (2038) Form property ewi2038.ScaleMode is not supported.
this.ScaleMode = 1; //Twips
this.Width = (int) VB6.TwipsToPixelsX(10000);
}