Expand Minimize
This topic has not yet been rated - Rate this topic

Use 'FilePutObject' instead of 'FilePut' when using argument of type 'Object'

The FilePut method includes an argument of typeObject. FilePutObject should be used in place of FilePut to avoid ambiguities.

To correct this error

  • Replace FilePut with FilePutObject.

  • Cast the Object argument to a more specific type.

  • Use the functionality available in the My.Computer.FileSystem object.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.