Hi friends,
I have prepared a mail merge application in VB. Now i want the same to convert to ASP. Can someone tell me how to go about it. I mean what class need to be used for that.
Please help
owc
http://msdn.microsoft.com/library/e....asp?frame=true
Was this answer helpful ?
Yes No
look into Word.Application component, but you might have better luck by
compiling your VB code as dll and using this in ASP...
Was this answer helpful ?
Yes No
How to use vb code as dll, i havent used it as yet. could u explain me further abt it. I have the template file on the server itself.
Quote:
| Originally Posted by Shadow Wizard look into Word.Application component, but you might have better luck by
compiling your VB code as dll and using this in ASP... |
Was this answer helpful ?
Yes No
Hey like we use server.createobject("Scripting.FileSystemObject"). What needed to be written for using word documents...
Please help. its urgent....
Was this answer helpful ?
Yes No
you can use server.createobject("Word.Application")
sample code can be found here:
http://forums.aspfree.com/asp-devel...tion-28846.html
and you better also read this before delving into this project:
http://support.microsoft.com/defaul...kb;en-us;257757
Was this answer helpful ?
Yes No
Thanx Shadow Wizard, i used that in the asp page n i think its working but its giving me error in another line. The error is
Microsoft Word error '800a175d'
Could not open macro storage.
/cgi-bin/welcome_letter/generatedoc.asp, line 85
Code:
set wdoctemp = server.CreateObject("Word.Document")
Set wdoctemp = wApp.Documents.Open(server.MapPath(template_filena me)) '''' line 85
Quote:
| Originally Posted by Shadow Wizard you can use server.createobject("Word.Application")
sample code can be found here:
http://forums.aspfree.com/asp-devel...tion-28846.html
and you better also read this before delving into this project:
http://support.microsoft.com/defaul...kb;en-us;257757 |
Was this answer helpful ?
Yes No
read this to solve the problem:
http://support.microsoft.com/kb/q224338/
you will have to apply those permissions over the IUSR and IWAM accounts.
Was this answer helpful ?
Yes No