Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
9
Erster Beitrag:
vor 8 Jahren, 2 Monaten
Letzter Beitrag:
vor 8 Jahren, 1 Monat
Beteiligte Autoren:
PETER ZHOU, Paulo Oliveira, Fabrice Harari, Steve, Glenn Rathke

Mail Merge in word doc using webdev

Startbeitrag von PETER ZHOU am 25.04.2010 11:00

Hi,

How to do mail merge in word doc format using webdev ?

Any simple code will be nice.

Thanks & Regards,

PETER ZHOU

Antworten:

Hi Peter,

I don't think it is so much of how to do it in WinDev but rather how do you do that using office automation. I suggest getting a comprehensive book on using automation in Word. I picked up a book published by WROX. It had great examples. The as far as WinDev is concerned. you substitute the dot syntax with >>.

HTH

von Glenn Rathke - am 25.04.2010 17:38
Quote
Glenn Rathke
Hi Peter,

I don't think it is so much of how to do it in WinDev but rather how do you do that using office automation. I suggest getting a comprehensive book on using automation in Word. I picked up a book published by WROX. It had great examples. The as far as WinDev is concerned. you substitute the dot syntax with >>.

HTH

Glenn Rathke
WinDev, WebDev, and WinDev Mobile Consulting
Health & Safety Applications


Will it work using webdev as it's on the "web"?

Thanks & Regards,

PETER ZHOU

von PETER ZHOU - am 28.04.2010 11:16
Hi Peter

it may work, but it is a VERY BAD IDEA (even microsoft is saing that the use of automation (being word, excel, or any office product) on the server should not be attempted)...

If you really need to do it, then the only way to do it with a chance of success is to create a windev exe in charge or word, and queue all requests from web user to this exe.

Best regards



von Fabrice Harari - am 28.04.2010 12:52
Yes, it works with several limitations. You have to install msword in the webserver
check the help for OLE, Automation object to see some of the limitations

von Paulo Oliveira - am 28.04.2010 12:56
Hi,

Anybody have a simple example on the mail merge using windev ?

Just show a table column/field -> merge into word will do.

Thanks & Regards,

PETER ZHOU


von PETER ZHOU - am 28.04.2010 15:46
check the sample provide with windev WinDev 14\Examples\Training\WD Controlling Word

von Paulo Oliveira - am 28.04.2010 16:37
Hi again Peter,

a point worth mentioning... It is highly doubtful that you'll find any hosting service that will let you do that, except of course on a dedicated server,because of the huge amount of resources such a system needs.

best regards



von Fabrice Harari - am 28.04.2010 17:40
Check out ASPOSE Words.NET. You could use this to write a Webservice to do the merging on the server.



von Steve - am 29.04.2010 23:54
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.