Click here to Skip to main content
15,895,142 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB Script Help For Microsoft Excel Pin
Ali Rashid28-Apr-10 4:06
Ali Rashid28-Apr-10 4:06 
GeneralRe: VB Script Help For Microsoft Excel Pin
Johan Hakkesteegt3-May-10 22:23
Johan Hakkesteegt3-May-10 22:23 
QuestionWhich is the best way to set default value for properties Pin
andiyuniar27-Apr-10 17:40
andiyuniar27-Apr-10 17:40 
AnswerRe: Which is the best way to set default value for properties Pin
Steven J Jowett27-Apr-10 21:13
Steven J Jowett27-Apr-10 21:13 
AnswerRe: Which is the best way to set default value for properties Pin
tosch27-Apr-10 21:25
tosch27-Apr-10 21:25 
GeneralRe: Which is the best way to set default value for properties Pin
andiyuniar27-Apr-10 22:03
andiyuniar27-Apr-10 22:03 
Answer[Solved] Which is the best way to set default value for properties Pin
andiyuniar27-Apr-10 22:47
andiyuniar27-Apr-10 22:47 
AnswerRe: Which is the best way to set default value for properties Pin
DaveAuld28-Apr-10 3:24
professionalDaveAuld28-Apr-10 3:24 
You have the other responses also, but now there is the new VS2010 way;

Public Property theProperty as boolean = false

Thats it, all the other Get, Set and local private variable are all taken care of under the hood. [which you can still use if you want, or depending on scenario] The local private variable will be named _theProperty by default, and accessible by that name.
Dave

Don't forget to rate messages!
Find Me On: Web|Facebook|Twitter|LinkedIn
Waving? dave.m.auld[at]googlewave.com


QuestionMultithread Error (Input string was not in the correct format)? [modified] Pin
Dominick Marciano27-Apr-10 13:49
professionalDominick Marciano27-Apr-10 13:49 
AnswerRe: Multithread Error (Input string was not in the correct format)? Pin
Luc Pattyn27-Apr-10 14:18
sitebuilderLuc Pattyn27-Apr-10 14:18 
QuestionHow to display access records in Visual Basic 2008 form? Pin
Razanust27-Apr-10 2:27
Razanust27-Apr-10 2:27 
AnswerRe: How to display access records in Visual Basic 2008 form? Pin
Dave Kreskowiak27-Apr-10 2:39
mveDave Kreskowiak27-Apr-10 2:39 
QuestionHow to avoid a group box using mixed with other group boxes while overlapping in VB 6 Pin
Razanust26-Apr-10 15:27
Razanust26-Apr-10 15:27 
AnswerRe: How to avoid a group box using mixed with other group boxes while overlapping in VB 6 Pin
DaveAuld26-Apr-10 23:21
professionalDaveAuld26-Apr-10 23:21 
Questionvisual basic simple calculator Pin
terrable26-Apr-10 11:17
terrable26-Apr-10 11:17 
AnswerRe: visual basic simple calculator Pin
Richard MacCutchan26-Apr-10 11:42
mveRichard MacCutchan26-Apr-10 11:42 
AnswerRe: visual basic simple calculator Pin
Luc Pattyn26-Apr-10 11:57
sitebuilderLuc Pattyn26-Apr-10 11:57 
AnswerRe: visual basic simple calculator Pin
Steven J Jowett26-Apr-10 21:38
Steven J Jowett26-Apr-10 21:38 
JokeRe: visual basic simple calculator Pin
Michel Godfroid27-Apr-10 1:21
Michel Godfroid27-Apr-10 1:21 
Questionmeaning of code Pin
skskhoukhita201026-Apr-10 5:25
skskhoukhita201026-Apr-10 5:25 
AnswerRe: meaning of code Pin
Michel Godfroid26-Apr-10 5:40
Michel Godfroid26-Apr-10 5:40 
GeneralRe: meaning of code Pin
Eddy Vluggen26-Apr-10 5:54
professionalEddy Vluggen26-Apr-10 5:54 
AnswerRe: meaning of code Pin
Eddy Vluggen26-Apr-10 5:50
professionalEddy Vluggen26-Apr-10 5:50 
GeneralRe: meaning of code Pin
skskhoukhita201026-Apr-10 6:04
skskhoukhita201026-Apr-10 6:04 
QuestionHow to sent Mail in VB6.0 Pin
JC.KaNNaN25-Apr-10 21:04
JC.KaNNaN25-Apr-10 21:04 

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.