01-18-2011 05:22 PM
Hi friends.
I wanted to design a program that stores some data and I want to store this datas in a directory beside my program. In the vi format everything is fine ( I have attached a sample of what I did). But when I change my program to exe format it doesn't create the directory? I think this is because of the current vi path! But how can I implement this design? Please help me.
With best Regards,
Masoud
Solved! Go to Solution.
01-18-2011 05:40 PM
01-18-2011 05:42 PM - edited 01-18-2011 05:45 PM
Read this:
Why Does My Executable Not Work When Using the Current VI's Path Constant? .
Ravens Fan was faster than me...
01-18-2011 05:47 PM
@J-M wrote:
Read this:
Why Does My Executable Not Work When Using the Current VI's Path Constant? .
Ravens Fan was faster than me...
True, but you added one more word than me.
01-18-2011 05:55 PM
oh thanks alot. sorry i am new here i didn't find the solution by my self. you really help me thanks alot
01-18-2011 05:56 PM
As I mentioned to you in our previous communications, posting to this forum will generally get you answers more quickly than asking an individual. I tried posting images of how I had handled this, but apparently am not able to post them from here.
As I had suggested earlier, the problem, as described in the links the two others posted, is that when you build an exe it adds another "layer" to the paths, the calling vi is now inside a higher level (the exe) so you need to strip the path one more time.
Good luck, come here for more assistance if you need it, I wasn't trying to ignore you, just can only do so much on my iPod while walking between meetings!