VB6.0与VB.NET函数的区别
VB.NET
AddItem Object名.AddItem
Object名.Items.Add ListBox1.Items.AddComboBox1.Items.Add
Abs 函数
System.Math.Abs 方法
API 函数关系
Microsoft Win32和Microsoft .NET FrameworkAPI的对应
App.Path 等
1.System.Reflection.Assembly.GetExecutingAssembly.Location
2. Application.StartupPath
3. Application.ExecutablePath
4. System.AppDomain.CurrentDomain.BaseDirectory
App.PrevInstance
Process.GetProcessesByName(pn).GetUpperBound(0)> 0
As Any 关键词
Visual Basic .NET 不提供支持。 参考方法(SendMessage)
AscB 函数
Microsoft.VisualBasic.Strings.Asc 函数
Atn 函数
System.Math.Atan 方法
AutoRedraw 属性
没有相同项目。
Beep
Microsoft.VisualBasic.Beep()
Caption 属性
Text 属性
CBool 函数
CBool 函数
CByte 函数
CByte 函数
CDate 函数
CDate 函数
CDbl 函数
CDbl 函数
CDec 函数
CDec 函数
ChDir 语句
Microsoft.VisualBasic.FileSystem.ChDir 函数
System.IO.Directory.SetCurrentDirectory 方法
ChDrive 语句
Microsoft.VisualBasic.FileSystem.ChDrive 函数
Chr$ 函数、ChrB 函数
Microsoft.VisualBasic.Strings.Chr 函数
CInt 函数
CInt 函数
Circle 方法
System.Drawing.Graphics.DrawEllipse 方法
CLong 函数
CLong 函数
Close 语句
Microsoft.VisualBasic.FileSystem.FileClose函数
System.IO.StreamReader.Close方法
Clipboard 对象
System.Windows.Forms.Clipboard 命名空间
ClipControls 属性
没有相同项目。
Cls 方法
System.Drawing.Graphics.Clear 方法
Color QBColor
vbBlack RGB()
System.Drawing.Color.Black
Command
System.Environment.GetCommandLineArgs
Combo1.AddItem
ComboBox1.Items.Add