Jump to content

.NET Assembly question (resolution)


Recommended Posts

I am trying (outside of using VI server property node for displaying primary workspace) to get .NET to tell me the monitor resoultion.. I was told I need to point to the Systems.Windows.Forms.dll and select screen for the constructor.. I am not seeing screen, can someone point me in the right direction so I can create a reference, I am still pretty new to using .NET with LV and am having a pretty bad time figuring this out...

Thanks for the help and I hope you all have a good weekend..

Link to comment

Systems.Windows.Forms.Screen doesn't appear to have any constructors. You need to drop a .NET constant (right click on a .NET constructor Refnum output and select Create>Constant), then right click on it and click "Select .NET Class". Make sure the "Show Creatable Objects Only" checkbox is cleared, and the "Screen" class should show up.

Jaegen

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.