PC Review


Reply
Thread Tools Rate Thread

FileCopy Problem in Access 2002

 
 
John Lane
Guest
Posts: n/a
 
      8th Nov 2003
Has this function been removed in Access 2002, Service
Pack 7? Is anyone using it in Service Pack 7?
 
Reply With Quote
 
 
 
 
Wayne Morgan
Guest
Posts: n/a
 
      8th Nov 2003
Huh???

The only SP7 I know about for Access 2002 is the Jet4 SP7. The command you want is a VBA
command. What are you attempting to do? There have been some reports of security not
letting certain VBA commands run from within queries (and I believe that most of those
were SP8 related), but FileCopy wouldn't normally be run from within a query.

--
Wayne Morgan
Microsoft Access MVP


"John Lane" <(E-Mail Removed)> wrote in message
news:07ec01c3a5fd$8e6a0e90$(E-Mail Removed)...
> Has this function been removed in Access 2002, Service
> Pack 7? Is anyone using it in Service Pack 7?



 
Reply With Quote
 
Guest
Posts: n/a
 
      9th Nov 2003
That's what I thought, and these are NOT running within a
query. There is a Knowledge Base article (294698)that
indicates that they are prohibited altoghether, but like
many of these artilces, it's poorly writtens so I can't
tell if it is related to within a query or not. Also, it
seems Sandbox related, but once againt the function is
just a plain old call from within a module. So I was
trying to find out if anyone had trouble running FileCopy
(or anything else in the list for SP7 prohibited functions
under any circumdstance.

I am beginning to suspect the customer is the culprit.
They are "locking down" the "c:" drive, and I suspect they
have monkeyed with the execute permissions on some dll.
Would have any idea what the dll is that supports
FileCopy, and Kill (another one that wont' work), but
Environ works, which is ont he SP7 list.
>-----Original Message-----
>Huh???
>
>The only SP7 I know about for Access 2002 is the Jet4

SP7. The command you want is a VBA
>command. What are you attempting to do? There have been

some reports of security not
>letting certain VBA commands run from within queries (and

I believe that most of those
>were SP8 related), but FileCopy wouldn't normally be run

from within a query.
>
>--
>Wayne Morgan
>Microsoft Access MVP
>
>
>"John Lane" <(E-Mail Removed)> wrote

in message
>news:07ec01c3a5fd$8e6a0e90$(E-Mail Removed)...
>> Has this function been removed in Access 2002, Service
>> Pack 7? Is anyone using it in Service Pack 7?

>
>
>.
>

 
Reply With Quote
 
Wayne Morgan
Guest
Posts: n/a
 
      10th Nov 2003
> They are "locking down" the "c:" drive, and I suspect they
> have monkeyed with the execute permissions on some dll.


I've seen that one too many times. It's usually not worth trying to figure out what
they've done is this is the case, reformat and start over.

There have been some reports of the security not working properly with Access 2003 and Jet
4 SP7, upgrading to SP8 tends to relieve those problems. SP8 should be available via
Windows Update. The "sandbox mode" in the help file clearly states that the protection is
for commands called from within a query or entered directly into an event instead of
<Event Procedure>, but that code in a VBA module should not be affected. Before you dig
too deeply, make sure the References haven't gotten messed up. In a code window, go to
Tools|References and make sure the appropriate ones are checked and that none are listed
as Missing.

--
Wayne Morgan
Microsoft Access MVP


<(E-Mail Removed)> wrote in message
news:05bb01c3a6cc$bcc14db0$(E-Mail Removed)...
> That's what I thought, and these are NOT running within a
> query. There is a Knowledge Base article (294698)that
> indicates that they are prohibited altoghether, but like
> many of these artilces, it's poorly writtens so I can't
> tell if it is related to within a query or not. Also, it
> seems Sandbox related, but once againt the function is
> just a plain old call from within a module. So I was
> trying to find out if anyone had trouble running FileCopy
> (or anything else in the list for SP7 prohibited functions
> under any circumdstance.
>
> I am beginning to suspect the customer is the culprit.
> They are "locking down" the "c:" drive, and I suspect they
> have monkeyed with the execute permissions on some dll.
> Would have any idea what the dll is that supports
> FileCopy, and Kill (another one that wont' work), but
> Environ works, which is ont he SP7 list.



 
Reply With Quote
 
 
 
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FileCopy - Access Denied Rose B Microsoft Access VBA Modules 6 30th Jan 2009 06:52 PM
Access 2002 English vs. Access 2002 Hebrew - problem running code =?Utf-8?B?Zm9q?= Microsoft Access Getting Started 3 16th Jun 2006 05:17 AM
FileCopy Problem rdemyan via AccessMonster.com Microsoft Access Form Coding 9 30th Apr 2006 06:16 AM
FileCopy Problem Vlad Microsoft Access Form Coding 4 24th Apr 2006 08:16 PM
FileCopy Problem Alan Microsoft Access VBA Modules 5 12th Aug 2003 12:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:34 PM.