PDA

View Full Version : Solved: Need the Browse window!



Digger
02-09-2005, 11:29 AM
Ok so I'm writing a database application that imports a flatfile from a mainframe. I am using a module to import the text file and then I rip it apart and enter the data I need into the table. Rather than define a specific location for the file in the code or have an input box pop up I want to use the Open dialog box to get the user to point to where they placed the flat file they downloaded.:think:

I have done this in VB applications in the past but my vb books are not in the office and my brain is just not working..

As soon as I see it I'll smack my head and go duh!..:banghead:

But any help would be appreciated!
:hi:

Jacob Hilderbrand
02-09-2005, 03:23 PM
Try these methods.

API Method (http://www.vbaexpress.com/kb/getarticle.php?kb_id=246)

Shell Object Method (http://www.vbaexpress.com/kb/getarticle.php?kb_id=284)

Digger
02-10-2005, 06:42 AM
Doh! :banghead:
Sad part is I said the same thing when I went home and looked at my last app. Thanks

Jacob Hilderbrand
02-10-2005, 03:24 PM
You're Welcome :beerchug:

Take Care