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

Visual Basic

 
AnswerRe: simulating a click on slelected item in a listbox Pin
CPallini7-Jan-07 20:29
mveCPallini7-Jan-07 20:29 
GeneralRe: simulating a click on slelected item in a listbox Pin
DannyHersh7-Jan-07 23:05
DannyHersh7-Jan-07 23:05 
QuestionObject variable or With block variable not set. Pin
thedom27-Jan-07 16:23
thedom27-Jan-07 16:23 
AnswerRe: Object variable or With block variable not set. Pin
Christian Graus7-Jan-07 16:52
protectorChristian Graus7-Jan-07 16:52 
Well, first of all, why do you want to create an array of all different types ? That kind of sucks.

Second, never use MsgBox, or any other things that exist only to make VB6 coders feel warm and fuzzy. Use the .NET stuff, such as MessageBox.Show. In this case, it doesn't matter much, but it's a good habit to get into.

Have you stepped through the code, to see what's happening ?


thedom2 wrote:
ObjArray = Nothing


If your array object is 'nothing', then it's not an array, is it ? You would do better to use a dynamic container such as ArrayList. Either way, if you want to have an array with 3 objects in it, you need to call new to create it. You've done the opposite, you've told the compiler that there's no memory to assign yet, and no object exists.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

GeneralRe: Object variable or With block variable not set. Pin
thedom27-Jan-07 17:15
thedom27-Jan-07 17:15 
GeneralRe: Object variable or With block variable not set. Pin
thedom27-Jan-07 18:23
thedom27-Jan-07 18:23 
GeneralRe: Object variable or With block variable not set. Pin
Christian Graus7-Jan-07 20:22
protectorChristian Graus7-Jan-07 20:22 
GeneralRe: Object variable or With block variable not set. Pin
CPallini7-Jan-07 20:50
mveCPallini7-Jan-07 20:50 
AnswerRe: Object variable or With block variable not set. [modified] Pin
Walter_H8-Jan-07 1:55
Walter_H8-Jan-07 1:55 
GeneralRe: Object variable or With block variable not set. Pin
thedom28-Jan-07 20:41
thedom28-Jan-07 20:41 
Questionabout Stream and seek operations! Pin
dSolariuM7-Jan-07 9:59
dSolariuM7-Jan-07 9:59 
AnswerRe: about Stream and seek operations! Pin
Ed.Poore7-Jan-07 12:08
Ed.Poore7-Jan-07 12:08 
QuestionLaunch a vb.net application from “Windows Explorer” context menu. Pin
R Britz7-Jan-07 9:08
R Britz7-Jan-07 9:08 
Questiondata is not saved to sql2005 in vb.net2005 Pin
ramugaru7-Jan-07 4:55
ramugaru7-Jan-07 4:55 
AnswerRe: data is not saved to sql2005 in vb.net2005 Pin
Ed.Poore7-Jan-07 6:12
Ed.Poore7-Jan-07 6:12 
QuestionWebBrowser VB.NET Pin
imatureStudent7-Jan-07 1:01
imatureStudent7-Jan-07 1:01 
AnswerRe: WebBrowser VB.NET Pin
MatrixCoder7-Jan-07 6:24
MatrixCoder7-Jan-07 6:24 
AnswerRe: WebBrowser VB.NET Pin
tmaxwell077-Jan-07 6:51
tmaxwell077-Jan-07 6:51 
GeneralRe: WebBrowser VB.NET Pin
imatureStudent8-Jan-07 3:15
imatureStudent8-Jan-07 3:15 
QuestionVisual Basic declaring of Variables Pin
Cereel6-Jan-07 20:56
Cereel6-Jan-07 20:56 
AnswerRe: Visual Basic declaring of Variables Pin
CPallini6-Jan-07 22:16
mveCPallini6-Jan-07 22:16 
AnswerRe: Visual Basic declaring of Variables Pin
Christian Graus6-Jan-07 22:39
protectorChristian Graus6-Jan-07 22:39 
AnswerRe: Visual Basic declaring of Variables Pin
WillemM8-Jan-07 7:35
WillemM8-Jan-07 7:35 
QuestionDifference b/w VB.NET & C# Pin
Rahithi6-Jan-07 17:46
Rahithi6-Jan-07 17:46 
AnswerRe: Difference b/w VB.NET & C# Pin
MatrixCoder6-Jan-07 18:04
MatrixCoder6-Jan-07 18: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.