Enhancements to GetFile() and PutFile()
Posted: Thu Dec 18, 2014 9:41 pm
Hi Kevin,
I have one doubt. At first parameter we need to inform a acFilter as array. You make some changing for nIndex that it will index into the filter array. But tell me if I put in my order this array, should it be quite the same propose ?
I have another question about 3rd parameter of GetFile, which is a simple variable. But if we have an array (with different kind of files) should it be this 3rd parameter an array too ? Because I wish to have different default positioning for each kind of files. It would not seem as normal and appropriate that idea ? I.e. accepting as array too ?
I do not want to blame you (how could I do it ?) only because you were the author of this topic. But taking advantage of the title/subject I would like to make one more observation:
Actually the 3rd parameter for GetFile (cDefaultPath) is needed to add this +"\" (backslash at final of path). IMHO, should NOT be like this (for example):
cDefaultPath := "C:\Program Files\Notepad++"+"\"
In the normal use should it be like this:
cDefaultPath := "C:\Program Files\Notepad++"
All these my comment, is just my observations. If I am wrong or you considere right, please comment. The final goal is to improve resources.
I have one doubt. At first parameter we need to inform a acFilter as array. You make some changing for nIndex that it will index into the filter array. But tell me if I put in my order this array, should it be quite the same propose ?
I have another question about 3rd parameter of GetFile, which is a simple variable. But if we have an array (with different kind of files) should it be this 3rd parameter an array too ? Because I wish to have different default positioning for each kind of files. It would not seem as normal and appropriate that idea ? I.e. accepting as array too ?
I do not want to blame you (how could I do it ?) only because you were the author of this topic. But taking advantage of the title/subject I would like to make one more observation:
Actually the 3rd parameter for GetFile (cDefaultPath) is needed to add this +"\" (backslash at final of path). IMHO, should NOT be like this (for example):
cDefaultPath := "C:\Program Files\Notepad++"+"\"
In the normal use should it be like this:
cDefaultPath := "C:\Program Files\Notepad++"
All these my comment, is just my observations. If I am wrong or you considere right, please comment. The final goal is to improve resources.
