Related Articles
Firefox Excel Application Issue
If you are not able to download the excel in Firefox and where it is working fine in Chrome and IE then have a look at below code. To work in Firefox Excel Issue Just add below code in headersheader(“Content-type: application/vnd.ms-excel”); See below for full code header(“Content-disposition: attachment;filename=example.xls”);header(“Content-type: application/vnd.ms-excel”);header(“Pragma: public”);header(“Expires: 0”);header(“Cache-Control: must-revalidate, post-check=0, pre-check=0”);header(“Cache-Control: private”, […]
How to Create document using VB Script
To create a document using VB script you need a text editor and use the below code. VB script must be ended by using .vbs VB script runs only on Internet Explorer browser. <script type=”text/vbscript”>Set word = CreateObject(“Word.Application”)Set ActiveDocument = word.Documents.Add()ActiveDocument.TypeText “My first document”ActiveDocument.TypeParagraph()ActiveDocument.SaveAs(“c:sample.doc”)</body></script>
How to Add Column to Mysql Table and Auto Increment with Primary Key
Check below on How to Add a Column to Mysql Table with Auto Increment and Primary Key You can achieve it by doing Alter Command: Add Column to Mysql To Modify Column and add Auto Increment with Primary Key Query: ALTER TABLE test MODIFY COLUMN ID INT(10) PRIMARY KEY auto_increment; ALTER TABLE users ADD id […]

