-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: shahkalpesh
Message 3 in Discussion

IMHO,

Putting the vbscript code on the client side to generate excel file based on the 
template doesnt seem to be a proper idea

The reason being
1) you have to make sure Excel is installed on client machine & there is an Excel 
template you want a specified dir location
2) you will have to troubleshoot on each client (if it happens to be many clients 
using your solution), to make it work because of diff browser, dependecies etc

Questions can be raised here for eg
1) what if template changes & hence the way in which data is to be written

The idea solution would be
1) To use excel object, generate the file, send it via email OR create a file, keep it 
on server & ask user to click the link to download the file OR 
change the resposne.contenttype & write the excel file using binarywrite to the browser
 - Take care of managing memory related to COM object (in .NET specifically)

2) If you have flexibility in terms of buying components, buy a readymade component, 
which can create & write to Excel files, without having to
install Excel (even on the server) For eg. ExcelRW 

Put everything on server, to attack problems at one source, which may occurr

HTH
Kalpesh

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to