12-18-2012 05:31 AM - edited 12-18-2012 05:32 AM
Hi all,
Before making the exe file make sure whatever component you want to run the exe should be included in the exe file. There is some steps to follow to make the exe file as mentioned below,
1st do this
2nd do this
create these files follow the instruction shown below.
Hope this will help.
Thanks
12-18-2012 05:58 AM
Ranjeet,
maybe you could enlighten us why the OP should include some toolkits and database functions into the EXE. Do you have project specific information we do not have at hand?
Why exactly should the OP include vi.lib components explicitly into his project if that part is not used in the build script later on?
It seems to me, that this introduces additional, not required complexity to the project and the build script.
Norbert
12-18-2012 01:41 PM
Norbert_B wrote:It seems to me, that this introduces additional, not required complexity to the project and the build script.
Well, the clue is in his signature: "I need my difficulties because they are necessary to enjoy my success."
However, I think there was a bug in some older LabVIEW versions (2010?) where e.g. parts of the report generation failed to be included automatically. So there could be a kernel of truth in that overkill suggestion. 😉
12-18-2012 11:11 PM
hi Ranjeet_Singh, after i go in vi.lib,what is the current folder do you mean?
12-18-2012 11:55 PM
12-19-2012 12:35 AM
thanks..i can successfully run my exe file on another computer..
12-19-2012 04:26 AM
Hi Norbert_B,
1. Actually whatever project i create that includes the database. Thats why i included here. Sorry i forgot to mention that.
2. vi.lib where the standard (built-in) VIs are stored(May be useful)
3. I mentioned all this because thease all are requied in my projects. I follow these steps to create .exe file. so i told as it is. If you dont want then u can remove the redundant part.
12-19-2012 04:31 AM
hi gwan,
when you browse the folder in the left below corner there is ok, current folder & cancel option.
Hope this snapshot attached below will help you.