witny Posted January 31, 2014 Report Share Posted January 31, 2014 Hi, I would like to ask, if it is possible to place my c# windows form app on labview front panel. Thank You. Quote Link to comment
hooovahh Posted January 31, 2014 Report Share Posted January 31, 2014 The first method that comes to mind is using Windows DLL calls to set the parent window as the LabVIEW front panel, and the child window as your C# application. This will work but looks a little ugly because you will have the title bar of your C# program inside your front panel and looks unnatural. I did a quick search and found this post that I think has some code on setting parent/child windows. http://forums.ni.com/t5/LabVIEW/Set-Parent-window-using-User32-at-lv7-1/td-p/1950469 To do this you'd need the HWND of both the parent and child windows. I'm betting there is a nicer way to do this and I hope someone else answers because admittedly this feels like a hack method. Quote Link to comment
witny Posted January 31, 2014 Author Report Share Posted January 31, 2014 Thank You a lot for Your answer, I will try it on monday. Your answer is good for me. Quote Link to comment
JamesMc86 Posted January 31, 2014 Report Share Posted January 31, 2014 I'm not s familiar with C# but LabVIEW does have native support for .net controls. If you can compile it into this it should be possible but it depends on the execution flow of your program. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.