Not adding vbPixels and vbTwips to VB.NET was intentional. It forces you to deal with the fact that locations and sizes are no longer expressed in twips, only pixels. You must convert your code likewise.
Which ought to be simple here since ".Width" already uses pixels as a unit. Thus:
.Width = x