|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
template
<i><b>Originally posted by : malin (malin@amf.se)</b></i><br />I´m trying to start a excel-template from a website. Nothing happen. why?? this is the source:<br /><br /><%valet = right(request.item("val"),3)<br />sokvag = request.item("val")<br /><br /> On Error Resume Next<br /><br />If valet = "xlt" then <br />Response.Write "<script language='VBScript'>"&VBCRLF<br />Response.Write "dim xlApp"&VBCRLF<br />Response.Write "set xlApp= createobject('Excel.Application')"&VBCRLF<br />Response.Write "xlApp.Workbooks.add('"&sokvag&"') "&VBCRLF<br />Response.Write "xlApp.visible = true "&VBCRLF<br />Response.Write "Set xlApp = Nothing"&VBCRLF<br />Response.Write "</script>"<br /> <br />end if<br />%><br /><br /><html><br /><head><br /></head><br /><body><br /></body><br /></html><br /><br /><br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Adam Stevenson (alstevenson@nadev.com)</b></i><br />The reason you are not seeing anything, is that you are not inserting any objects onto the page. You either need to use the <object> tag or insert your own html template pattern, ie <table>,<tr>,<td>, <span> tags.<br /><br />Sincerely,<br /><br />Adam Stevenson<br /><br /><br />------------<br />malin at 9/19/2000 4:12:20 AM<br /><br />I´m trying to start a excel-template from a website. Nothing happen. why?? this is the source:<br /><br /><%valet = right(request.item("val"),3)<br />sokvag = request.item("val")<br /><br /> On Error Resume Next<br /><br />If valet = "xlt" then <br />Response.Write "<script language='VBScript'>"&VBCRLF<br />Response.Write "dim xlApp"&VBCRLF<br />Response.Write "set xlApp= createobject('Excel.Application')"&VBCRLF<br />Response.Write "xlApp.Workbooks.add('"&sokvag&"') "&VBCRLF<br />Response.Write "xlApp.visible = true "&VBCRLF<br />Response.Write "Set xlApp = Nothing"&VBCRLF<br />Response.Write "</script>"<br /> <br />end if<br />%><br /><br /><html><br /><head><br /></head><br /><body><br /></body><br /></html><br /><br /><br />
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > template |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|