Results 1 to 2 of 2

Thread: WORD Aplicattion Object

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Posts
    7

    Question

    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
    Pablo Leonardo Corredor
    [email protected]

  2. #2
    beats the hell outta mean.

    you are setting the content type to a word file right?
    *urp*

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width