From: Santu on
Hi ,
 I am using month calender from .net & Activex pallete in a vi.I getting warnings , which i am sending as screenshot. When i create a exe , it giving error & not creating exe.
I have .Net 2.0 runtime. The System.Windows.Forms.dll is there in GAC. But still it is giving warnings when vi is run and not creating exe. I am using Labview 8.5.
 
Is there any thing to be done to use .net controls in labview.
 
If you put NET Meetings Calendar.vi (which is there in ni example finder) in a project and create a exe , it will give error and not create exe.
I am attaching the sample project with vi.
 
regards
Santosh Kumar
 


example.zip:
http://forums.ni.com/attachments/ni/170/317926/1/example.zip


vi error1.JPG:
http://forums.ni.com/attachments/ni/170/317926/2/vi error1.JPG


proj error1.JPG:
http://forums.ni.com/attachments/ni/170/317926/3/proj error1.JPG
From: Eriquito on
Hi Santosh, I opened up your project and compiled it in 8.5.1 with your build specification with no errors.  Maybe something is misconfigured with your .NET framework?  I'd recommend removing and reinstalling this, or (if possible) try compiling your project on another system to see if you can reproduce the error.
From: Eriquito on
Also, the warnings don't appear to be a problem.  I opened your vi, saved it, closed it, and re-opened it and the warnings did not appear again.
From: Santu on
Hi Eriq,
The help does not say much about the error ,It says "There is insufficient memory available. To correct this error, you must make more memory available on your computer for LabVIEW to generate the code for this VI."
Anybody facing such situation, and found a solution ?
 
regards
Santosh Kumar
 
From: Eriquito on
Hi Santu, Then, does that mean this error occurs when you double-click the EXE?  If that is the case, have you tried making it debuggable and connecting the development environment to see if the error still occurs?  Could you post the EXE here?