Click here to Skip to main content
16,004,974 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionform is opened or not in vb.net 2005 Pin
amaneet14-Dec-06 19:55
amaneet14-Dec-06 19:55 
AnswerRe: form is opened or not in vb.net 2005 Pin
Dave Kreskowiak15-Dec-06 4:29
mveDave Kreskowiak15-Dec-06 4:29 
GeneralRe: form is opened or not in vb.net 2005 Pin
codemunkeh15-Dec-06 6:24
codemunkeh15-Dec-06 6:24 
GeneralRe: form is opened or not in vb.net 2005 Pin
Dave Kreskowiak15-Dec-06 6:46
mveDave Kreskowiak15-Dec-06 6:46 
GeneralRe: form is opened or not in vb.net 2005 Pin
amaneet15-Dec-06 21:01
amaneet15-Dec-06 21:01 
Questioncrystal; reports in vb.net Pin
amaneet14-Dec-06 18:45
amaneet14-Dec-06 18:45 
GeneralRe: crystal; reports in vb.net Pin
Paul Conrad24-Dec-07 11:44
professionalPaul Conrad24-Dec-07 11:44 
Questiondeclare an array of structures Pin
Tom Wright14-Dec-06 15:48
Tom Wright14-Dec-06 15:48 
How would I declare and array of structure so that it's visible in my class.
This is in my declaration section
Structure passenger
Public passName As String
Public passAdd As String
Public passPhone As String
Public SeatNum As String
End Structure

Public passengers(15) As passenger

When I try to access passengers(0).passName in a sub, I get an error that says "Object reference not set to an instance of an object."
So how do I declare it so that my whole class can see it?

Thanks


Tom Wright
tawright915@gmail.com

AnswerRe: declare an array of structures Pin
Guffa14-Dec-06 16:17
Guffa14-Dec-06 16:17 
GeneralRe: declare an array of structures Pin
Tom Wright15-Dec-06 7:10
Tom Wright15-Dec-06 7:10 
AnswerRe: declare an array of structures Pin
Dave Kreskowiak14-Dec-06 17:05
mveDave Kreskowiak14-Dec-06 17:05 
GeneralRe: declare an array of structures Pin
Paul Conrad14-Dec-06 18:28
professionalPaul Conrad14-Dec-06 18:28 
QuestionQuestion About Transparency Pin
Bso_Cool14-Dec-06 14:59
Bso_Cool14-Dec-06 14:59 
AnswerRe: Question About Transparency Pin
Amit Kushwaha14-Dec-06 16:53
Amit Kushwaha14-Dec-06 16:53 
GeneralRe: Question About Transparency Pin
Bso_Cool15-Dec-06 9:04
Bso_Cool15-Dec-06 9:04 
QuestionSend mouseclick to specific window Pin
Lennard Fonteijn14-Dec-06 11:26
Lennard Fonteijn14-Dec-06 11:26 
AnswerRe: need help with "OleDbException was unhandled - not a valid password" Pin
Dave Kreskowiak14-Dec-06 10:00
mveDave Kreskowiak14-Dec-06 10:00 
GeneralRe: need help with "OleDbException was unhandled - not a valid password" Pin
vbbeg14-Dec-06 10:54
vbbeg14-Dec-06 10:54 
GeneralRe: need help with "OleDbException was unhandled - not a valid password" Pin
Dave Kreskowiak14-Dec-06 16:57
mveDave Kreskowiak14-Dec-06 16:57 
Questionhelp help help Pin
gaigoi11314-Dec-06 6:54
gaigoi11314-Dec-06 6:54 
AnswerRe: help help help Pin
Dave Kreskowiak14-Dec-06 9:36
mveDave Kreskowiak14-Dec-06 9:36 
GeneralRe: help help help Pin
Paul Conrad14-Dec-06 12:01
professionalPaul Conrad14-Dec-06 12:01 
GeneralRe: help help help Pin
gaigoi11315-Dec-06 10:32
gaigoi11315-Dec-06 10:32 
QuestionAre arrays of objects possible ? Pin
Geoff_300114-Dec-06 5:59
Geoff_300114-Dec-06 5:59 
AnswerRe: Are arrays of objects possible ? Pin
Kevin Nicol14-Dec-06 6:56
Kevin Nicol14-Dec-06 6:56 

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.