VBA: Filecopy invalid procedure call or argument on Win NT workstation 
Author Message
 VBA: Filecopy invalid procedure call or argument on Win NT workstation

Hi! I have an Access 97 application using Filecopy in Windows 95 to copy
file
to a URL.  It works fine.  However, when this same application runs in Win
NT 4.0
workstation, it dies on Filecopy "Invalid Procedure call or argument".

I am guessing that Filecopy doesn't work in NT?  Any idea?

Thanks for your help.

Tommy Chang
Info Tech, Enterprise Information
OUHSC
Tel: 405-271-2262 Ext. 50218
Fax: 405-271-2352



Fri, 01 Feb 2002 03:00:00 GMT  
 VBA: Filecopy invalid procedure call or argument on Win NT workstation
Hi Tommy,

  What kind of file is it?

  -- Dev


: Hi! I have an Access 97 application using Filecopy in Windows 95 to copy
: file
: to a URL.  It works fine.  However, when this same application runs in Win
: NT 4.0
: workstation, it dies on Filecopy "Invalid Procedure call or argument".
:
: I am guessing that Filecopy doesn't work in NT?  Any idea?
:
: Thanks for your help.
:
: Tommy Chang
: Info Tech, Enterprise Information
: OUHSC
: Tel: 405-271-2262 Ext. 50218
: Fax: 405-271-2352
:
:



Sat, 02 Feb 2002 03:00:00 GMT  
 VBA: Filecopy invalid procedure call or argument on Win NT workstation
Dev, it's an ASCII delimited file.

Thanks


Quote:
> Hi Tommy,

>   What kind of file is it?

>   -- Dev



> : Hi! I have an Access 97 application using Filecopy in Windows 95 to copy
> : file
> : to a URL.  It works fine.  However, when this same application runs in
Win
> : NT 4.0
> : workstation, it dies on Filecopy "Invalid Procedure call or argument".
> :
> : I am guessing that Filecopy doesn't work in NT?  Any idea?
> :
> : Thanks for your help.
> :
> : Tommy Chang
> : Info Tech, Enterprise Information
> : OUHSC
> : Tel: 405-271-2262 Ext. 50218
> : Fax: 405-271-2352
> :
> :



Sun, 03 Feb 2002 03:00:00 GMT  
 VBA: Filecopy invalid procedure call or argument on Win NT workstation
Hi Tommy,

  Is the file open by any other app?  When your code fails (what does it
look like anyways?), can you, at the same time, copy the file using Explorer
(Ctrl-x/ctrl-v) ?

  -- Dev


: Dev, it's an ASCII delimited file.
:
: Thanks
:
:



Sun, 03 Feb 2002 03:00:00 GMT  
 VBA: Filecopy invalid procedure call or argument on Win NT workstation
Dev,

The file is closed and then I use FileCopy to copy this file to a NT
PrintQue.
The error message is : "Invalid procedure call or arguments..."

I could have do an API call to use explorer to copy this file to the NT
printQue. Filecopy is just handy.

Tommy


Quote:
> Hi Tommy,

>   Is the file open by any other app?  When your code fails (what does it
> look like anyways?), can you, at the same time, copy the file using
Explorer
> (Ctrl-x/ctrl-v) ?

>   -- Dev



> : Dev, it's an ASCII delimited file.
> :
> : Thanks
> :
> :



Mon, 04 Feb 2002 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Error 5 Invalid Procedure call or argument

2. Invalid procedure call or argument on Dir functioon

3. Invalid Procedure Call or Argument

4. Invalid procedure call or argument

5. Invalid Procedure call or argument [HTMLProject]

6. compile error "invalid procedure call or argument

7. Run-time error '5': Invalid procedure call or argument

8. Run-time error '5': Invalid procedure call or argument

9. Invalid procedure call or argument on Form.SetFocus

10. Invalid procedure call or argument: 'mid'

11. Function Error: Invalid procedure call or argument

12. Invalid Procedure Call or Argument

 

 
Powered by phpBB® Forum Software