Hi anyone can help me edit VB6 code to VB.NET code cause i have been working on it and still can't get any thing on it.
there are some code which cannot be recognise by .net pls help.

Recommended Answers

All 3 Replies

VERSION 5.00
Begin VB.Form Form7
BackColor = &H00FF8080&
Caption = "Indian Gas Service"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
ControlBox = 0 'False
LinkTopic = "Form7"
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 3 'Windows Default
WindowState = 2 'Maximized
Begin VB.CommandButton Command7
BackColor = &H00C0E0FF&
Caption = "&Back to Main Menu"
BeginProperty Font
Name = "Times New Roman"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 8400
Style = 1 'Graphical
TabIndex = 8
Top = 7440
Width = 2775
End
Begin VB.Label Label3
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H80000005&
BackStyle = 0 'Transparent
Caption = "INDIAN GAS SERVICES"
BeginProperty Font
Name = "MS Sans Serif"
Size = 24
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 555
Left = 3120
TabIndex = 7
Top = 1080
Width = 6210
End
Begin VB.Label Label8
BackColor = &H00C0E0FF&
Caption = "* No other agencies dealing with the people can't satisfy the customer as we satisfy them"
BeginProperty Font
Name = "Comic Sans MS"
Size = 11.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 735
Left = 2040
TabIndex = 6
Top = 3840
Width = 5775
End
Begin VB.Label Label7
BackColor = &H00C0E0FF&
Caption = "* Indian Gas Service is dealing with the people many years and gave a satisfactory work."
BeginProperty Font
Name = "Comic Sans MS"
Size = 11.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 660
Left = 2040
TabIndex = 5
Top = 2880
Width = 5775
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "2260077"
BeginProperty Font
Name = "Times New Roman"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 225
Left = 10320
TabIndex = 4
Top = 1440
Width = 630
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "2260066"
BeginProperty Font
Name = "Times New Roman"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 225
Left = 10320
TabIndex = 3
Top = 1200
Width = 630
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Ph:-"
BeginProperty Font
Name = "Times New Roman"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 9720
TabIndex = 2
Top = 1200
Width = 375
End
Begin VB.Label Label2
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = " C-9, Yamuna Vihar, Delhi - 110053"
BeginProperty Font
Name = "Times New Roman"
Size = 14.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000D&
Height = 375
Left = 3720
TabIndex = 1
Top = 1800
Width = 5055
End
Begin VB.Label Label1
Alignment = 2 'Center
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
Caption = "INDIAN GAS SERVICES"
BeginProperty Font
Name = "MS Sans Serif"
Size = 24
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H0000FFFF&
Height = 615
Left = 3120
TabIndex = 0
Top = 1080
Width = 6210
End
Begin VB.Shape Shape2
Height = 1695
Left = 1200
Top = 960
Width = 10095
End
Begin VB.Shape Shape1
FillColor = &H00E0E0E0&
FillStyle = 0 'Solid
Height = 6375
Left = 1200
Top = 960
Width = 10095
End
End
Attribute VB_Name = "Form7"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command7_Click()
Load Form1
Form1.Show
Unload Me
End Sub

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.