Click here to Skip to main content
15,917,862 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to Pass a Double Quote (")in a string ? Pin
John_Adams20-Jan-08 22:45
John_Adams20-Jan-08 22:45 
AnswerRe: How to Pass a Double Quote (")in a string ? Pin
The Mighty Atom21-Jan-08 10:20
The Mighty Atom21-Jan-08 10:20 
QuestionGlobal hooks from a Windows Service Pin
Raveheart20-Jan-08 9:15
Raveheart20-Jan-08 9:15 
QuestionDrag and Drop from One Treeview To Another Treeview By VB.Net 2005 Pin
ejaz_pk20-Jan-08 8:07
ejaz_pk20-Jan-08 8:07 
GeneralRe: Drag and Drop from One Treeview To Another Treeview By VB.Net 2005 Pin
Paul Conrad20-Jan-08 10:18
professionalPaul Conrad20-Jan-08 10:18 
QuestionRe: Drag and Drop from One Treeview To Another Treeview By VB.Net 2005 Pin
ejaz_pk21-Jan-08 2:35
ejaz_pk21-Jan-08 2:35 
QuestionInstance Pin
roger689720-Jan-08 6:31
roger689720-Jan-08 6:31 
GeneralRe: Instance Pin
Colin Angus Mackay20-Jan-08 10:50
Colin Angus Mackay20-Jan-08 10:50 
roger6897 wrote:
How can 'Instance' be best explained in Visual Basic


Well, it depends on what you mean by "instance"?

I'm guessing you mean in terms of object oriented programming (OOP)

An object is an instance of a class. A class is a type.

You create a new instance of a class with the New keyword.

Dim w As Widget = New Widget(someParameter)


w is the reference to the object (the instance of the class.
Widget is the name of the class
New instantiates the instance of the class.

Does that answer your question?


QuestionPocket PC Connections? Pin
Widgets20-Jan-08 2:16
Widgets20-Jan-08 2:16 
GeneralSyntax Highlighting Pin
The Mighty Atom20-Jan-08 2:03
The Mighty Atom20-Jan-08 2:03 
GeneralRe: Syntax Highlighting Pin
The ANZAC20-Jan-08 18:36
The ANZAC20-Jan-08 18:36 
GeneralRe: Syntax Highlighting Pin
The Mighty Atom21-Jan-08 2:59
The Mighty Atom21-Jan-08 2:59 
GeneralRe: Syntax Highlighting Pin
The ANZAC21-Jan-08 14:06
The ANZAC21-Jan-08 14:06 
GeneralRe: Syntax Highlighting Pin
The Mighty Atom22-Jan-08 2:04
The Mighty Atom22-Jan-08 2:04 
GeneralGetting the number of rows from a table adapter query Pin
AAGTHosting19-Jan-08 17:17
AAGTHosting19-Jan-08 17:17 
GeneralQuestion about Shared modifier Pin
Alaric_19-Jan-08 11:04
professionalAlaric_19-Jan-08 11:04 
GeneralRe: Question about Shared modifier Pin
Luc Pattyn19-Jan-08 11:51
sitebuilderLuc Pattyn19-Jan-08 11:51 
GeneralRe: Question about Shared modifier [modified] Pin
Alaric_19-Jan-08 12:39
professionalAlaric_19-Jan-08 12:39 
GeneralRe: Question about Shared modifier Pin
Guffa19-Jan-08 13:02
Guffa19-Jan-08 13:02 
GeneralRe: Question about Shared modifier Pin
pmarfleet19-Jan-08 12:00
pmarfleet19-Jan-08 12:00 
GeneralRe: Question about Shared modifier Pin
Alaric_19-Jan-08 12:29
professionalAlaric_19-Jan-08 12:29 
GeneralRe: Question about Shared modifier Pin
pmarfleet19-Jan-08 12:40
pmarfleet19-Jan-08 12:40 
GeneralRe: Question about Shared modifier Pin
Guffa19-Jan-08 13:12
Guffa19-Jan-08 13:12 
GeneralRe: Question about Shared modifier Pin
Alaric_19-Jan-08 12:34
professionalAlaric_19-Jan-08 12:34 
GeneralRe: Question about Shared modifier Pin
pmarfleet19-Jan-08 12:45
pmarfleet19-Jan-08 12:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.