I am starting this thread with a hope that all the users who are using vbRichClient will post all their queries here on this thread.
How to use cFSO?
I am trying to use the class cFSO present vbRC5 but I keep getting Error.
Here is the code:
If I comment out the second line I get the error 91 - Object variable or With block variable not set.
if I write like this:
I get error Method or member not found.
Can someone help solve this please.
TIA
Yogi Yang
How to use cFSO?
I am trying to use the class cFSO present vbRC5 but I keep getting Error.
Here is the code:
Code:
Dim myFSO As vbRichClient5.cFSO
Set myFSO = New cFSO '<= VB complains with Invalid use of New Keyword
Call myFSO.CopyFile("C:\Mytest.txt", "C:\MyTest001.txt")
if I write like this:
Code:
Call vbRichClient5.cFSO.CopyFile("C:\Mytest.txt", "C:\MyTest001.txt")
Can someone help solve this please.
TIA
Yogi Yang