Public Class and Public Structure ?

dezreena

Member
Joined
Mar 29, 2007
Messages
20
Programming Experience
Beginner
Hello people,i have few questions regarding VB.Net

1. What is the different between Public Class and Public Structure ?


2. if i create my programm like this:

#####################################

Private_Sub Start_Button()

Zubringer.Anzahl 'calling zubringer

end sub

######################################
Public Structure Zubringer

Dim Anzahl as Byte = 10

sub new () ################### constructor

End Sub

End Structure
#######################################

my problem is, how can i call this function in in same form or in other form ? because there is error in other to call the structure.
I really hope somebody will help me..thanks!! :confused:
 
Back
Top