David Dancy | 1 Jul 2008 01:01
Picon

Deploying and upgrading Volume Desktop applications

Folks

I've recently had to create a Volume Desktop application (v11.2 -
yay!) but now have to devise a strategy for perrforming upgrades when
I don't know exactly where the app is located on the user's computer.
This seems like a wheel that would have been invented long ago, but
the issue is new to me and is causing (more) grey hairs (to fall out).

Do you have any hints/tips to share about how to a) deploy and b)
provide upgrades for an "engined" application? It seems to me that the
data file will need to live in a separate folder than the application
but that's a headache for my users, who are non-technical primary
school teachers, and have no time or inclination to learn about
"program files" and "data files". They think in terms of Word
documents, and they like to install the program on their USB stick
because the stick is easier to carry around than a laptop, and every
computer at school (and at home) has Word on it, so there's no need to
have Word installed on the stick. However, I can't expect that my
program will have the same comprehensive distribution, so I've needed
to install the whole thing on the stick. Trouble is, when I upgrade
the program, unless the data file is sitting right there next to the
structure file, the users get a series of incomprehensible (to them)
messages about selecting data files and creating log files. The
alternative is to get the user to pick apart the folder structure of
the engined app (which has several folders of similar names and is
quite confusing even for a developer like me) to put the old data file
+ journal file into the internal "Database" folder of the upgraded
application. It's tricky even for me, so I don't want to inflict that
procedure on my users.

(Continue reading)

Cannon Smith | 1 Jul 2008 02:14

RE: Deploying and upgrading Volume Desktop applications

In my opinion the easiest way to solve this problem would be for 4D to have an On Before Opening Data File
method where you could take control for long enough to either figure out where the old data files were,
create new ones, or ask the user (in a more comprehensible way) to locate the old ones. This method could
return the path to the data file to use and 4D could then start.

This has been a long standing feature request, but it still hasn't been addressed. There are some ways
around it, but not as flexible as that. For example, you can deploy with an empty data file inside the
package (or folder) in the default location. Then have code that checks the path to the data file and if it is
this empty data file, then present a dialog or go looking for the real data file. Once found, use OPEN DATA
FILE to relaunch. With some coding you can also get a log file and backup system going without user intervention.

A tip on the log file: you probably want to do your build from a structure that has the log file off. That way
when you deploy your code gets a chance to run and create a log file. If you don't, 4D asks the user about the
log file before you get control.

HTH.

--
Cannon Smith
Synergy Farm Solutions
P.O. Box 65 -- Hill Spring, AB CANADA -- T0K 1E0
(403) 626-3236 or 1-866-626-3236
<cannon@...>
<www.synergyfarmsolutions.com>

David Dancy wrote:

> This is a long way from optimal for them and makes me look bad! :(
> 
**********************************************************************
(Continue reading)

Jack des Bouillons | 1 Jul 2008 02:43
Favicon

URGENT! Help. Help! HELP!!!

Suddenly, and without warning, I'm getting a message that the STRUCTURE and
DATA FILES to not correspond to each other.  The data file cannot be opened
with this structure.

I know what this message is...the WEDD Resources of the structure and data
file do not match..

BUT..

They DO MATCH...

They matched when the first message came up...and they matched when I
manually changes the WEDD to mtch easch other.

The structure WEDD was changed in the design environment...the data file was
changed with a copy of Customizer 2003 (which I think is the latest version
of this)...

I have to leave my office and will be back early tomorrow morning if anyone
has any suggestions so our production server can get back in business...

Jack des Bouillons
Hobbs Herder Advertising

4D Server 2004.7b3

Server is a G5 running 10.4.6

**********************************************************************
4D Server v11 SQL has arrived!
(Continue reading)

infobase - info | 1 Jul 2008 02:55
Picon

Re: URGENT! Help. Help! HELP!!!

I've had this sort of problem before where an invisible character got  
in the name somehow. Try and remove all the characters and rename the  
data file.
I'm not saying its that but at least eliminate that from the equation.

Jim
**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

Jack des Bouillons | 1 Jul 2008 02:56
Favicon

Re: URGENT! Help. Help! HELP!!!

Now..

It's NOT SO URGENT...but I'd like to know what went on!?

Got the server back up and running by setting everything back to the WEDD
NAME that was on the previous version of the structure that was built...

But..

What does this means...that the WEDD cannot be changed?  Ever?

Maybe this is a case of...

If it hurts..don't do that!

But it IS scary...

Jack

**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************
(Continue reading)

Jack des Bouillons | 1 Jul 2008 03:01
Favicon

Re: URGENT! Help. Help! HELP!!!

Thanks...

But that what I did...

I changed the name twice..each time wiping out every thing...the last time I
left both blank..

The ONLY thing that worked was to reset the name back to what it had been.

I'm flumoxed.

Jack des Bouillons
Hobbs Herder Advertising

On 6/30/08 5:55 PM, "infobase - info" <info@...> wrote:

> 
> I've had this sort of problem before where an invisible character got
> in the name somehow. Try and remove all the characters and rename the
> data file.
> I'm not saying its that but at least eliminate that from the equation.
> 
> Jim

**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
(Continue reading)

MIYAKO | 1 Jul 2008 04:28

calling the Quick Look API to create a thumbnail

Hi.

http://forums.4d.fr/Post/FR/2021503/1/2021504#2021504

in case there's anyone interested,

I've written a simple plugin for Mac OS X 10.5 (4D 2004 or later, UB)
which calls the Quick Look API to generate an image thumbnail for  
iWorks, Office documents, etc.
should come handy under certain situations...

miyako

plugin:
http://forums.4d.fr/4DBB_Main/x_User/298210/files/2021501.zip

source:
http://forums.4d.fr/4DBB_Main/x_User/298210/files/2021500.zip

structure:
http://forums.4d.fr/4DBB_Main/x_User/298210/files/2021502.zip
**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
(Continue reading)

MIYAKO | 1 Jul 2008 04:37

Re: URGENT! Help. Help! HELP!!!

Wild guess,
  but could it be that 4D 2004 uses a different regime from 4D 2003 to  
manage WEDD resources ?

I mean, application of 2003 customizer plus on 2004 files is not  
supported.

a 2004 file would still contain the internal 'WEDD' resource,
which the customizer plus can edit,
but for security reasons, it might be looking at a different location...
i.e. the 'WEDD' internal resource might be a fake decoy.

in any case, its better to access WEDD via the language or preferences.

miyako

On 2008/07/01, at 9:43, Jack des Bouillons wrote:

> Suddenly, and without warning, I'm getting a message that the  
> STRUCTURE and
> DATA FILES to not correspond to each other.  The data file cannot be  
> opened
> with this structure.
>
> I know what this message is...the WEDD Resources of the structure  
> and data
> file do not match..
>
> BUT..
>
(Continue reading)

John DeSoi | 1 Jul 2008 06:30
Favicon

Re: URGENT! Help. Help! HELP!!!


On Jun 30, 2008, at 8:56 PM, Jack des Bouillons wrote:

> But..
>
> What does this means...that the WEDD cannot be changed?  Ever?
>
> Maybe this is a case of...
>
> If it hurts..don't do that!
>
> But it IS scary...

Yes, that was my conclusion also.

http://article.gmane.org/gmane.comp.lang.inug-4d.tech/38196/

John DeSoi, Ph.D.

**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************
(Continue reading)

Owen Watson | 1 Jul 2008 06:59
Picon

OPEN WEB URL doesn't work with Firefox 3

Aagh!

Not only problems calling 4D Help. . .
**********************************************************************
4D Server v11 SQL has arrived!
Buy it NOW at http://store.4ddepot.com

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************


Gmane