` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Running HTML file from Clarion
2009-04-10 -- Bernard Grosperrin
 
In your window: OLE,AT(172,2,279,286),USE(?OLE1),CREATE('Shell.Explorer'),#ORDINAL(7) END In your WindowManager Init: ?OLE1{prop:ReportException} = TRUE In code, on a button, or an event like takenewselection, if it's to display from a browse LOC:TempFileName = Self.Q.ORI:FileName ! Self.Q is the browse queue ?OLE1{'Navigate("file:///' & CLIP(LOCTempFileName)) That's it! Salt to taste, but that works just fine for me, for any HTML file I want to display. You can create a procedure/window just for that, and pass it the file name as parameter, or like I did here, use that on the side of a browse to display files matching records in the browse.


Today is November 23, 2024, 2:06 am
This article has been viewed 35321 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: