1. tutor3.exw problems...

A few people have reported a problem with my tutorial 'engine', in which the
program could not find the file requested by the dajaro Butt_kick()
procedures.

Thanks to Mark Smith for a 'temporary' fix,  for example::
::by replacing the line in dajaro.ew, procedure Butt_kick1

s="file://" & tag & ".html"
with
s="file://c:\\euphoria\\tutor3\\" & tag & ".html"

where c:\\euphoria\\tutor3\\  is the actual complete path to your tutorial
folder.

I never encountered this problem on my setup no matter which drive/folder I
put the tutorial.
Is there any way for me to determine the complete path to a folder (as a
sequence) so I can fix this problem without 'forcing' the program suite into
a specific folder?

...any help appreciated, Wolf
http://www.king.igs.net/~wolfritz     ...www.king.igs.net/~wolfritz/tutor.htm

new topic     » topic index » view message » categorize

2. Re: tutor3.exw problems...

Hmm..., Complete path?  Let me brain storm here.
I am wondering why you aren't able to use the relative path.

Create an initialization file in the directory in which the program is
installed.
Or maybe an initialization file in the Windows directory.
And you can't assume that windows is at C:\WINDOWS it may be in many places.
IE: C:\WINDOWS.000 or D:\WINDOWS.  Don't you just hate windows !!!!
Maybe in the Euphoria directory.  BUT then you have the upgrades of Euphoria
that rename that EUPHORIA to FUPHORIA.  That's no fun.
Here's an idea.  Tag the end of your program during installation with
--C://EUPHORIA/TUTOR3  Where C://EUPHORIA/TUTOR3 is the complete path.
Of course you need to ask the user where they want the program installed.
Better than that.  Put the initialization file in the directory that program
is installed into and then tag the end of you program with the path of the
installed directory.  Of course to move it the user would have to Reinstall.

    I hope this thoughts help.  They appear to be all that you have recieved.
Lucius L. Hilley III
    6.4Gig Western Digital  -- Died in 1999.


On Sun, 17 Jan 1999 11:26:12 -0500, wolfgang fritz <wolfritz at KING.IGS.NET>
wrote:

>A few people have reported a problem with my tutorial 'engine', in which the
>program could not find the file requested by the dajaro Butt_kick()
>procedures.
>
>Thanks to Mark Smith for a 'temporary' fix,  for example::
>::by replacing the line in dajaro.ew, procedure Butt_kick1
>
>s="file://" & tag & ".html"
>with
>s="file://c:\\euphoria\\tutor3\\" & tag & ".html"
>
>where c:\\euphoria\\tutor3\\  is the actual complete path to your tutorial
>folder.
>
>I never encountered this problem on my setup no matter which drive/folder I
>put the tutorial.
>Is there any way for me to determine the complete path to a folder (as a
>sequence) so I can fix this problem without 'forcing' the program suite into
>a specific folder?
>
>...any help appreciated, Wolf
>http://www.king.igs.net/~wolfritz     ...www.king.igs.net/~wolfritz/tutor.htm

new topic     » goto parent     » topic index » view message » categorize

3. Re: tutor3.exw problems...

--=====================_916701345==_

At 11:37 a.m. 18-01-99 -0500, you wrote:
>Create an initialization file in the directory in which the program is
installed.
>Or maybe an initialization file in the Windows directory.
>And you can't assume that windows is at C:\WINDOWS it may be in many places.
>IE: C:\WINDOWS.000 or D:\WINDOWS.  Don't you just hate windows !!!!

To retrive Windows directory:


--=====================_916701345==_

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu