G
Guest
I am trying to list the sub folders in a folder on a remote computer. I have
found some samples in C# but cannot get it to work in VB.NET. I get a
"specified cast is not valid exception".
selectQuery = New WqlObjectQuery("ASSOCIATORS OF
{Win32_Directory.Name=""c:\\""} WHERE AssocClass = Win32_Subdirectory
ResultRole = PartComponent")
What I am doing wrong?
found some samples in C# but cannot get it to work in VB.NET. I get a
"specified cast is not valid exception".
selectQuery = New WqlObjectQuery("ASSOCIATORS OF
{Win32_Directory.Name=""c:\\""} WHERE AssocClass = Win32_Subdirectory
ResultRole = PartComponent")
What I am doing wrong?