soccer jersey forums.silverfrost.com :: View topic - run time error - hypertext resource xxxx not found
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

run time error - hypertext resource xxxx not found

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
2182



Joined: 22 Jun 2005
Posts: 5

PostPosted: Fri Jun 24, 2005 1:38 am    Post subject: run time error - hypertext resource xxxx not found Reply with quote

i have been trying to add a hypertext document using the ftn95, it seems that, running the executable file produces a run time
error hypertext resource xxxxx not found.
part of the lines are the following, any suggestions. tq.


winapp
.
.
.
call add_hypertext@(file)
i=winio('%50.20ht[contents]')
end
resources
file hypertext doc1.htm

Jamalludin
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8037
Location: Salford, UK

PostPosted: Fri Jun 24, 2005 5:59 am    Post subject: run time error - hypertext resource xxxx not found Reply with quote

Did you mean

call add_hypertext_resource@(file)

This is what you should be calling.
Back to top
View user's profile Send private message AIM Address
2182



Joined: 22 Jun 2005
Posts: 5

PostPosted: Fri Jun 24, 2005 6:45 pm    Post subject: run time error - hypertext resource xxxx not found Reply with quote

hi paul its me again,
actually that was what i meant to write - call add_hypertext_resource(file).
and the exe file produces the run time error.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8037
Location: Salford, UK

PostPosted: Mon Jun 27, 2005 1:06 pm    Post subject: run time error - hypertext resource xxxx not found Reply with quote

add_hypertext_resource@ has an argument that is a Fortran character string.
Try: call add_hypertext_resource@("file") and make sure that the htm file is in the same directory as the executable.
Back to top
View user's profile Send private message AIM Address
2182



Joined: 22 Jun 2005
Posts: 5

PostPosted: Wed Jun 29, 2005 2:09 am    Post subject: run time error - hypertext resource xxxx not found Reply with quote

I have tried your suggestion putting the htm file in the same directory as the executable file, but the same run time error occured. any other suggestion or a working simple example on the above issue.
thank you.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8037
Location: Salford, UK

PostPosted: Thu Jun 30, 2005 12:56 am    Post subject: run time error - hypertext resource xxxx not found Reply with quote

Did you put the quotes around the word file?
The argument is a string.

call add_hypertext_resource@("file")

The argument is in quotation marks.
Back to top
View user's profile Send private message AIM Address
2182



Joined: 22 Jun 2005
Posts: 5

PostPosted: Thu Jun 30, 2005 8:32 pm    Post subject: run time error - hypertext resource xxxx not found Reply with quote

-hi paul, i try putting the file in qoutes, and running the exe file produces an access violation error -
Access Violation
The instruction at address 0374b814 attempted to read from location 00000000

0374b78d lookup_document(<ptr>char,enum�logical)#6F [+0087]

0374ba88 __add_hypertext [+025b]

0374bd02 __add_hypertext_resource [+00c1]
.
.
.
any other suggestion, tq.(2182)
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8037
Location: Salford, UK

PostPosted: Fri Jul 01, 2005 12:55 am    Post subject: run time error - hypertext resource xxxx not found Reply with quote

How about posting the whole program.
Back to top
View user's profile Send private message AIM Address
2182



Joined: 22 Jun 2005
Posts: 5

PostPosted: Mon Jul 04, 2005 1:15 am    Post subject: run time error - hypertext resource xxxx not found Reply with quote

hi paul, while waiting for your answer i managed to trace the main source of the problem.
actually it was the htm file - the topic at %ht[topic], did not correspond to
any of the topics written in the htm file. Anyway thanks for all the suggestions.

:rolleyes: 2182
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group