GeneXus - Run time error 5 al intentar cargar un .docx en win 7 en xp si jala

 
Vista:

Run time error 5 al intentar cargar un .docx en win 7 en xp si jala

Publicado por Rosa (1 intervención) el 05/06/2013 22:13:21
Estoy tratando de agregar un documento .docx y el error solo me aparece en maquinas con windows 7 en windows xp si funciona.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//codigo
 
  IF &ACRCOIRUT = NULLVALUE(&ACRCOIRUT)
            IF CONFIRMED()
                &InitPath = 'C:\Mis Documentos'
                &Extensions = 'docx'
                &Caption = 'Abrir'
                call('gxSelFile',&Selected,&InitPath,&Extensions,&Caption,'',1)
                &File = &Selected
                &Word.Open(&File)
                &RUTA = &OPC_PRC52+&CNTDOCID+trim(str(&ACRCOIDOC))+'.doc'
                &Word.SaveAs(&RUTA)
                &Word.Close()
                CALL(PACRCOI001, &CNCIASID, &CNTDOCID, &ACRCOIDOC, &RUTA)
                msg(&MSGTXT(108))
            ENDIF
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder