WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Reading files from executable (EXE) (https://forum.worldviz.com/showthread.php?t=6273)

zumbay 07-31-2019 02:40 AM

Reading files from executable (EXE)
 
Hi,

I have two questions which relate to reading files from a vizard exported executable.

One issue I face, is creating an executable with multiple GB worth of resources and models. Currently, Vizard throws an error when I try to publish as EXE. I assume the size is the issue. Is it possible to export the script as an executable and have the resources and models in the same folder, so that the executable can read them in on the fly?

The other question relates to a different application, where I would like to read in a text file in the executable (in same folder as the executable) and use the content of the text file on the fly. What is the best way of doing this?

Cheers!

sado_rabaudi 08-06-2019 01:23 PM

You can try using the .getPublishedPath option

https://docs.worldviz.com/vizard/lat...lishedPath.htm

Let me know if that works what you're trying to do.


All times are GMT -7. The time now is 04:36 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC