Click here to Skip to main content
16,006,822 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: fileinfo to string?? Pin
Christian Graus13-Sep-06 11:57
protectorChristian Graus13-Sep-06 11:57 
AnswerRe: fileinfo to string?? Pin
Gideon Engelberth13-Sep-06 15:27
Gideon Engelberth13-Sep-06 15:27 
AnswerRe: fileinfo to string?? Pin
manish2414-Sep-06 0:49
manish2414-Sep-06 0:49 
AnswerRe: fileinfo to string?? Pin
manish2414-Sep-06 0:52
manish2414-Sep-06 0:52 
QuestionHow to determine an array is empty in VBA Pin
mmhu13-Sep-06 4:27
mmhu13-Sep-06 4:27 
AnswerRe: How to determine an array is empty in VBA Pin
Dave Kreskowiak14-Sep-06 6:27
mveDave Kreskowiak14-Sep-06 6:27 
GeneralRe: How to determine an array is empty in VBA Pin
mmhu14-Sep-06 15:26
mmhu14-Sep-06 15:26 
GeneralRe: How to determine an array is empty in VBA Pin
Dave Kreskowiak14-Sep-06 17:24
mveDave Kreskowiak14-Sep-06 17:24 
"Empty" can be different things. If the variable is not declared an array, or if the variable is declared an array but has no elements, and it can be declared an array and have empty elements.

It depends on the call that's creating the array. You just have to test it to find out.

IsArray will tell you if the variable is declared as an array, but that's it. If that test passes, then you can check its UBound. If it's greater than 0, the array has elements. After that, you check the value of the first element to see if that value is valid.


Dave Kreskowiak
Microsoft MVP - Visual Basic


AnswerRe: How to determine an array is empty in VBA Pin
Coding C#15-Sep-06 22:23
Coding C#15-Sep-06 22:23 
Questionfileinfo to string?? Pin
Silver-Grey13-Sep-06 4:19
Silver-Grey13-Sep-06 4:19 
Questionhow to get Treeview and Textbox together Pin
jeevim13-Sep-06 4:10
jeevim13-Sep-06 4:10 
AnswerRe: how to get Treeview and Textbox together Pin
Dave Kreskowiak14-Sep-06 6:29
mveDave Kreskowiak14-Sep-06 6:29 
QuestionGlobal variables across 2 forms Pin
steve_rm13-Sep-06 4:06
steve_rm13-Sep-06 4:06 
AnswerRe: Global variables across 2 forms Pin
Christian Graus13-Sep-06 11:58
protectorChristian Graus13-Sep-06 11:58 
AnswerRe: Global variables across 2 forms Pin
tanya foster14-Sep-06 4:22
tanya foster14-Sep-06 4:22 
QuestionShoutcast project urgent help required Pin
tarunjain2004407113-Sep-06 3:57
tarunjain2004407113-Sep-06 3:57 
Questionapplication that send's a mail Pin
locaas13-Sep-06 3:06
locaas13-Sep-06 3:06 
AnswerRe: application that send's a mail Pin
Christian Graus13-Sep-06 12:02
protectorChristian Graus13-Sep-06 12:02 
QuestionAbout maximizing the forms into the task bar. Pin
ravindra_p13-Sep-06 0:58
ravindra_p13-Sep-06 0:58 
AnswerRe: About maximizing the forms into the task bar. Pin
Tushar Kothari13-Sep-06 3:47
Tushar Kothari13-Sep-06 3:47 
QuestionProblem in opening Cash Drawer in VB.NET Pin
V Senthil12-Sep-06 23:19
V Senthil12-Sep-06 23:19 
AnswerRe: Problem in opening Cash Drawer in VB.NET Pin
Christian Graus13-Sep-06 12:03
protectorChristian Graus13-Sep-06 12:03 
GeneralRe: Problem in opening Cash Drawer in VB.NET Pin
V Senthil13-Sep-06 19:53
V Senthil13-Sep-06 19:53 
GeneralRe: Problem in opening Cash Drawer in VB.NET Pin
Dave Kreskowiak14-Sep-06 6:04
mveDave Kreskowiak14-Sep-06 6:04 
Questionhow to pass parameter from my windows form to cyrstal report that depend on sql stored procedure Pin
ravihd12-Sep-06 22:34
ravihd12-Sep-06 22:34 

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.