Click here to Skip to main content
15,921,454 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: BLUETOOTH VB.NET Pin
SilverGold3-Sep-12 9:47
SilverGold3-Sep-12 9:47 
QuestionWhat tools/scripts are available to automate migration? Pin
emunews31-Oct-08 3:21
emunews31-Oct-08 3:21 
AnswerRe: What tools/scripts are available to automate migration? Pin
Dave Kreskowiak31-Oct-08 5:05
mveDave Kreskowiak31-Oct-08 5:05 
GeneralRe: What tools/scripts are available to automate migration? Pin
emunews31-Oct-08 9:18
emunews31-Oct-08 9:18 
GeneralRe: What tools/scripts are available to automate migration? Pin
Dave Kreskowiak31-Oct-08 11:50
mveDave Kreskowiak31-Oct-08 11:50 
QuestionProblem in invoking methods of a class Pin
aakkpp31-Oct-08 0:07
aakkpp31-Oct-08 0:07 
AnswerRe: Problem in invoking methods of a class Pin
Sathesh Sakthivel31-Oct-08 0:22
Sathesh Sakthivel31-Oct-08 0:22 
AnswerRe: Problem in invoking methods of a class Pin
Dave Kreskowiak31-Oct-08 3:21
mveDave Kreskowiak31-Oct-08 3:21 
This is basic programming concepts in OOP. I HIGHLY suggest picking up a book on VB.NET for beginners.

Your first statement just created a variable that CAN contain a reference to an object of type DBAccess. When you define it, it doesn't actually reference any DBAcess object, it points to Nothing, or null in C#.

Your second statement (with the "New" in it) does the same thing as the first statement in creating a variable that CAN point to an object of type, then it creates an instance of the DBAccess class, called an object, and points the variable at that instance. Now you can call the methods and properties on that object.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




AnswerRe: Problem in invoking methods of a class Pin
Paul Conrad31-Oct-08 7:37
professionalPaul Conrad31-Oct-08 7:37 
AnswerRe: Problem in invoking methods of a class Pin
rprateek4-Nov-08 16:02
rprateek4-Nov-08 16:02 
QuestionSetup and Deployment Templates Missing Pin
ccdmf30-Oct-08 19:20
ccdmf30-Oct-08 19:20 
AnswerRe: Setup and Deployment Templates Missing Pin
Jon_Boy31-Oct-08 1:16
Jon_Boy31-Oct-08 1:16 
GeneralRe: Setup and Deployment Templates Missing Pin
ccdmf31-Oct-08 5:51
ccdmf31-Oct-08 5:51 
GeneralRe: Setup and Deployment Templates Missing Pin
nlarson1131-Oct-08 7:15
nlarson1131-Oct-08 7:15 
QuestionProperties of RichTextBox at Runtime Pin
pdnet30-Oct-08 18:42
pdnet30-Oct-08 18:42 
AnswerRe: Properties of RichTextBox at Runtime Pin
Paul Conrad30-Oct-08 19:16
professionalPaul Conrad30-Oct-08 19:16 
GeneralRe: Properties of RichTextBox at Runtime Pin
pdnet30-Oct-08 20:18
pdnet30-Oct-08 20:18 
GeneralRe: Properties of RichTextBox at Runtime Pin
Paul Conrad31-Oct-08 5:15
professionalPaul Conrad31-Oct-08 5:15 
AnswerRe: Properties of RichTextBox at Runtime Pin
LeandroABorges31-Oct-08 1:01
LeandroABorges31-Oct-08 1:01 
QuestionUser Control ComboBox help Pin
Tim Groven30-Oct-08 7:35
Tim Groven30-Oct-08 7:35 
AnswerRe: User Control ComboBox help Pin
Tim Groven30-Oct-08 7:43
Tim Groven30-Oct-08 7:43 
QuestionFormat of data to transmit over CAN bus Pin
habib harrie30-Oct-08 6:12
habib harrie30-Oct-08 6:12 
AnswerRe: Format of data to transmit over CAN bus Pin
Dave Kreskowiak30-Oct-08 6:25
mveDave Kreskowiak30-Oct-08 6:25 
GeneralRe: Format of data to transmit over CAN bus Pin
Luc Pattyn30-Oct-08 16:13
sitebuilderLuc Pattyn30-Oct-08 16:13 
Questionsend mail vb.net Pin
ste199030-Oct-08 5:06
ste199030-Oct-08 5:06 

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.