replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Displaying local HTM files
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 

Displaying local HTM files

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



Joined: 22 Jul 2005
Posts: 86
Location: Swansea, UK

PostPosted: Sat Feb 28, 2009 9:57 am    Post subject: Displaying local HTM files Reply with quote

Two routines - USE_URL@ and the INTERNET_HYPERLINK callback - can be used to load web based URL's and the format used in this instance is naturally of the form 'http://www.silverfrost.com/...' etc

In some programs I wrote a few years ago to access local HTM files I used the above routines but used the format 'file:///c:/dir/index.htm' for the argument (adding a conversion function from the c:\dir\index.htm' format) - presumably because direct coding of 'c:\dir\index.htm' did not work.

Now, BOTH forms of addressing seem to work OK (on my default IE browser). Could anyone advise (a) what format might be preferable for reliable operation and (b) if there is any advantage / difference between the USE_URL@ and INTERNET_HYPERLINK approach for loading HTM files?

Many thanks for any assistance anyone can provide.

Bill
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Sat Feb 28, 2009 1:12 pm    Post subject: Reply with quote

No there is no real difference. Both approaches lead to a simple call to ShellExecute of the form...

ShellExecute(NULL,"open",link_name,NULL,"c:\\",SW_SHOW);
Back to top
View user's profile Send private message AIM Address
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