WorldViz User Forum

WorldViz User Forum (
-   Vizard (
-   -   Reading files from executable (EXE) (

zumbay 07-31-2019 02:40 AM

Reading files from executable (EXE)

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?


sado_rabaudi 08-06-2019 01:23 PM

You can try using the .getPublishedPath option

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

All times are GMT -7. The time now is 03:34 PM.

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