Click here to Skip to main content
15,895,011 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Formatting question Pin
Johan Hakkesteegt25-Sep-08 0:57
Johan Hakkesteegt25-Sep-08 0:57 
AnswerRe: Formatting question Pin
Sonhospa25-Sep-08 1:37
Sonhospa25-Sep-08 1:37 
QuestionFile Counting in VB Pin
Sonhospa22-Sep-08 11:23
Sonhospa22-Sep-08 11:23 
AnswerRe: File Counting in VB Pin
Gagan.2023-Sep-08 1:10
Gagan.2023-Sep-08 1:10 
GeneralRe: File Counting in VB Pin
Sonhospa23-Sep-08 1:42
Sonhospa23-Sep-08 1:42 
GeneralRe: File Counting in VB Pin
Dave Kreskowiak23-Sep-08 2:02
mveDave Kreskowiak23-Sep-08 2:02 
NewsRe: File Counting in VB Pin
Sonhospa23-Sep-08 2:07
Sonhospa23-Sep-08 2:07 
NewsRe: File Counting in VB [modified] Pin
Sonhospa23-Sep-08 3:01
Sonhospa23-Sep-08 3:01 
Where's the smiley showing it's head bangin' on the wall??? Now I'm lost again: After implementing your suggestion in my code, "count" just delivers a 0 value and I have no idea why!

Could you be so kind as to have a look on my whole loop?
EDIT: Code deleted.

It must be a big tomato that I have on my eyes...

EDIT: I saw it finally Laugh | :laugh: ... a simple interference with the variable name "count" which was already used public. That's how the hours go WTF | :WTF:

Still your code suggestion only counted to 1 for every folder/subfolder Confused | :confused: , so I used
files = My.Computer.FileSystem.GetFiles(obj).Count
instead of "for...next" now. The counting results are correct. And with "files" as an integer I think I reduced the unnecessary list overhead, too Cool | :cool:

Thanks for the inspiration!

modified on Tuesday, September 23, 2008 1:19 PM

QuestionAccessing the "this" pointer Pin
Eric Burns22-Sep-08 10:18
Eric Burns22-Sep-08 10:18 
AnswerRe: Accessing the "this" pointer Pin
Adam Maras22-Sep-08 10:30
Adam Maras22-Sep-08 10:30 
AnswerRe: Accessing the "this" pointer Pin
Paul Conrad22-Sep-08 14:25
professionalPaul Conrad22-Sep-08 14:25 
QuestionIs it possible to retrieve the GUID for a .dll based on the name only? Pin
Jon_Boy22-Sep-08 5:00
Jon_Boy22-Sep-08 5:00 
AnswerRe: Is it possible to retrieve the GUID for a .dll based on the name only? Pin
Jon_Boy22-Sep-08 8:28
Jon_Boy22-Sep-08 8:28 
GeneralRe: Is it possible to retrieve the GUID for a .dll based on the name only? Pin
Dave Kreskowiak22-Sep-08 8:52
mveDave Kreskowiak22-Sep-08 8:52 
GeneralRe: Is it possible to retrieve the GUID for a .dll based on the name only? Pin
Jon_Boy22-Sep-08 13:37
Jon_Boy22-Sep-08 13:37 
QuestionPrinting text file in vb.net - Formatting issue Pin
kedarrkulkarni22-Sep-08 2:36
kedarrkulkarni22-Sep-08 2:36 
AnswerRe: Printing text file in vb.net - Formatting issue Pin
kedarrkulkarni22-Sep-08 2:40
kedarrkulkarni22-Sep-08 2:40 
GeneralRe: Printing text file in vb.net - Formatting issue Pin
Thomas Stockwell22-Sep-08 6:12
professionalThomas Stockwell22-Sep-08 6:12 
GeneralRe: Printing text file in vb.net - Formatting issue Pin
kedarrkulkarni22-Sep-08 19:45
kedarrkulkarni22-Sep-08 19:45 
GeneralRe: Printing text file in vb.net - Formatting issue Pin
kedarrkulkarni23-Sep-08 1:35
kedarrkulkarni23-Sep-08 1:35 
GeneralRe: Printing text file in vb.net - Formatting issue Pin
Dave Kreskowiak23-Sep-08 1:58
mveDave Kreskowiak23-Sep-08 1:58 
GeneralRe: Printing text file in vb.net - Formatting issue Pin
kedarrkulkarni23-Sep-08 3:31
kedarrkulkarni23-Sep-08 3:31 
GeneralRe: Printing text file in vb.net - Formatting issue Pin
Dave Kreskowiak23-Sep-08 6:56
mveDave Kreskowiak23-Sep-08 6:56 
GeneralRe: Printing text file in vb.net - Formatting issue Pin
kedarrkulkarni23-Sep-08 20:51
kedarrkulkarni23-Sep-08 20:51 
GeneralRe: Printing text file in vb.net - Formatting issue Pin
Dave Kreskowiak24-Sep-08 1:43
mveDave Kreskowiak24-Sep-08 1:43 

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.