Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
5
Erster Beitrag:
vor 11 Monaten, 3 Wochen
Letzter Beitrag:
vor 11 Monaten, 3 Wochen
Beteiligte Autoren:
iso, DarrenF

EmailRunApp [WD21] Error

Startbeitrag von iso am 06.12.2016 09:46

Hello,

the command EmailRunApp() works fine on some PCs but on others get the following error:

All PCs have the same version of Outlook and Windows and Outlook is set as the default email client,




Anyone else had this problem and know of the reason?

Thanks

ISO

Antworten:

Hi iso,

By using < >, it looks like your error message text has gone walk-about?! ;)

von DarrenF - am 06.12.2016 10:04
Thanks Darren

error message:

WL call:
Process of 'Click Btn_email' (WIN_ADMIN_STAFF_DETAILS.Btn_email), line 18, thread 0 'EmailRunApp' function, syntax 0

What happened?
Unable to load C:\Program Files (x86)\CST\wd210mess.dll DLL

Error code: 1065
Level: fatal error

System error code: 126
System error message:
The specified module could not be found.

von iso - am 06.12.2016 10:24
Hi,

You're missing wd210mess.dll for some reason.

von DarrenF - am 06.12.2016 10:33
Hi Darren,

The DLL is there.

I did notice the PCs /Installs which were all having the problem had Exchange Server Email Accounts whereas the ones that worked were POP/IMAP, so it could be something to do with that, anyways as i have had limited time to figure it out i had to change the process instead to:

Just incase you were wondering why i didnt use mailto, i needed to add a RFT signature

/////////////////
myItem is object OLE dynamic
myOlApp is object OLE dynamic
myOlApp= new object OLE "Outlook.Application"

myItem = myOlApp>>CreateItem(0)
myItem>>Recipients>>Add(email2)

EDT_body = sThebody

thesubject is string = "CIS"

Multitask(1)

myItem>>Subject = thesubject
myItem>>Display()
myItem>>HTMLBody = RTFToHTML(EDT_body) + CR + CR + RTFToHTML(sThefooter)

Thanks for your help

ISO

von iso - am 06.12.2016 15:10
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.