|
-
Mar 21st, 2001, 08:15 AM
#1
Thread Starter
New Member
Hi everybody
I need receive help with this problem, I have any aplicattion where i used an Aplicattion Object for MS-Word program, thsi aplicattion works very well when the aplicattion Object it´s in the Server Side, but I don´t leave this Object in the server side.
When the aplicattion Object is generete in the Client Side in any machines occurs an error, ¿How I can know what components or librarys or whatever need in the client machine?, ¿How I can manage the machines without MS-WORD?, ¿What is wrong?
this is my code
sub VacacionesInd
msgbox "Generando...."
Set objword = CreateObject("Word.Application")
set objdoc = CreateObject("Word.document")
Filename = "path \\vacacionesInd.dot"
Set objdoc = objword.Documents.Add(filename)
objdoc.Bookmarks("FechaSol").Range.Text = "<%=Fecha%>"
objdoc.Bookmarks("codigo").Range.Text = "<%=trim(codigo)%>"
.
.
.
.
objdoc.Bookmarks("DiasTiE").Range.Text = "<%=EDiasTiempo%>"
objdoc.Bookmarks("Observaciones").Range.Text = "<%=Observaciones%>"
objdoc.printout
Msgbox "Su Reporte ha sido impreso. Por favor verifique en la impresora
configurada en su máquina.!!"
objdoc.Close False
objword.Quit False
Set objdoc = Nothing
Set objword = Nothing
end sub
Please forgive my English, I know is very bad
-
Mar 21st, 2001, 05:53 PM
#2
Member
beats the hell outta mean.
you are setting the content type to a word file right?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|