随笔分类 -  VB.Net

摘要:1,取得字符数 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Len(aStr) 2,取得字节数 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.C... 阅读全文
posted @ 2007-06-04 15:03 sekihin 阅读(2191) 评论(0) 推荐(0) 编辑
摘要:最近在开发自定义TextBox,转载点资源便于查询 属性 说明 AcceptsReturn 指示在多行TextBox组件中按ENTER键时,是在组件中创建一行新文本还是激活窗体的默认按钮。 ... 阅读全文
posted @ 2007-06-04 14:28 sekihin 阅读(730) 评论(0) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->'当前窗体打开新页面Response.Redirect(aURL)'弹出新窗体打开新页面Response.Write("") '关闭当前窗体Response.Write("") 阅读全文
posted @ 2007-05-29 13:42 sekihin 阅读(640) 评论(0) 推荐(0) 编辑
摘要:Form1.vb的VB.Net代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Ha... 阅读全文
posted @ 2007-05-28 17:13 sekihin 阅读(2791) 评论(1) 推荐(1) 编辑
摘要:关于页面传值的方法,引发了很多讨论。看来有很多人关注这个,我就我个人观点做了些总结,希望对大家有所帮助。 1. 使用QueryString变量 QueryString是一种非常简单的传值方式,他可以将传送的值显示在浏览器的地址栏中。如果是传递一个或多个安全性要求不高或是结构简单的数值时,可以使用这个方法。但是对于传递数组或对象的话,就不能用这个方法了。下面是一个例子: a.aspx的VB.... 阅读全文
posted @ 2007-05-28 16:58 sekihin 阅读(2769) 评论(0) 推荐(0) 编辑
摘要:摘自 计算机世界报 2005年09月12日 第35期 C9本文作者介绍了几款实现C#和VB.net项目之间相互转换的工具的安装和使用方法,以及它们各自的优点和缺点。 也许你需要把你以前的VB.net项目迁移到C#,或者与此相反,不是每个.net程序员都同时精通C#和VB.net。也许你需要读懂用VB.net 写的示例代码或者共享的源码,但是你又恰好只熟悉C#,这时候你就需要一种转换软件来帮助你快... 阅读全文
posted @ 2007-05-28 08:30 sekihin 阅读(1194) 评论(2) 推荐(0) 编辑
摘要:调试快捷键F6: 生成解决方案Ctrl+F6: 生成当前项目F7: 查看代码Shift+F7: 查看窗体设计器F5: 启动调试Ctrl+F5: 开始执行(不调试)Shift+F5: 停止调试Ctrl+Shift+F5: 重启调试F9: 切换断点Ctrl+F9: 启用/停止断点Ctrl+Shift+F9: 删除全部断点F10: 逐过程Ctrl+F10: 运行到光标处F11: 逐语句编辑快捷键Shif... 阅读全文
posted @ 2007-05-11 14:50 sekihin 阅读(424) 评论(1) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->.BackColor = Color.FromArgb(255, 255, 192) 阅读全文
posted @ 2007-05-10 10:51 sekihin 阅读(3988) 评论(0) 推荐(0) 编辑
摘要:在webconfig中要加网址 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 运行的话报错解决方法是将“&”,用“*”代替,取的时候再替换 Code highlighting produced by Actipro CodeHig... 阅读全文
posted @ 2007-04-25 16:16 sekihin 阅读(1422) 评论(1) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Dim p As New Process '获得URL aURL = GetURL() '获得IE路径 ... 阅读全文
posted @ 2007-04-24 17:26 sekihin 阅读(1068) 评论(0) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Double) _ Public Funct... 阅读全文
posted @ 2007-04-22 10:08 sekihin 阅读(387) 评论(0) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Public Class TestClass Test Private _classid As String ''' ''' 设置和获取分类ID ''' Public P... 阅读全文
posted @ 2007-04-14 19:24 sekihin 阅读(307) 评论(0) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> NowDate = ChangeDateStringToNumeric(Format(Now(), "yyyy/MM/dd")) NowTime = CIntX(Format... 阅读全文
posted @ 2007-04-06 18:21 sekihin 阅读(260) 评论(0) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Butt... 阅读全文
posted @ 2007-04-04 16:55 sekihin 阅读(908) 评论(1) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Option Explicit Private Declare Function ReadProcessMemory Lib "kernel32" (ByVal ... 阅读全文
posted @ 2007-04-04 09:26 sekihin 阅读(325) 评论(0) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Imports SystemImports System.IOImports System.TextImports System.NetImports System.Runtime.InteropServ... 阅读全文
posted @ 2007-04-02 17:05 sekihin 阅读(2882) 评论(1) 推荐(0) 编辑
摘要:MSDN: 将存储过程用于命令 方法1: ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.2052/cpguide/html/cpconusingstoredprocedureswithcommand.htm Code highlighting produced by Actipro CodeHighlighter (freeware)ht... 阅读全文
posted @ 2007-03-29 13:52 sekihin 阅读(884) 评论(0) 推荐(0) 编辑
摘要:Refresh 方法 更新集合中的对象以便反映来自提供者的可用对象和特定于提供者的对象。 语法 collection.Refresh 说明 Refresh 方法根据从中调用的不同集合而完成不同的任务。 实例 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter... 阅读全文
posted @ 2007-03-28 16:10 sekihin 阅读(235) 评论(0) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Private Sub RichTextBox1_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEve... 阅读全文
posted @ 2007-03-27 12:21 sekihin 阅读(305) 评论(0) 推荐(0) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 阅读全文
posted @ 2007-02-15 13:04 sekihin 阅读(338) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示