Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 10th, 2025, 6:36 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Variable not populated in published project
PostPosted: March 2nd, 2006, 12:59 pm 
Offline

Joined: April 21st, 2005, 4:47 pm
Posts: 43
Location: Southampton, UK
In the attached sample project, I'm reading in a value (which is the name of an external graphic file) from an external .ini file and assigning it at run-time to a publication variable. The background to this first page is set to this pub var: imgBackgr.SetImage(PUB_BACKGR). The same happens with the second page.

In this sample, all works fine in both interpretive and published modes. However in my real project, using identical syntax, it works only interpretively. In published mode the pub var doesn't populate, and therefore obviously the SetImage fails.

I'm scratching around for a reason. Memory? I'm using quite a few pub vars, and PUB_BACKGR is the last on the list. Any other ideas?

Many thanks
Linnet

_________________
A crack on the head / Is what you get for not asking
And a crack on the head / Is what you get for asking

Barbarism Begins At Home, The Smiths


Top
 Profile  
 
 Post subject:
PostPosted: March 2nd, 2006, 4:04 pm 
Offline

Joined: April 21st, 2005, 4:47 pm
Posts: 43
Location: Southampton, UK
Doh! I was publishing to the wrong location... All OK now. :oops:

_________________
A crack on the head / Is what you get for not asking
And a crack on the head / Is what you get for asking

Barbarism Begins At Home, The Smiths


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group