 labview_vr
		
			labview_vr
		
		
		
		
		
		
		
		
	
			03-11-2010 07:53 AM
I'd like to add the whole frontpanel of my simple labview programm into the frontpanel of my visual studio programm.
I allready created the DLL and added it to my visual studio programm, and now, I'd like to view the vi frontpanel in my visual studio form.
Is there any possibility to do something like that without using the measurment studio .NET?
Thanx a lot!
 rolfk
		
			rolfk
		
		
		 
		
		
		
		
		
	
			03-12-2010 06:39 AM - edited 03-12-2010 06:42 AM
labview_vr wrote:I'd like to add the whole frontpanel of my simple labview programm into the frontpanel of my visual studio programm.
I allready created the DLL and added it to my visual studio programm, and now, I'd like to view the vi frontpanel in my visual studio form.
Is there any possibility to do something like that without using the measurment studio .NET?
Thanx a lot!
Maybe. You could try to get the Windows handle to the LabVIEW front panel using Windows API functions, and also using Windows API functions to parent that window into your application window. It could work but might be quite a tricky and not very stable solution since your Visual Studio application window message loop really is in another context than the LabVIEW runtime engine window, the VI uses.
 SFK
		
			SFK
		
		
		
		
		
		
		
		
	
			03-12-2010 06:48 AM