Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 21st, 2003, 10:30 PM
Aaron77 Aaron77 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 31 Aaron77 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 2 m 39 sec
Reputation Power: 7
access 2002 save as dialogue

hi,

I wish to run some code after clicking a button in an access database that displays a file browser type of dialogue.
when prompted the user is able to select various locations to
backup the current database...ie browsing through network places, my computer, floppy or usb thumb drives etc.
just like a normal save as dialogue box.

how can i accomplish this using vba code?

...any thoughts or suggestions would be greatly appreciated.

Regards,

Aaron.

Reply With Quote
  #2  
Old September 23rd, 2003, 06:43 AM
psim psim is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 psim User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
try

Code:
Dim dlgSaveAs As FileDialog
Set dlgSaveAs = Application.FileDialog(msoFileDialogSaveAs)
dlgSaveAs.Show


You need to include the right libraries for this to work and I don't know which those are. There is also a more complicated way to open a file save/load dialog by calling functions from comdlg32.dll.

Pascal

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > access 2002 save as dialogue


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway