login about faq

Hi,

I have rightclicked on register_win32.bat and selecting 'exececute as Administrator'. However there is no object with "loEmail = CreateObject('Chilkat_9_5_0.Email')" as proposed the example's.
How to do ?

Regards,

Koen

asked Jun 18 at 06:01

Koen's gravatar image

Koen
1


Does loEmail = CreateObject("Chilkat_v9_5_0.ChilkatEmail") work?

link

answered Jun 18 at 11:02

jpbro's gravatar image

jpbro ♦
1.1k2618

edited Jun 18 at 11:29

Hi, Hmm I dont think 'Des' is a qualified VFP command, anyway it errors: "Unrecognized command verb" without 'Des' it errors: "Command contains unrecognizec command/keyword" Regards, Koen

link

answered Jun 18 at 11:09

Koen's gravatar image

Koen
1

Des was a typo, meant to read "Does". The main thing is the change to the ProgId, so instead of using Chilkat_v9_5_0.Email, does using the following work: Chilkat_v9_5_0.ChilkatEmail.

For example:

lo_Email = CreateObject("Chilkat_v9_5_0.ChilkatEmail")

(Jun 18 at 11:32) jpbro ♦

The correct CreateObject strings are shown in each class's reference documentation web page:

https://www.chilkatsoft.com/refdoc/xChilkatEmailRef.html

link

answered Jun 18 at 11:35

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

Hi,

The command line: "loEmail = CreateObject('Chilkat_9_5_0.Email')" was C&P-ed from the given examples. It errors - it prompts for a table and if select any table it errors "record is out of range"

A simple, few coding lines, how Chilkat is supposed to send a test mail, simple, with just a one liner plain text, no attachements or other flavours, would be great.

Regards, Koen

(Jun 19 at 12:43) Koen

Hi,

Set loEmail  = CreateObject("Chilkat_v9_5_0.ChilkatEmail")

errors: "Command contains unrecognized command/keyword"

Regards,

Koen

link

answered Jun 18 at 11:40

Koen's gravatar image

Koen
1

So for VFP there is no Set keyword, and the CreateObject string should be Chilkat_9_5_0.Email as seen at the link Chilkat posted above (no "v" character before the version #).

(Jun 18 at 11:47) jpbro ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×2

Asked: Jun 18 at 06:01

Seen: 331 times

Last updated: Jun 19 at 12:43

powered by OSQA