No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
This code is to generate excel with grid lines in it with file name as you given in the code which will disply when you opening throug the download dialog box, Regards, khaleel |
|
<!---to open excel with given name---> <cfheader name="Content-Disposition" value="attachment;filename=#lFilenameCreated#"> <cfcontent type="application/vnd.ms-excel"> <!---<cfcontent type="application/vnd.ms-excel" > <cfheader name="Content-Disposition" value="filename=SchoolReport.xls">---> </cfoutput> <html xmlns:o="urn:schemas-microsoft-com:office:excel" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"> <head> <TITLE>CTY Information System - School Report</TITLE> <meta http-equiv="Content-Type" content="text/html;charset=windows-1252"> <!---To get gridlines in excel file---> <xml > <x:ExcelWorkbook > <x:Name>School Report</x:Name> <x:ExcelWorksheets > <x:ExcelWorksheet > <x:Name>School Report</x:Name> … |
|
Re:
I am trying to access a web service on a server that requires windows authentification. These are the steps I'm trying to take. 1. Use script below to do window auth. [CODE] <cfscript> objNTAuth = createObject("java", "jrun.security.NTAuth"); objNTAuth.init("Name_of_Domain"); objNTAuth.authenticateUser("userid","password"); </cfscript> [/CODE] 2. Then invoke my call to the web service. … |
|
Re:
Hi I have a CF application that uses a form page to enter data into the input fields, then passes those fields as SESSION variables to the action page so that the use can view hwo the page is going to look. basically is an application to build new html … |
|
Re:
Hi everyone!! I am using cfm files and i have never used cfc; i ve read about cfc but i could not figure out how it works? could i use this cfc files in my cfm? and can you give example like calling an xml file. |