17769.html

来自「VB技巧问答10000例,是一个教程」· HTML 代码 · 共 27 行

HTML
27
字号
<html>  <head>    <title>Re: 我有一个C 的structure ,想要改成VB能用的宣告,有人可以帮忙吗?</title>  </head>  <body bgcolor="#FFFFFF" vlink="#808080">    <center>      <h1>Re: 我有一个C 的structure ,想要改成VB能用的宣告,有人可以帮忙吗?</h1>    </center><hr size=7 width=75%><hr size=7 width=75%><p>Posted by <a href="mailto:Thousand@mail.nethouse.com.tw">Thousand</a> on August 24, 1999 at 11:10:30:<p>In Reply to: <a href="17727.html">我有一个C 的structure ,想要改成VB能用的宣告,有人可以帮忙吗?</a> posted by 天儿 on August 23, 1999 at 16:51:18:<p>C的Struct型态实际上即为Class<br>所以在VB里新增Entry的 Class Modual<br>Public ID As Long<br>Public lpEntry As Object<br>测试<br>Dim a As New Entry<br>Dim b As New Entry<br>Dim c As Object<br>a.ID = 10<br>b.ID = 20<br>Set a.lpEntry = b<br>set b.lpentry = Nothing<br>Set c = a<br>MsgBox c.ID<br>Set c = a.lpEntry<br>MsgBox c.ID<p><br><br><br><hr size=7 width=75%><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 17769--><!--top: 17840--><li><a href="17840.html">Thanks!!</a> <b>天儿</b> <i>11:34:38 8/25/99</i>(<!--responses: 17840-->0)<ul><!--insert: 17840--></ul><!--end: 17840--></ul><!--end: 17769--><br><hr size=7 width=75%><p></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?