M
MarcoNegri
Good morning.
I am converting an application, previously written in VB6/Publisher2003, in
C#/Publisher2007.
The original app open Publisher, merge fields from db and save it as a
picture, filled with the correct values.
Now, I have to use Publisher2007 and C#;
the task was not very difficult (because Publisher2007 must be programmed
using COM object, and I simply translate every instruction from VB to C#).
All run fine, until the call to Page.SaveAsPicture...
With Publisher2007, the picture saved does not contains the merge value, but
the name of fields ( <<field_name>> ).
Well, the app open Publisher, merge the fields ( and I can see the correct
values )
but, debugging the app I see a very strange thing:
previous code row -> see field values
Page.SaveAsPicture -> see field names
next code row -> see field values
Seems like something change in the method, from 2003 to 2007...
Could someone help me, please?
Thanks in advance
Marco
I am converting an application, previously written in VB6/Publisher2003, in
C#/Publisher2007.
The original app open Publisher, merge fields from db and save it as a
picture, filled with the correct values.
Now, I have to use Publisher2007 and C#;
the task was not very difficult (because Publisher2007 must be programmed
using COM object, and I simply translate every instruction from VB to C#).
All run fine, until the call to Page.SaveAsPicture...
With Publisher2007, the picture saved does not contains the merge value, but
the name of fields ( <<field_name>> ).
Well, the app open Publisher, merge the fields ( and I can see the correct
values )
but, debugging the app I see a very strange thing:
previous code row -> see field values
Page.SaveAsPicture -> see field names
next code row -> see field values
Seems like something change in the method, from 2003 to 2007...
Could someone help me, please?
Thanks in advance
Marco