摘要:
//引入API函数 [DllImportAttribute("user32.dll")] public static extern int FindWindow(string ClassName,string WindowName); [DllImport("user32.dll")] public static extern int ShowWindow(int handle, int ... 阅读全文
摘要:
http://topic.csdn.net/u/20090618/20/c33dd27b-bcc5-44d5-9a7d-e78e875ed6a7.html一个女程序员的征婚信息: SELECT * FROM 男人们 WHERE (未婚=true or 离异=true) and 同性恋=false and 穷光蛋=false and 有房=true and 有车=true and 条件 in ('细... 阅读全文
摘要:
VB 代码删除程序自身在程序中要调用退出删除可用:Call Form_QueryUnload(1,2)'注意:这个代码不要在VB的IDE环境中执行.否则将删除VB6.EXE Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) Open "a.bat" For Append As #1 Print #1, "@... 阅读全文
摘要:
用WSH直接创建快捷方式: 1.首先要添加引用. 添加引用的方法非常简单,右击你的项目并选择添加引用, 选择 COM 选项卡并选择 Windows Script Host Object Model 2.引用命名空间 using System.Runtime.InteropServices;//互动服务 using IWshRuntimeLibrary; 3.创建快捷方式(注释中有详细说明) //实... 阅读全文