- 博客(3)
- 收藏
- 关注
原创 如何控制TextBox控件只能输入数值型字符串
Public Sub CheckKeyPress(ByVal TargetTextBox As TextBox, ByVal e As System.Windows.Forms.KeyPressEventArgs, Optional ByVal Minus As Boolean = False, Optional ByVal DecimalCount As Integer = 0)
2008-11-27 14:21:00 2116 1
原创 外部程序如何嵌套到窗体上
API声明 Private Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As IntPtr, ByVal hWndNewParent As IntPtr) As IntegerPrivate Declare Function FindWindow Lib "user32
2008-11-01 10:38:00 3667 3
原创 VB.NET按字节截取字符串
代码实现从字符串左端开始按字节截取字符串(从右端或指定位置开始按字节截取的代码可以参考以下代码自行修改)Private Function SubChar(ByVal s As String, ByVal CharCount As Integer) As String Dim strRtn As String Dim bytArray() As Byte
2008-10-15 09:42:00 2996 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人