469,642 Members | 1,261 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,642 developers. It's quick & easy.

Browse for Folders Dialog

DD
I have been on VBnet and used the Browse for Folders Dialog code, i
have two problems

1.Access keeps telling me that the Unload Me is an unknown.
2. What i really want is to open the dialog go to a folder then open
the folder and pick a file that is then placed in a textbox.

Any help please
Thanks
Nov 12 '05 #1
5 4024
VBNet is a great VB resource. "Unload Me" is great VB, but it isn't the way
we normally close forms in Access. Try the Browse for Folders code, that is
intended to work with Access, that you'll find at
http://www.mvps.org/access/api/api0002.htm. BTW, _The Access Web_,
http://www.mvps.org/access, is a great Access resource.

Larry Linson
Microsoft Access MVP

"DD" <da**********@bigpond.com.au> wrote in message
news:14**************************@posting.google.c om...
I have been on VBnet and used the Browse for Folders Dialog code, i
have two problems

1.Access keeps telling me that the Unload Me is an unknown.
2. What i really want is to open the dialog go to a folder then open
the folder and pick a file that is then placed in a textbox.

Any help please
Thanks

Nov 12 '05 #2
In article <14**************************@posting.google.com >,
da**********@bigpond.com.au (DD) writes:
I have been on VBnet and used the Browse for Folders Dialog code, i
have two problems

1.Access keeps telling me that the Unload Me is an unknown.
2. What i really want is to open the dialog go to a folder then open
the folder and pick a file that is then placed in a textbox.

Any help please
Thanks


Rather than use the code from VBNet, which is designed specifically for VB
(most of the code will work under Access, but may need a bit of tweaking where
VB differs from VBA), use the code that is on the Access Web. There is code for
the BrowseFolder API at http://www.mvps.org/access/api/api0002.htm, but also
there is the code for Widows File Open/Save dialog box, which appears to be
what you want, at http://www.mvps.org/access/api/api0001.htm.
--

Jon

www.applecore99.com - Access Tips and Tricks

Nov 12 '05 #3
"Larry Linson" <bo*****@localhost.not> wrote in message news:<DC*******************@nwrddc02.gnilink.net>. ..
VBNet is a great VB resource. "Unload Me" is great VB, but it isn't the way
we normally close forms in Access. Try the Browse for Folders code, that is
intended to work with Access, that you'll find at
http://www.mvps.org/access/api/api0002.htm. BTW, _The Access Web_,
http://www.mvps.org/access, is a great Access resource.

Larry Linson
Microsoft Access MVP

"DD" <da**********@bigpond.com.au> wrote in message
news:14**************************@posting.google.c om...
I have been on VBnet and used the Browse for Folders Dialog code, i
have two problems

1.Access keeps telling me that the Unload Me is an unknown.
2. What i really want is to open the dialog go to a folder then open
the folder and pick a file that is then placed in a textbox.

Any help please
Thanks

To All CDMA Participants Old and New:

I've recently accepted Jesus Christ as my personal savior. I want to
become a "new" Larry Linson. Therefore I'm repudiating this post and
all of my posts to CDMA over these many years. Those posts were the
work of the "old" Larry Linson. He was a liar and a deceiver.

To all of you who've supported me I can only say I'm sorry for letting
you down. To all of you whose work I've stolen I say I will never do
it again. And to those of you I've slandered or hurt in some way I
hope you'll find it in your heart to forgive me.

Respectfully Yours,
(The New) Larry Linson
Nov 12 '05 #4
Gee Larry, it looks as though, in addition to a new outlook, you got a new
ISP and a new anonymous account to post to this newsgroup. Maybe you should
be careful about making so many changes at one time, people might think it
isn't really you posting these messages.
Nov 12 '05 #5
"Randy Harris" <ra***@SpamFree.com> wrote:
Gee Larry, it looks as though, in addition to a new outlook, you got a new
ISP and a new anonymous account to post to this newsgroup. Maybe you should
be careful about making so many changes at one time, people might think it
isn't really you posting these messages.


<chuckle>

Tony

--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 12 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Eric Twietmeyer | last post: by
3 posts views Thread by William Foster | last post: by
6 posts views Thread by Kuldeep | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.