CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - Form1
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Games
SDK
Other
Search - Form1 - List
[
Other resource
]
missilecommand
DL : 0
I have just written this to acompany the asteroids example program. Its a simple PURE VB APP, no api or directx etc. Simply shoot the moving baddies, they stop at random intervals at this time they cannot be shot. So its a bit more strategic than the usual missile command. It has still got a few bugs in it so if you feel like fixing it. Go right ahead. You can use any bits of this code in your program as you wish. NOTE: we have to drawover the lines with black lines (as you will see in this code) because if we just use FORM1.REFRESH the screen flickers to violently and we cant see any of the baddies. -I have just written this to acompany the asteroids example program. Its a simple PURE VB APP, no api or directx etc. Simply shoot the moving baddies, they stop at random intervals at this time they cannot be shot. So its a bit more strategic than the usual missile command. It has still got a few bugs in it so if you feel like fixing it. Go right ahead. You can use any bits of this code in your program as you wish. NOTE: we have to drawover the lines with black lines (as you will see in this code) because if we just use FORM1.REFRESH the screen flickers to violently and we cant see any of the baddies.
Date
: 2008-10-13
Size
: 5.45kb
User
:
chen
[
Other resource
]
DBSCAN&Rtree
DL : 0
Form1.cs是应用聚类算法DBSCAN (Density-Based Spatical Clustering of Application with Noise)的示例,可以通过两个参数EPS和MinPts调节聚类。DBSCAN.cs是全部算法的实现文件,聚类算法的进一步信息请参考“数据挖掘”或者相关书籍。聚类示例数据来自于sxdb.mdb,一个Access数据库。-Form1.cs clustering algorithm is applied DBSCAN (Density-Based S patical Clustering of Application with Noise) example, the two parameters can EPS and MinPts regulation clustering. DBSCAN.cs algorithm is the realization of all documents, the clustering algorithm further information please refer to the "data mining" or books. Clustering sample data from sxdb.mdb, an Access database.
Date
: 2008-10-13
Size
: 25.8kb
User
:
yang
[
Other resource
]
up2e_wordpad
DL : 0
VB编写的写字板 \\frmDocument.frm ..........\\frmDocument.frx ..........\\frmMain.frm ..........\\frmMain.frx ..........\\FRMMAIN.LOG ..........\\KC2.RWP ..........\\Module1.bas ..........\\MSSCCPRJ.SCC ..........\\MyWizard.vbw ..........\\WORD.FRM ..........\\WORD.FRX ..........\\查找替换.frm ..........\\查找替换.frx ..........\\工程1.vbp ..........\\工程1.vbw ..........\\课程设计报告.doc ..........\\add.vbw ..........\\Form2.frm ..........\\Form2.frx ..........\\Form1.frm ..........\\VB课程设计实验报告.doc ..........\\add.frm ..........\\add.vbp -VB prepared by the tablet \\ frmDocument.frm .......... \\ f rmDocument.frx .......... \\ frmMain.frm .... ...... \\ frmMain.frx .......... \\ FRMMAIN.LOG .......... \\ KC2.RWP .......... \\ Module1.bas .......... \\ MSSCCPRJ.SCC .......... \\ MyWiza rd.vbw .......... \\ WORD.FRM .......... \\ WORD . FRX .......... \\ find replacement. frm .......... \\ find replacement. f rx .......... \\ works 1.vbp .......... \\ works 1.vbw .. ........ \\ curriculum design report. doc .......... \\ add.vbw ... ....... \\ Form2.frm .......... \\ Form2.frx ... ....... \\ Form1.frm .......... \\ VB experimental curriculum design report. d oc .......... \\ add.frm .......... \\ add.vbp
Date
: 2008-10-13
Size
: 63.67kb
User
:
sun
[
Other resource
]
DBSCAN-csharp
DL : 0
程序说明: Form1.cs是应用聚类算法DBSCAN (Density-Based Spatical Clustering of Application with Noise)的示例,可以通过两个参数EPS和MinPts调节聚类。 DBSCAN.cs是实现文件,聚类算法的进一步信息请参考“数据挖掘”或者相关书籍 聚类示例数据来自于sxdb.mdb,一个Access数据库。 已知问题及进一步改进建议: 问题:dbscan.cs行64,SortedList不支持重复键,因此若两个数据点距离相同则无法加入集合 解决:采用人为减小一个微小量,使数据点距离不同且不影响聚类结果 上一解决方案的问题:减小double.Epsilon微小量无助于使SortedList认为两点距离以及不同 解决:采用一个指数增长的微小量,连续重试直至SortedList认为距离已经不同 进一步改进建议:可能通过double的强制转型为内存中的byte类型(假设double型转为8个byte) 然后最后一个byte减去0x01可比较漂亮的解决问题,但是……呵呵,C#中我不会这个操作 也可以自己实现一个SortedList,支持重复键,当然,这,好像是微软应该做的工作了 ^_^ Eric Guo <http://www.cnblogs.com/ericguo/> -procedures : Form1.cs clustering algorithm is applied DBSCAN (Density-Based Spati cal Clustering of Application with Noise) example, two parameters can EPS and MinPts regulation clustering. DBSCAN.cs is, the clustering algorithm further information please refer to the "data mining" or books related data clustering example from sxdb.m db, an Access database. Known issues and recommendations for further improvement : : 64 dbscan.cs OK, SortedList not support duplicate keys, and therefore if two data points from the same pool can not be solved by adding : By applying an artificially reduce a small amount of data from different points without clustering results on the impact of a solution of the problem : double.Epsilon small decrease in the amount of helplessness to make that 2:00 S
Date
: 2008-10-13
Size
: 15.29kb
User
:
Huang Yi
[
Other resource
]
200651320141760-7087
DL : 0
做Java开发朋友一定知道Eclipse编辑器,这是它的VB实现. Form1.Label1 = kk.vkCode & \\\":\\\" & kk.scanCode & \\\":\\\" & kk.Time \\ If wParam = 256 Then Myfunc = 1: Exit Function \\ endif wParam 的按键值可以在程序运行中测试中找到。-doing Java development friends will know that the Eclipse editor, This is the VB. Form1.Label1 = kk.vkCode
Date
: 2008-10-13
Size
: 333.99kb
User
:
广泛大
[
Other resource
]
20070508
DL : 0
Visual Basic 6.0可以通过调用API函数格式化一个磁盘,无论是软盘还是硬盘。 打开一个新的项目(工程1) ,如果你没有更改过缺省模式,那么Visual Basic 6.0会自动添加一个form1文件,在form1上添加一个命令控件,将下面的代码拷入。 Option Explicit Private Declare Function SHFormatDrive Lib\"shell32\"( ByVal Hend AS Long,ByVal Drive AS Long,ByVal FormatID AS Long,ByVal Options AS Long) as Long Private Sub FormatDisk(intDrive as integer,blnQuickFormat as Boolean) dim lngReturn As Long if (blnQuickFormat) then lngReturn= SHFormatDrive(0,intDrive,0&,1&) else lngReturn= SHFormatDrive(0,intDrive,0&,0&) end if end Sub Private Sub Command1_Click() call FormatDisk(0,True) End Sub 运行此程序。 注意FormatDisk函数的第一个变量很重要,他的值是0,1,2时代表格式化的分别是:A、B、C盘。 -Visual Basic 6.0 can be seen by calling the API function formatting a disk, both floppy disk or hard disk. Open a new project (a project), if you have not changed the default mode, Then Visual Basic 6.0 will automatically add a <form documents, <form in adding a control order, it is copyed into the code below. Option Explicit Private Declare Function SHFo rmatDrive Lib "shell32" (ByVal Hend AS Long, ByVal Drive AS Long, ByVal FormatID AS Long, ByVal Options AS Long) as Long Private Sub Forma tDisk (intDrive as integer, blnQuickFormat as Boolean) dim lngReturn As Lo Vi if (blnQuickFormat) then lngReturn = SHForm atDrive (0, intDrive, 0
Date
: 2008-10-13
Size
: 922byte
User
:
hasia
[
Other resource
]
astar
DL : 0
A星算法 A星算法\\MSSCCPRJ.SCC A星算法\\Form1.frm A星算法\\工程1.vbp A星算法\\Module1.bas A星算法\\工程1.vbw A星算法\\工程1.exe # # Files # 7
Date
: 2008-10-13
Size
: 10.61kb
User
:
liuchao
[
Other resource
]
Form1
DL : 0
c#写的读fpf文件的程序,有很高的质量,是一个牛人写的
Date
: 2008-10-13
Size
: 3.64kb
User
:
red
[
Other resource
]
Form1
DL : 0
一个小程序
Date
: 2008-10-13
Size
: 672byte
User
:
xu
[
Other resource
]
Form1
DL : 0
vb程序画同心圆一圈一圈的,每一圈兜色彩不同很好看的如同彩绣的铺垫
Date
: 2008-10-13
Size
: 4.14kb
User
:
lll
[
Other resource
]
Form1
DL : 0
此代码为C#2005.net中数据库的绑定与显示,并且报表的生成的代码,是十分通用的,相信会对大家有帮助的
Date
: 2008-10-13
Size
: 1.61kb
User
:
尹俊杰
[
Other resource
]
Form1
DL : 0
实现了直方图的规格化处理,能对图象给出直方图并规格化
Date
: 2008-10-13
Size
: 5.02kb
User
:
汗颜
[
Other resource
]
yuanwenjian
DL : 0
Private Sub cancel_Click(Index As Integer) Unload form1 End Sub
Date
: 2008-10-13
Size
: 5.49kb
User
:
scf
[
Other resource
]
Form1
DL : 0
用C#.NET做的一个小小记事本.功能做了大部分,还有一些细节没有处理.
Date
: 2008-10-13
Size
: 4.35kb
User
:
冬天的日子
[
Other resource
]
Form1
DL : 0
C++ for RS232(1) To read the port without using the tools
Date
: 2008-10-13
Size
: 5.81kb
User
:
sunzhens
[
Other resource
]
Form1
DL : 1
曲线拟合小工具,包括对数拟合,多项式拟合,直线拟合,指数拟合,乘幂拟合
Date
: 2008-10-13
Size
: 4kb
User
:
guhaipeng
[
Other resource
]
制作加密文本文件程序
DL : 0
制作加密文本文件程序1.原理从源文本文件中按顺序读出每一个字符,然后把读出的字符转换为相应的ASCII码,将此ASCII码加上整数密钥Key,最后把所得结果再转回相应的字符并同时把它写入到另外一个文件中,这就是加密过程。解密码过程与加密过程刚好是相反的操作。2.界面设计新建一个工程,在Form1中添加一个Label,一个Edit和两个Button,程序的界面设置与布局如图所示。图一 界面布局-encryption produced a text file procedures. Principle from the source text file sequentially read out each character and then read out the characters into the corresponding ASCII, ASCII with this integer key Key, the final results were then put back to the corresponding character and turn it into another one of the documents This is the encryption process. Xie password and encryption process is exactly the opposite of operation. 2. Interface design of a new project, Form1 add a Label, a Edit Button and the two procedures are set up and interface layout shown in the figure. A layout map interface
Date
: 2008-10-13
Size
: 1.29kb
User
:
万宏兴
[
Other resource
]
基本画线实现算法
DL : 0
新建一个C++Builder项目 设置Form1的font为“宋体,小五” 在Form1中添加一个TRadioGroup组件rgDrawWhat供选择画什么图形;添加一个Tbutton组件colorBtn和一个TcolorDialog组件ColorDialog1;添加一个TImage组件Image1。 3、 将当前项目保存在自己实验文件夹的exp1子文件夹中(以防错误操作而前功尽弃)。 编写colorBtn的OnClick事件,激活ColorDialog1,并获取所选择的颜色: if (ColorDialog1->Execute()) Image1->Canvas->Pen->Color = ColorDialog1->Color 5、 编写Image1的OnImage1MouseUp事件,要求实现: 1) 若是第奇数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第一个端点或圆心坐标; 2) 若是第偶数次鼠标按钮弹起,则根据rgDrawWhat的选择,记录直线第二个端点并利用TCanvas的MoveTo()和LineTo()方法画出直线段,或计算出圆的外接矩形后调用TCanvas的Ellipse()方法画圆。-C Builder a new project set the font to Form1 "wherein V" in Form1 add a TRadioGroup components rgDrawWhat options for what painting graphics; Add a Tbutton colorBtn components and a TcolorDialog ColorDialog1 components; Add a TImage component Image1. 3, the current project will be kept in their laboratories folders exp1 Documents folder (to prevent erroneous operation and wasted). Preparation colorBtn the OnClick, ColorDialog1 activated, and access to the choice of colors : if (ColorDialog1 - gt; Execute ()) Image1 - gt; Canvas - gt; Pen-gt; Color = ColorDialog1 - gt; Color 5, the preparation of OnImage1MouseUp Image1, call for : a) If the first odd number of pop-up mouse button, then choose rgDrawWhat the record straight section or an endpoint Center coordinates; 2) If the firs
Date
: 2008-10-13
Size
: 570.47kb
User
:
朱磊
[
Other resource
]
DBSCAN-csharp
DL : 0
程序说明: Form1.cs是应用聚类算法DBSCAN (Density-Based Spatical Clustering of Application with Noise)的示例,可以通过两个参数EPS和MinPts调节聚类。 DBSCAN.cs是实现文件,聚类算法的进一步信息请参考“数据挖掘”或者相关书籍 聚类示例数据来自于sxdb.mdb,一个Access数据库。 已知问题及进一步改进建议: 问题:dbscan.cs行64,SortedList不支持重复键,因此若两个数据点距离相同则无法加入集合 解决:采用人为减小一个微小量,使数据点距离不同且不影响聚类结果 上一解决方案的问题:减小double.Epsilon微小量无助于使SortedList认为两点距离以及不同 解决:采用一个指数增长的微小量,连续重试直至SortedList认为距离已经不同 进一步改进建议:可能通过double的强制转型为内存中的byte类型(假设double型转为8个byte) 然后最后一个byte减去0x01可比较漂亮的解决问题,但是……呵呵,C#中我不会这个操作 也可以自己实现一个SortedList,支持重复键,当然,这,好像是微软应该做的工作了 ^_^ Eric Guo <http://www.cnblogs.com/ericguo/> -procedures : Form1.cs clustering algorithm is applied DBSCAN (Density-Based Spati cal Clustering of Application with Noise) example, two parameters can EPS and MinPts regulation clustering. DBSCAN.cs is, the clustering algorithm further information please refer to the "data mining" or books related data clustering example from sxdb.m db, an Access database. Known issues and recommendations for further improvement : : 64 dbscan.cs OK, SortedList not support duplicate keys, and therefore if two data points from the same pool can not be solved by adding : By applying an artificially reduce a small amount of data from different points without clustering results on the impact of a solution of the problem : double.Epsilon small decrease in the amount of helplessness to make that 2:00 S
Date
: 2025-12-21
Size
: 26kb
User
:
Huang Yi
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.