frmDirPicker

Posts   
 
    
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 13-Sep-2004 16:09:43   

I went and had a look at your frmDirPicker.cs just out of curiousity.

I am not entirely sure what the differnce between it and a normal browse dialog is. but just wanted to tell you that i can't seem to get it to work(compile).

It is looking for namespace "System.Management;" and i dont know where to find "SelectQuery" either.

This piece of code is failing.

SelectQuery sqLogicalDrives = new SelectQuery ("SELECT * FROM Win32_LogicalDisk");
            ManagementObjectSearcher mosSearcher = new ManagementObjectSearcher(sqLogicalDrives);
            ManagementObjectCollection mocLogicalDrives = mosSearcher.Get();
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39826
Joined: 17-Aug-2003
# Posted on: 13-Sep-2004 16:35:28   

Reference System.Management in your project simple_smile (It's the WMI interface. doesn't work on win98 )

Frans Bouma | Lead developer LLBLGen Pro
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 13-Sep-2004 16:41:59   

duh...me idiot.flushed ....day must be getting to long, i need a weekend.simple_smile