Changes between Version 28 and Version 29 of CodeBestPractices
- Timestamp:
- 2012-12-01 13:22:29 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeBestPractices
v28 v29 104 104 Here is a brief table how Visual Basic 6 constructs map to .NET: 105 105 106 || [wiki:VisualBasic !VisualBasic]construct || .NET alternative ||106 || !VisualBasic construct || .NET alternative || 107 107 || vbTab, etc || Convert.[wiki:ToChar](Keys.Tab), etc || 108 108 || vbNewline || Environment.!NewLine || 109 || InStr, Left, Mid || See [http://msdn.microsoft.com/en-US/library/system.string_methods%28v=vs.80%29.aspx String class] || 110 111 You should not use Chr, Asc, IIF, !TriState, !MsgBox, UBound, !InStr, vbTab, vbCrLF and other Visual Basic 6 constructs if you wish your application to run on any other OS than Windows. See 109 || !InStr, Left, Mid || .NET [http://msdn.microsoft.com/en-US/library/system.string_methods%28v=vs.80%29.aspx String class] || 110 || MsgBox || See below, [#Notifications User Interface guidelines] || 112 111 113 112 === Target processor === … … 130 129 * Set the 'localizable' property of any forms that you develop to True. 131 130 131 == Notifications == 132 133 134 132 135 ---- 133 136 == Nasty experiences ==