By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,934 Members | 1,441 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,934 IT Pros & Developers. It's quick & easy.

VB.net program without using classes?

P: n/a
Hello

1) I agree that useing classes is the best way to use VB.net. The question
is how do you write a VB program without using classes?

2) For my own edification where can I see an actual "full blown" VB .net
program that doesn't use classes?
Sep 17 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
AFAIK impossible as even a module is nothing else as a class with all
members declared shared

hth

Michel

"winlin" <wi****@verizon.comschreef in bericht
news:81**********************************@microsof t.com...
Hello

1) I agree that useing classes is the best way to use VB.net. The
question
is how do you write a VB program without using classes?

2) For my own edification where can I see an actual "full blown" VB .net
program that doesn't use classes?

Sep 17 '07 #2

P: n/a
Winlin,

If you use shared classes (or in other words modules) you are in fact
programming without objects. All code is placed on the stack. It is not
withouth classes because the description of the objects and shared classes
is still in a class; But because many people have problems in the diference
between a class and an object is this maybe your answer.

Cor

"winlin" <wi****@verizon.comschreef in bericht
news:81**********************************@microsof t.com...
Hello

1) I agree that useing classes is the best way to use VB.net. The
question
is how do you write a VB program without using classes?

2) For my own edification where can I see an actual "full blown" VB .net
program that doesn't use classes?
Sep 18 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.