B
bobby
Wanting to browse for a file I included code to call the "GetOpenFileNameA"
in the "comdlg32.dll" and wrapped it in a class.
It works but there is just one little annoying downside. When I use the
object (make API call) it always goes fine the first time. However, it seems
to be ignored on all subsequent calls. An exception to the rule that I
cannot make subsequent calls is when I press "Cancel" instead of "Open" on
the common dialog.
But it is not stringent like this.
I do set the object to Nothing after use and declarations are all made
public in a module.
I should add that I am no expert in API programming and the code was found
on the internet. (Wrapping in a class my idea, though) But it seems pretty
straight forward; populate a data structure and make the call.
Any ideas???
Help would much appreciated.
in the "comdlg32.dll" and wrapped it in a class.
It works but there is just one little annoying downside. When I use the
object (make API call) it always goes fine the first time. However, it seems
to be ignored on all subsequent calls. An exception to the rule that I
cannot make subsequent calls is when I press "Cancel" instead of "Open" on
the common dialog.
But it is not stringent like this.
I do set the object to Nothing after use and declarations are all made
public in a module.
I should add that I am no expert in API programming and the code was found
on the internet. (Wrapping in a class my idea, though) But it seems pretty
straight forward; populate a data structure and make the call.
Any ideas???
Help would much appreciated.