What are 'Classes' and 'Client Application'?
Hey, I recently discovered that I require Multi-Threading for a project im working on http://www.vbforums.com/showthread.php?t=520836
I learned that this can be done by using an ActiveX.exe. In the tutorial i'm reading, they refer to classes and client applications. I was just wondering if someone could give me a quick definition of each (and what exactly they're for).
Thanks
Re: What are 'Classes' and 'Client Application'?
Classes (in the OOP sense) is a datatype that has methods and/or variables attached to it.
Example:
var.dosomething()
var.var.
Afaik, they do NOT exist in VB6. However, they are in VB .Net.
However, I do believe VB6 has the ability to declare structs. Structs are just definitions for a datatype.
Example:
(C++ example)
Code:
struct pos {
int x;
int y;
};
pos coord;
coord.x = 5;
My computer science professor defined classes as structs on steroids. ;)
Client application is just the people who use your application on your computer (ie as a client).
Re: What are 'Classes' and 'Client Application'?
Quote:
Originally Posted by k1ll3rdr4g0n
Classes (in the OOP sense) is a datatype that has methods and/or variables attached to it.
Example:
var.dosomething()
var.var.
Afaik, they do NOT exist in VB6. However, they are in VB .Net.
However, I do believe VB6 has the ability to declare structs. Structs are just definitions for a datatype.
Example:
(C++ example)
Code:
struct pos {
int x;
int y;
};
pos coord;
coord.x = 5;
My computer science professor defined classes as structs on steroids. ;)
Client application is just the people who use your application on your computer (ie as a client).
thx for that post - helped
Re: What are 'Classes' and 'Client Application'?
VB6 has classes.
They are not 100% OOP, I mean some features of OOP are not there, but vb6 has classes.
http://en.wikibooks.org/wiki/Program...ed_Programming
http://www.daniweb.com/forums/thread24074.html
http://en.wikipedia.org/wiki/Class_%...ter_science%29
Client Application would be an Application used in client side in a multi tier (or two tier , client server) application model.
That means if your application access a server (remote or local), you can have two applications , one to control server, and one to link client or user with the server. This second one used by end user or client would be the client application.
(the first application , server control , could be a simple DBMS or a GAME or application server)
http://en.wikipedia.org/wiki/Client-server
:wave:
Re: What are 'Classes' and 'Client Application'?
Quote:
Originally Posted by zeezee
thanks
Re: What are 'Classes' and 'Client Application'?
Quote:
Originally Posted by zeezee
Sorry, never did any OOP in VB6, but thanks for headsup. Classes are very useful in any language.:thumb: