Click here to Skip to main content
15,881,588 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionloop through VBA Pin
Rohit Lal25-Apr-16 23:29
Rohit Lal25-Apr-16 23:29 
AnswerRe: loop through VBA Pin
Richard MacCutchan25-Apr-16 23:43
mveRichard MacCutchan25-Apr-16 23:43 
GeneralRe: loop through VBA Pin
Rohit Lal26-Apr-16 0:53
Rohit Lal26-Apr-16 0:53 
GeneralRe: loop through VBA Pin
Richard MacCutchan26-Apr-16 1:52
mveRichard MacCutchan26-Apr-16 1:52 
AnswerRe: loop through VBA Pin
Sonhospa26-Apr-16 2:21
Sonhospa26-Apr-16 2:21 
QuestionHow to sort already filtered gridview data? The data is sorted but the sorting sort the whole data instead in the range that was set by the filter. Thanks in advance. Pin
Member 1247499425-Apr-16 21:15
Member 1247499425-Apr-16 21:15 
SuggestionRe: How to sort already filtered gridview data? The data is sorted but the sorting sort the whole data instead in the range that was set by the filter. Thanks in advance. Pin
Richard MacCutchan25-Apr-16 21:47
mveRichard MacCutchan25-Apr-16 21:47 
QuestionWhat does "GetFiles" do in system directories? Pin
Sonhospa25-Apr-16 1:14
Sonhospa25-Apr-16 1:14 
Hello,

I have a funny question which arises from the effects I recognize in a sample app.

At a certain point the sample app reads the files of a directory into an array. Since the path to "System32" was anyway pre-set in the sample, I realized the array gets filled with 2560 strings in the array - despite of more than 5000 files in that directory. After changing the path to another Windows directory ("System"), the array again filled with 2560 files only... No error in both cases. Then I changed the path to a different directory (holding approx. 6000 files), and the "GetFiles" array got filled with exactly the number of files existing.

I tried this several times with other directories, and it seems that everything works (i.e. reads and counts) fine as long as the path isn't a system directory. Is this behaviour normal? Or what else might be going on?

Thank you for any insights
Mick
AnswerRe: What does "GetFiles" do in system directories? Pin
Richard Deeming25-Apr-16 2:01
mveRichard Deeming25-Apr-16 2:01 
GeneralRe: What does "GetFiles" do in system directories? Pin
Sonhospa25-Apr-16 2:46
Sonhospa25-Apr-16 2:46 
AnswerRe: What does "GetFiles" do in system directories? Pin
Bernhard Hiller25-Apr-16 22:12
Bernhard Hiller25-Apr-16 22:12 
GeneralRe: What does "GetFiles" do in system directories? Pin
Sonhospa26-Apr-16 3:23
Sonhospa26-Apr-16 3:23 
AnswerRe: What does "GetFiles" do in system directories? Pin
Sonhospa26-Apr-16 4:16
Sonhospa26-Apr-16 4:16 
QuestionUpdate UI of MDI Parent Pin
Sonhospa25-Apr-16 0:49
Sonhospa25-Apr-16 0:49 
QuestionVBScript DeleteFolder method cannot delete folders under System32 on Win 8.1 Pin
robwm121-Apr-16 10:36
robwm121-Apr-16 10:36 
AnswerRe: VBScript DeleteFolder method cannot delete folders under System32 on Win 8.1 Pin
Dave Kreskowiak21-Apr-16 14:31
mveDave Kreskowiak21-Apr-16 14:31 
AnswerRe: VBScript DeleteFolder method cannot delete folders under System32 on Win 8.1 Pin
Sonhospa25-Apr-16 0:59
Sonhospa25-Apr-16 0:59 
QuestionHow can i make the official VB.net TCP async Example work ?! Pin
Ghassan Mohamed Yousif20-Apr-16 23:53
Ghassan Mohamed Yousif20-Apr-16 23:53 
AnswerRe: How can i make the official VB.net TCP async Example work ?! Pin
Dave Kreskowiak21-Apr-16 2:09
mveDave Kreskowiak21-Apr-16 2:09 
GeneralRe: How can i make the official VB.net TCP async Example work ?! Pin
Ghassan Mohamed Yousif22-Apr-16 9:45
Ghassan Mohamed Yousif22-Apr-16 9:45 
GeneralRe: How can i make the official VB.net TCP async Example work ?! Pin
Dave Kreskowiak22-Apr-16 15:57
mveDave Kreskowiak22-Apr-16 15:57 
QuestionConversion from string "" to type 'Integer' is not valid Pin
kishore-201620-Apr-16 1:46
kishore-201620-Apr-16 1:46 
AnswerRe: Conversion from string "" to type 'Integer' is not valid Pin
Richard MacCutchan20-Apr-16 2:02
mveRichard MacCutchan20-Apr-16 2:02 
AnswerRe: Conversion from string "" to type 'Integer' is not valid Pin
Sascha Lefèvre20-Apr-16 2:29
professionalSascha Lefèvre20-Apr-16 2:29 
AnswerRe: Conversion from string "" to type 'Integer' is not valid Pin
CHill6020-Apr-16 2:37
mveCHill6020-Apr-16 2:37 

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.