Preece
asked on
GetAttr on pagefile.sys...Invalid Procedure Call or Argument????
I am using VB 6 on an NT Workstation.
Here is the line of code:
lNameAttribute = GetAttr(vcPath & cName) Or viIgnoreAttributes
- lNameAttribute is a long
- vcPath & cName = "d:\pagefile.sys"
- pagefile.sys has the archive attribute set.
It raises the
run time error 5: Invalid Procedure Call or Argument
error on the GetAttr(vcPath & cName).
Any suggestions?
Thanks in advance!
Preece
Here is the line of code:
lNameAttribute = GetAttr(vcPath & cName) Or viIgnoreAttributes
- lNameAttribute is a long
- vcPath & cName = "d:\pagefile.sys"
- pagefile.sys has the archive attribute set.
It raises the
run time error 5: Invalid Procedure Call or Argument
error on the GetAttr(vcPath & cName).
Any suggestions?
Thanks in advance!
Preece
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks,
Dan