11-22-2012 03:59 PM
Okay, I just tried to run your build program. I didn't change anything, I only entered the "Recipe Editor.vi" in the path control, and you Recipe Editor.vi popped up.
And why are you using a case structure and polling of the OK button, when you know how to use the User Event Structure?
You need to add a small, 100 ms, wait in the while loop, otherwise the loop will eat all the CPU power.
And just for information to others, the password to Recipe Editor.vi is located in the main vi, "Untitled1.vi".
Look for one of the inputs to the "Open vi reference".
11-22-2012 09:18 PM
DK, thanks for the reply. I run the programme again, like what you advised, it worked!
Question : Why cant I use full path, selected from browse button in the path control?
11-23-2012 01:54 AM
If you use full path, you should make a path that looks into the exe. As you have included the vi in exe already.
I don't know if makes any conflict when you select a vi from outside the exe, that has the same name as a vi inside the exe.
I really don't have that much experience in loading vi's from outside a exe.