Re: vbscript: how to generate a FolderItem2 object from a filename ?

JJ <[email protected]>
Newsgroups alt.comp.os.windows-xp,alt.windows7.general
Organization To protect and to server
Message-ID <[email protected]>
On Sat, 22 Jun 2024 20:47:13 +0200, R.Wieser wrote:
> 
> Alas, the line
> 
>> set oFolder = oFile.GetFolder
> 
> returns a "(null): The system cannot find the file specified." error.

Whoops. That should be:

set oFolder = oFile.Parent
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.