Click here to Skip to main content
15,897,371 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Password and login Pin
Steve Pullan20-Apr-06 14:01
Steve Pullan20-Apr-06 14:01 
AnswerRe: Password and login Pin
darkelv20-Apr-06 15:21
darkelv20-Apr-06 15:21 
QuestionMove Two WinForm at the same time Pin
Phoen2520-Apr-06 12:44
Phoen2520-Apr-06 12:44 
AnswerRe: Move Two WinForm at the same time Pin
Yuvi Panda20-Apr-06 16:48
Yuvi Panda20-Apr-06 16:48 
GeneralRe: Move Two WinForm at the same time Pin
Phoen2525-Apr-06 5:13
Phoen2525-Apr-06 5:13 
QuestionGeneral Programming Question Pin
Sigfried20-Apr-06 11:17
Sigfried20-Apr-06 11:17 
QuestionRunning as app on a pda Pin
dptalt20-Apr-06 9:18
dptalt20-Apr-06 9:18 
QuestionArray of an Object Pin
codeamin20-Apr-06 6:08
codeamin20-Apr-06 6:08 
Hello there,

I have a Requirement class. I wanted to instantiate a number of objects of the same class. So I created a array of Requirement object. Here is what I had:
<br />
dim req() as Requirements<br />
<br />
Private sub CreateRequirements(num as Integer)<br />
for i as integer=0 to num<br />
req(i) = new Requirements<br />
next<br />
<br />
end sub<br />


Above code gives an error like "Object reference not set to an instance of an object". Can someone help me out?

Thank you,

Bashar Amin
Sr. Software Engineer
AnswerRe: Array of an Object Pin
MohammadAmiry20-Apr-06 7:01
MohammadAmiry20-Apr-06 7:01 
GeneralRe: Array of an Object Pin
codeamin20-Apr-06 9:45
codeamin20-Apr-06 9:45 
GeneralRe: Array of an Object Pin
Qhalis20-Apr-06 14:59
Qhalis20-Apr-06 14:59 
AnswerRe: Array of an Object Pin
AhClem21-Apr-06 2:49
AhClem21-Apr-06 2:49 
QuestionMS Word app with VB Pin
codeamin20-Apr-06 5:59
codeamin20-Apr-06 5:59 
QuestionPrinting Pin
aWaLsH52320-Apr-06 5:37
aWaLsH52320-Apr-06 5:37 
Questionfile parsing Pin
sadoo198220-Apr-06 5:22
sadoo198220-Apr-06 5:22 
Questionusing datagrid functionalities in osome other page Pin
harshsachdev20-Apr-06 5:14
harshsachdev20-Apr-06 5:14 
QuestionWriting code for a scanner that will use access cards Pin
matjame20-Apr-06 4:58
matjame20-Apr-06 4:58 
AnswerRe: Writing code for a scanner that will use access cards Pin
J4amieC20-Apr-06 5:57
J4amieC20-Apr-06 5:57 
Questionfull path ?? for graphic file Pin
Jirikub20-Apr-06 4:37
Jirikub20-Apr-06 4:37 
AnswerRe: full path ?? for graphic file Pin
J4amieC20-Apr-06 4:53
J4amieC20-Apr-06 4:53 
GeneralRe: full path ?? for graphic file Pin
Jirikub20-Apr-06 5:33
Jirikub20-Apr-06 5:33 
GeneralRe: full path ?? for graphic file Pin
J4amieC20-Apr-06 5:54
J4amieC20-Apr-06 5:54 
QuestionIs there any alternative for doevent Pin
Sushmadm20-Apr-06 4:27
Sushmadm20-Apr-06 4:27 
AnswerRe: Is there any alternative for doevent Pin
J4amieC20-Apr-06 4:51
J4amieC20-Apr-06 4:51 
GeneralRe: Is there any alternative for doevent Pin
Sushmadm24-Apr-06 20:07
Sushmadm24-Apr-06 20:07 

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.