1.如何用vb编写一个扫雷的程序?
2.VB.Net读åAutoCADå¾çº¸
如何用vb编写一个扫雷的程序?
扫雷源码,带音乐,自定义颜色、betaflight 源码下载网格大小,注释比较详细,osg源码阅读变量全中文。中正彩源码是vb.net的,如果是vb6.0需要做一些修改。刚接触vb的话,需要耐心和翻资料才能看懂代码。
PS:我学vb都6年了,刚学2年的时候,根本做不出扫雷= =。发币源码
VB.Net读åAutoCADå¾çº¸
å¦æå¯ä»¥çè¯è¯·æåç»æãã以ä¸æ¯cadççï¼å¼ç¨autocad type library åautocad/objectdbx common å¦ææ¯æè çæ¬æ´ä½çåªè¦å¼ç¨autocad type libraryï¼ä»£ç çè¯å¤§åå°å¼ï¼æè·¯æ¯ä¸æ ·ç
ããPrivate Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
On Error Resume Next
Dim acadapp As Autodesk.AutoCAD.Interop.AcadApplication
acadapp = GetObject(vbNullString, "autoCAD.application")
Dim acaddoc As Autodesk.AutoCAD.Interop.AcadDocument
acaddoc = acadapp.ActiveDocument
Dim Ms As Autodesk.AutoCAD.Interop.Common.AcadModelSpace
Ms = acaddoc.ModelSpace
Dim acadObjectI As Autodesk.AutoCAD.Interop.Common.AcadObject
Dim Linei As Autodesk.AutoCAD.Interop.Common.AcadLine
Dim Circlei As Autodesk.AutoCAD.Interop.Common.AcadCircle
Dim Polylinei As Autodesk.AutoCAD.Interop.Common.AcadPolyline
Dim pt As Autodesk.AutoCAD.Interop.Common.AcadPoint
For Each acadObjectI In Ms
Debug.Print(acadObjectI.ObjectName)
Select Case acadObjectI.ObjectName
Case "AcDbLine"
Linei = acadObjectI
Debug.Print("X =" & Linei.StartPoint(0).ToString)
Debug.Print("Y =" & Linei.StartPoint(1).ToString)
Case ""
Case ""
End Select
Next
End Sub
2024-11-20 23:45747人浏览
2024-11-20 23:37160人浏览
2024-11-20 23:151991人浏览
2024-11-20 22:362285人浏览
2024-11-20 22:301683人浏览
2024-11-20 22:041875人浏览
1.PHP源码如何使用2.PHP云进销存管理系统,中小微企业ERP电商源码3.在源码之家下载了一个PHP网站的源码不知道如何使用4.php源码是什么意思PHP源码如何使用 1. PHP 源码在本地
1.java源文件在哪里,如何查找java的源代码?2.javaweb应用的组成结构3.如何快速读懂项目源码javaWeb4.javaweb的源码是是开放的吗?5.javaåªè½åwebå¼