SunQuest
 
           Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

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 ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old August 18th, 2004, 07:55 PM
IdeaMan IdeaMan is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 1 IdeaMan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Drag and Drop from Windows Explorer to copy files from 1 dir to 2n

Windows 2000
Access 97
I am working on an issue tracking DB, where I need to link (not attach due to size) screen prints of various system errors.


I have created a public folder on a network drive to store these images, under the assumption that no one will originally save them to that location.
To resolve this, I need to copy the file to this location without possibility of user error in selecting the correct folder (the DB is to be used by many people spanning a great distance). I am using the "API: Drag and Drop from Explorer" code found at http://www.mvps.org/access/api/api0032.htm and have successfully implemented it, where it displays the full local/original path to the file in the listbox on the form you create to house the code.

This is a perfect (and user friendly) interface to select the file itself and even allows me to record the original path to where the file was saved, but have been unable to find a way to pass this file name/path to a FileCopy command or even the ahtCommonFileOpenSave dialog box.


Am I overlooking any better, simpler, or more efficient way of doing this-or is it even possible? Out of frustration, the code that I have been experimenting with has become rather incomprehensible so I did not post it with this message. I have searched newsgroups high and low for a solution over the last few days and in turn have said goodbye to a few more hairs on my head. Any help or examples anyone could provide would be greatly appreciated as I need to resolve this issue quickly and it would also help me better understand how Access code works.



Thanks!

Michael

Reply With Quote
  #2  
Old August 18th, 2004, 08:37 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 18 h 33 m 48 sec
Reputation Power: 180
If you format your question with sentences and line breaks, and not in boldface, you might find more people will be able to read your question easily. I couldn't process your question myself.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Drag and Drop from Windows Explorer to copy files from 1 dir to 2n


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 5 hosted by Hostway