上一页 1 ··· 9 10 11 12 13 14 15 下一页
摘要: VB.NET 反射机制取得当前函数名 类名'类名System.Reflection.MethodBase.GetCurrentMethod.ReflectedType.Name'函数名 System.Reflection.MethodBase.GetCurrentMethod.Name'命名空间System.Reflection.MethodBase.GetCurrentMethod().Dec... 阅读全文
posted @ 2009-12-24 14:58 Mo 阅读(2629) 评论(0) 推荐(0) 编辑
摘要: 一.创建部署.NET打包项目 1. 在“文件”菜单上指向“添加项目”,然后选择“新建项目”。 2.在“添加新项目”对话框中,选择“项目类型”窗格中的“安装和部署项目”,然后选择“模板”窗格中的“安装项目”。在... 阅读全文
posted @ 2009-12-22 11:12 Mo 阅读(408) 评论(0) 推荐(0) 编辑
摘要: 例如:Text File(*.txt)|*.txt多个类型:Text File(*.txt)|*txt|Ini File(*.ini)|*.ini一组类型:Image File(*.jpeg,*.jpg,*.Gif)|*.jpeg;*.jpg;*.gif 阅读全文
posted @ 2009-11-02 18:07 Mo 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 'Create ObjDim XmlDoc As Xml.XmlDocument = New Xml.XmlDocument'Set Xml File PathDim XmlPath As String = "c:\TestXml.xml"'Load Xml FileXmlDoc.Load(XmlPath)XPath 寻径介绍xml文件是一种树状结构,XPath是针对Xml文件寻径的一种Patte... 阅读全文
posted @ 2009-09-16 12:42 Mo 阅读(2771) 评论(0) 推荐(0) 编辑
摘要: http://msdn.microsoft.com/zh-cn/library/ksh7h19t(VS.80).aspx 阅读全文
posted @ 2009-08-26 00:56 Mo 阅读(261) 评论(0) 推荐(0) 编辑
摘要: VB.Net初始化多维数组的方法作者:msdn 来源:microsoft 更新时间:2008-1-31 如果不是必须对每个维度都进行说明,就可以用初始化一维数组的方法来初始化多维数组变量。初始化多维数组变量在数组变量声明中,在圆括号中指定每个索引上限(用逗号分隔)。下面的示例声明并创建一个变量来存储一个包含 Short 数据类型 (Visual Basic) 元素的二维数组,其中只指定了上限。D... 阅读全文
posted @ 2009-08-14 11:19 Mo 阅读(3304) 评论(0) 推荐(0) 编辑
摘要: TopMost = True 阅读全文
posted @ 2009-07-18 11:44 Mo 阅读(117) 评论(0) 推荐(0) 编辑
摘要: DataGridViewRow.DataBoundItem获取用于填充行的数据绑定对象。Dim drv as DataRowView = DataGridView.CurrentRow.DataBoundItem再通过DataRowView的的Row属性获取绑定于该DataGridView的DataTable的DataRow 阅读全文
posted @ 2009-07-15 16:38 Mo 阅读(1777) 评论(0) 推荐(0) 编辑
摘要: 我们可以使用Declare语句调用外部DLL中的过程。但VB.NET给我们提供了另外一种更加先进的----- Dllimport特性。 如: Imports System.Runtime.InteropServices <DllImport("user32")> _ Function Findwindow()Function Findwindow(ByVal lpClassName A... 阅读全文
posted @ 2009-07-10 15:14 Mo 阅读(1678) 评论(0) 推荐(0) 编辑
摘要: Point 结构表示在二维平面中定义点的、整数 X 和 Y 坐标的有序对。PointToClient 方法 将指定屏幕点的位置计算成工作区坐标。 PointToScreen 方法 将指定工作区点的位置计算成屏幕坐标。 阅读全文
posted @ 2009-07-08 16:20 Mo 阅读(355) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 下一页