Manuel,

There are minimum legal HTML tags that MUST be used to create an HTML Application (HTA) file.

For your education and learning sake ...

Using the R:BASE sample database RRBYW19, try the following example, as is, and see what you get.

-- Simple example to create and LAUNCH HTML Application (HTA) file using R:BASE X Enterprise.
-- Create HTA File
   CONNECT RRBYW19
   SET VAR vFileName TEXT = +
   ((CVAL('NetUser'))+'_'+(FORMAT(.#DATE,'YYYYMMDD'))+'_Customers.hta')
   SET WIDTH 700
   SET LINES 0
   OUTPUT &vFileName
   -- Add Minimum Legal HTML Tags
   WRITE '<HTML>'
   WRITE '<BODY>'
   -- the following must be <PRE> to display plaintext output
   WRITE '<PRE>'
   SELECT +
   Company=60,CustAddress=48,(CustCity+','&CustState&CustZip)=40 +
   AS CityStateZip,CustPhone=16 FROM Customer ORDER BY Company
   WRITE '</PRE>'
   WRITE '</BODY>'
   WRITE '</HTML>'
   OUTPUT SCREEN
   SET LINES 19
   SET WIDTH 79
   LAUNCH &vFileName
   RETURN

Hope that provides you with some blue's clues ...

Very Best R:egards,

Razzak


At 08:48 PM 3/30/2017, MD wrote:

I use the LAUNCH command to open hta format file on the browser. It appears that
Window 10 does not allow hta file to be launched.



--
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to