Click here to Skip to main content
15,899,126 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Check availability of SMTP server Pin
Craster24-Jul-07 5:51
Craster24-Jul-07 5:51 
GeneralRe: Check availability of SMTP server Pin
Steven J Jowett25-Jul-07 5:26
Steven J Jowett25-Jul-07 5:26 
QuestionDisableVisualStyles Pin
Tom Deketelaere23-Jul-07 23:58
professionalTom Deketelaere23-Jul-07 23:58 
AnswerRe: DisableVisualStyles Pin
Luc Pattyn24-Jul-07 2:19
sitebuilderLuc Pattyn24-Jul-07 2:19 
GeneralRe: DisableVisualStyles Pin
Tom Deketelaere24-Jul-07 3:11
professionalTom Deketelaere24-Jul-07 3:11 
GeneralRe: DisableVisualStyles Pin
Luc Pattyn24-Jul-07 4:00
sitebuilderLuc Pattyn24-Jul-07 4:00 
GeneralRe: DisableVisualStyles Pin
Tom Deketelaere24-Jul-07 4:23
professionalTom Deketelaere24-Jul-07 4:23 
QuestionVariable Declaration Clarifications (Newbie) Pin
frankiebaby223-Jul-07 22:40
frankiebaby223-Jul-07 22:40 
Hi, Concerning declarations of variables

Could some one please help by filling in the blanks to explain what I can't seem to find in my various VB.Net Library?

Dim:- Can be used to declare variables within the entire Form if placed before all the Private Sub crap, other wise known as the General Declarations area. Otherwise is for Local Variables only.

Static:- When used with a Local variable, the value is preserved for the lifetime of the application (while the program is running).

Public:- Must be contained in a standard Module not a Form and are visible throughout the entire project. (A Module is a Form without a user interface.)

Protected:- (Your answer goes here ) Smile | :)

Friend:- Access is similar to Public, only Friend is restricted to only code within it’s project (application).

Shared:- (Your answer goes here ) Smile | :)

Protected Friend:- (Your answer goes here ) Smile | :)

Private:- Appears to be the same as Dim. Is it? (Your answer goes here ) Smile | :)

Thank You!




AnswerRe: Variable Declaration Clarifications (Newbie) Pin
Christian Graus23-Jul-07 23:25
protectorChristian Graus23-Jul-07 23:25 
GeneralRe: Variable Declaration Clarifications (Newbie) Pin
Colin Angus Mackay23-Jul-07 23:39
Colin Angus Mackay23-Jul-07 23:39 
GeneralRe: Variable Declaration Clarifications (Newbie) Pin
Christian Graus23-Jul-07 23:42
protectorChristian Graus23-Jul-07 23:42 
GeneralRe: Variable Declaration Clarifications (Newbie) Pin
Colin Angus Mackay24-Jul-07 0:38
Colin Angus Mackay24-Jul-07 0:38 
JokeRe: Variable Declaration Clarifications (Newbie) Pin
Luc Pattyn24-Jul-07 2:22
sitebuilderLuc Pattyn24-Jul-07 2:22 
GeneralRe: Variable Declaration Clarifications (Newbie) Pin
frankiebaby224-Jul-07 0:19
frankiebaby224-Jul-07 0:19 
AnswerRe: Variable Declaration Clarifications (Newbie) Pin
Dave Kreskowiak24-Jul-07 4:16
mveDave Kreskowiak24-Jul-07 4:16 
GeneralRe: Variable Declaration Clarifications (Newbie) Pin
frankiebaby226-Jul-07 23:32
frankiebaby226-Jul-07 23:32 
Questionmaking a game using visual basic Pin
not insane yet!23-Jul-07 22:32
not insane yet!23-Jul-07 22:32 
AnswerRe: making a game using visual basic Pin
Christian Graus23-Jul-07 23:21
protectorChristian Graus23-Jul-07 23:21 
AnswerRe: making a game using visual basic Pin
Colin Angus Mackay23-Jul-07 23:22
Colin Angus Mackay23-Jul-07 23:22 
AnswerDo your own homework Pin
leckey24-Jul-07 3:02
leckey24-Jul-07 3:02 
Questiondisable a listbox item... Pin
shaz jazz23-Jul-07 22:13
shaz jazz23-Jul-07 22:13 
AnswerRe: disable a listbox item... Pin
kubben24-Jul-07 2:25
kubben24-Jul-07 2:25 
GeneralRe: disable a listbox item... Pin
shaz jazz26-Jul-07 22:18
shaz jazz26-Jul-07 22:18 
GeneralRe: disable a listbox item... Pin
kubben27-Jul-07 1:21
kubben27-Jul-07 1:21 
GeneralRe: disable a listbox item... Pin
shaz jazz27-Jul-07 2:11
shaz jazz27-Jul-07 2:11 

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.