File selector

aca00js

Registered User.
Local time
Today, 13:48
Joined
May 7, 2003
Messages
14
How do I get a file selector(the file browers that opens when you try to save or load files) to load when I click a button. This is to allow the user to select the location of the CSV file they what to load on ther sytem

Thanks.
 
Like a dollar for every time this has been posted :rolleyes:


HTH


Brad.
 

Attachments

where do type definitions belong?

Hi there!

I got your code and it works fine :) Thanks for that! The documentation on MSDN definitely isn't nearly as helpful :)

However, I'm having a problem trying to put the code for the OPENFILENAME type definition in a place where a button on my form will recognise the definition. Placing it in the form code produces errors (as apparently type definitions aren't meant to be in with form code), but if I try putting the definition with all the module code I get a 'user-defined type not defined'. My code is structured so that I have just one module, and then many forms. What am I doing wrong? Could I just place this one form in its own module like you've done with your example? If so, would this cause any issues with accessing parts of the other module?

Sorry to be such a pain, I hope somebody can help! I don't think it sounds _too_ difficult ;)


Thanks
 

Users who are viewing this thread

Back
Top Bottom