On a machine with LabVIEW 7.1 I tried looking for the Clipboard in System.Windows.Forms (2.0.0.0) with no success.
Cheers!
I just saw this post so I thought I might put my two cents worth in.
The behavior you are seeing is related to how we display .NET static classes in
the Select .NET Constructor Dialog Box. In LabVIEW 7.1.1 and LabVIEW
8.0, we did not display static classes in that dialog box but in LabVIEW 8.2.1
(I can't remember if it was LabVIEW 8.2 or 8.2.1) we actually showed the user
the static classes. Thus in LabVIEW 8.2.1, you can bring up and see the
Clipboard class in the Select .NET Constructor dialog, but you can't click OK
because there are no constructors (i.e. which makes sense since the Clipboard
class is a static class). In LabVIEW 7.1.1, you get the behavior of not seeing
this class as shown in the attached LV 7.1.1
Constructor snapshot.
It is important to note that .NET static classes cannot be instantiated (i.e.
you can't create objects but rather you directly access the methods and
properties). To call static methods or properties, you
1) Drop down an invoke node or property node from the .NET palette
2) Right-click on the top-left terminal and select Select Class » .NET » Browse from the shortcut menu to display. Then browse to your .NET
assembly (in this case it?s the System.Windows.Forms assembly) and choose your
.NET class (in this case it?s the Clipboard class).
3) Choose a method or property (see
the attached Select Object from 7.1.1
snapshot)
(Note You can invoke static methods if you have
an instance - we know it's static and ignore the instance value passed in on
the refnum)
Now before the 7.1.1 f2 patch, LabVIEW 7.1.1 would not display any of the .NET
Framework 2.0 assemblies. After applying the patch you should see .NET 2.0
assemblies.
Also, you may notice that when trying to select the System.Windows.Forms
1.0.5000.0 assembly a prompt appears indicating the version of the assembly was
prompted to a later version by the .NET runtime engine. The reason for this is
because LabVIEW automatically loads the latest installed version of the .NET
CLR. Just thought I would let you know. This just means you are always targeting the latest version of that assembly on your system.
Hope this clarifies things.
Best Regards,
Select Object 7.1.1.jpg:
http://forums.ni.com/attachments/ni/170/266577/1/Select Object 7.1.1.jpg
LV 7.1.1 Constructor.jpg:
http://forums.ni.com/attachments/ni/170/266577/2/LV 7.1.1 Constructor.jpg