Wrting byte[] into a memo with FieldPutBytes

This forum is meant for questions and discussions about the X# language and tools
NickFriend
Posts: 248
Joined: Fri Oct 14, 2016 7:09 am

Wrting byte[] into a memo with FieldPutBytes

Post by NickFriend »

Ok, I'll try that... will have to wait until tomorrow though, guests arriving in a minute!
User avatar
wriedmann
Posts: 3756
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Wrting byte[] into a memo with FieldPutBytes

Post by wriedmann »

Hi Nick,
maybe you can find a solution in this old thread:
https://www.xsharp.eu/forum/public-vo-v ... art=0#2686
where also you were involved.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
NickFriend
Posts: 248
Joined: Fri Oct 14, 2016 7:09 am

Wrting byte[] into a memo with FieldPutBytes

Post by NickFriend »

Hi Wolfgang,

Irrespective of the possible bug in FieldPutBytes, I strongly suspect that the real issue is some incompatibility between the different external components that we use for Word documents in our old VO app and our new .Net one.

After trying every formatting trick I could come up with I've decided to side-step the issue by using RTF instead for these documents, which isn't ideal but gets the job done.

Thanks for everyone's input.

Nick
User avatar
wriedmann
Posts: 3756
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Wrting byte[] into a memo with FieldPutBytes

Post by wriedmann »

Hi Nick,
another possibility would be to write a VO DLL and use that from X' with the _DLL statement.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Post Reply