• 主页
  • VBS
  • .NET技术
  • VBA
  • VB网络编程
  • VB多媒体
  • VB数据库
  • VB控件
  • VB COM/DCOM
  • VB基础类
  • VB API

How to: use another form's class? Wait online ...

liegou911 2003-05-12 01:54:24
Here, I have a file named class.vb in all of my form.

Public Class cls_User
Public MemberID As Long = 0
Public UserName As String = "Admin"
Public TeamID As Long = 0
Public TeamName As String = "None"
Public TeamRole As Char = conQARole
Public MemRole As Char = conLeader
Public Email As String = "someone@matrix"
Public TaskID As Long = 0
Public TaskTitle As String = "None"
Public TaskNO As String = "None"
End Class

And in my work form. I want to use this class and pass this class' value to another form.
How can I do ???
Wait online ...
...全文
15 点赞 收藏 1
写回复
1 条回复
Montaque 2003年05月12日
public shared class
回复 点赞
发动态
发帖子
VB
创建于2007-09-28

1.1w+

社区成员

11.0w+

社区内容

VB技术相关讨论,主要为经典vb,即VB6.0
社区公告
暂无公告