I think it doesnt convert as the code is originally VB 6 code from the .frm code behind which uses this "Atribute" property. It comes from the form name.
Attribute VB_Name = "NewDoEvents"
As viewed in Notepad/Wordpad:
Code:VERSION 5.00 Begin VB.Form Form1 Caption = "Form1" ClientHeight = 3090 ClientLeft = 60 ClientTop = 450 ClientWidth = 4680 LinkTopic = "Form1" ScaleHeight = 3090 ScaleWidth = 4680 StartUpPosition = 3 'Windows Default End Attribute VB_Name = "Form1" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Explicit Private Sub Form_Load() MsgBox "Hello World" End Sub





Reply With Quote