Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Ventuz project default file path

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
Luke47921
Posts: 32
Joined: 21 Oct 2015, 13:23

Ventuz project default file path

Post by Luke47921 » 04 Feb 2016, 12:56

I'm trying to access some data that is stored within the project folder, and I don't want to use a specific path so that I can move my project folder around. If I choose the path from within the node using the file browser, I get the path ventuz://Data/Data.txt, which works within the designer. However, if I export the project to a presentation and run it (still from withing the same project folder), the path doesn't seem to work (It will work if I use a direct path, for example: C:\Users\Public\Documents\Ventuz4\Projects\ProjectName\Data\Data).

Is this something that I'm doing wrong on my end, or is this a bug within Ventuz?

User avatar
lerou
Posts: 345
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

Re: Ventuz project default file path

Post by lerou » 04 Feb 2016, 13:18

use the url node. Set it to FILE. Use ".\Images\image.png". This will always resolve to the correct path relatove to the project or later the VPR. So the important part being the dot in the filename.

Best,
rou

Luke47921
Posts: 32
Joined: 21 Oct 2015, 13:23

Re: Ventuz project default file path

Post by Luke47921 » 04 Feb 2016, 13:32

The . at the start actually stopped it from working, but using \Images\image.png in the url node set to file works great.

Thanks!

Luke47921
Posts: 32
Joined: 21 Oct 2015, 13:23

Re: Ventuz project default file path

Post by Luke47921 » 05 Feb 2016, 15:11

Turns out I'm still having a problem, this works fine in the designer, but won't work when it's exported as a presentation. Any idea why?

chriss0212
Posts: 666
Joined: 18 Jan 2012, 20:56
Location: wuppertal
Contact:

Re: Ventuz project default file path

Post by chriss0212 » 05 Feb 2016, 15:57

you need to put the vpr into the ventuz root path.

greetz

christian

Luke47921
Posts: 32
Joined: 21 Oct 2015, 13:23

Re: Ventuz project default file path

Post by Luke47921 » 05 Feb 2016, 16:05

Great, thanks!

chriss0212
Posts: 666
Joined: 18 Jan 2012, 20:56
Location: wuppertal
Contact:

Re: Ventuz project default file path

Post by chriss0212 » 05 Feb 2016, 16:32

just in case:

i wrote:

Code: Select all

you need to put the vpr into the ventuz root path.
i meant of course the project root path ;)

greetz

Luke47921
Posts: 32
Joined: 21 Oct 2015, 13:23

Re: Ventuz project default file path

Post by Luke47921 » 05 Feb 2016, 16:35

Haha yeah that confused me for a second but I figured you meant project root :)

Post Reply