Changes between Version 30 and Version 31 of CodeBestPractices
- Timestamp:
- 2012-12-01 13:29:04 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeBestPractices
v30 v31 104 104 Here is a brief table how Visual Basic 6 constructs map to .NET: 105 105 106 {| class="wikitable" 107 |- 108 ! scope="col"| !VisualBasic construct 106 {| 107 ! !VisualBasic construct 109 108 ! scope="col"| .NET alternative 110 109 |- 111 !vbTab, etc112 !Convert.!ToChar(Keys.Tab), etc110 | vbTab, etc 111 | Convert.!ToChar(Keys.Tab), etc 113 112 |- 114 !vbNewline115 !Environment.!NewLine113 | vbNewline 114 | Environment.!NewLine 116 115 |- 117 !!InStr, Left, Mid118 !.NET [http://msdn.microsoft.com/en-US/library/system.string_methods%28v=vs.80%29.aspx String class]116 | !InStr, Left, Mid 117 | .NET [http://msdn.microsoft.com/en-US/library/system.string_methods%28v=vs.80%29.aspx String class] 119 118 |- 120 !MsgBox121 !See below, [#Notifications User Interface guidelines]119 | MsgBox 120 | See below, [#Notifications User Interface guidelines] 122 121 |} 123 122