delmonk
September 22, 2004, 19:56:11
I have txt control 11 with service pack 1 installed
When I call this code
tx.Load("C:\\183D83DC-8C03-4df6-8DEB-F8B8B777627A.DOC", COleVariant(long(0)), COleVariant(long(9)),COleVariant(long(1)));
tx.SetViewMode(1);
tx.Save("c:\\183D83DC-8C03-4df6-8DEB-F8B8B777627A.PDF", COleVariant(long(0)), COleVariant(long(12)),COleVariant(long(0)));
The size of the file that is saved is 954 and it is a blank pdf file when I open it.
Why is that? I am able to convert it successfully if I open it in TX text control words and export it as pdf.
When I call this code
tx.Load("C:\\183D83DC-8C03-4df6-8DEB-F8B8B777627A.DOC", COleVariant(long(0)), COleVariant(long(9)),COleVariant(long(1)));
tx.SetViewMode(1);
tx.Save("c:\\183D83DC-8C03-4df6-8DEB-F8B8B777627A.PDF", COleVariant(long(0)), COleVariant(long(12)),COleVariant(long(0)));
The size of the file that is saved is 954 and it is a blank pdf file when I open it.
Why is that? I am able to convert it successfully if I open it in TX text control words and export it as pdf.