Page 1 of 2

PB connecting to Outlook

Posted: Mon Jun 16, 2003 3:10 pm
by cecilcheah
Is it possible to connect PB to Outlook using the outlook class?

I want to be able to send an email attachment, but i just cannot find out where the problem is with the code in Trick and treat section. I have already posted my Problem in the Beginner Forum, but no one help.

So i want to try sending email attachment with Outlook. Is it doable?

Cecil

Re: PB connecting to Outlook

Posted: Mon Jun 16, 2003 5:22 pm
by ricardo
cecilcheah wrote:Is it possible to connect PB to Outlook using the outlook class?

I want to be able to send an email attachment, but i just cannot find out where the problem is with the code in Trick and treat section. I have already posted my Problem in the Beginner Forum, but no one help.

So i want to try sending email attachment with Outlook. Is it doable?

Cecil
Cecil i release some weeks ago a dll that easily let you this and many other things.

Go to the Yahoo group of my dll and here you will find a code to send an email with attachmente using Outlook

http://groups.yahoo.com/group/ActiveX2Dll/message/34

Posted: Mon Jun 16, 2003 7:33 pm
by cecilcheah
I cannot find where i can download this dll. I have joined the gorup but when i go to the file area, file does not exist.

Cecil

Posted: Mon Jun 16, 2003 8:29 pm
by ricardo
cecilcheah wrote:I cannot find where i can download this dll. I have joined the gorup but when i go to the file area, file does not exist.

Cecil
?????

I just go there and download it from the files area ActiveX2Dll.zip

Another download url:

http://www.getafile.com/cgi-bin/merlot/ ... eX2Dll.zip

Posted: Mon Jun 16, 2003 9:04 pm
by cecilcheah
Got it
Thanks

Cecil

Posted: Mon Jun 16, 2003 10:48 pm
by cecilcheah
It is a dll which my user has to register, this is not really what i want.

Can anyone try and answer my question here:

viewtopic.php?t=6582

Please.

Cecil

Posted: Tue Jun 17, 2003 1:04 am
by ricardo
cecilcheah wrote:It is a dll which my user has to register, this is not really what i want.
What do you mean by register?

The user don't need to register.

Posted: Tue Jun 17, 2003 8:36 am
by cecilcheah
They need to register the DLL into their system, my users are mostly against this.

I am still looking for a easy solution.

Anyone knows how to use the already existing Outlook ActiveX Object inside PB? I just need some syntax to start me off.

Cecil

Posted: Tue Jun 17, 2003 9:55 am
by ricardo
cecilcheah wrote:They need to register the DLL into their system, my users are mostly against this
Listen, im not trying to convince you, im just correcting some mistake in the info: the dll don't need to be registered.
Just one aditional dll need to be registered if used (usefull for some other things).

This is the right info.

Posted: Tue Jun 17, 2003 2:07 pm
by cecilcheah
If i buy the DLL from you, would you be able to provide me with PB example to send attachment from PB?

Do my users need to register any DLL if they use my programme and send emails through my programme using your DLL? What about licence? Would my user need to buy licence from you if they use my programme to send email?

Thanks

Cecil

Posted: Tue Jun 17, 2003 6:46 pm
by ricardo
Hi,

As i told you im not trying to convince you or sell nothing, was just trying to give the correct info.

About your questions:

1.- I have only the example that i point you yesterday ¿did you try it?

2.- The dll itself don't need to be registered.

3.- No, you users or customers don't need to pay nothing. You can redistribute the dll with you applications as long as you are a registered user.

Please if more questions, comments, about the dll use the yahoo groups :D

Re: PB connecting to Outlook

Posted: Tue Jun 17, 2003 10:28 pm
by Num3
cecilcheah wrote:Is it possible to connect PB to Outlook using the outlook class?

I want to be able to send an email attachment, but i just cannot find out where the problem is with the code in Trick and treat section. I have already posted my Problem in the Beginner Forum, but no one help.

So i want to try sending email attachment with Outlook. Is it doable?

Cecil
Why don't you use the outlook dll named: MSOE.dll (which is in the outlook dir) 8O

For more info on it (in this case, the MAPISENDDOCUMENTS function) check:

http://msdn.microsoft.com/library/defau ... uments.asp
:roll:
Just one thing, this will wonly work for systems that have outlook installed and configured... Not my case 8)

Re: PB connecting to Outlook

Posted: Tue Jun 17, 2003 11:45 pm
by tinman
[quote="Num3]Just one thing, this will wonly work for systems that have outlook installed and configured... Not my case 8)[/quote]

Doesn't it work with any MAPI enabled mailer installed? Although I guess you'd need to use the proper MAPI library, not the Outlook one.

Posted: Wed Jun 18, 2003 6:46 am
by cecilcheah
Hi Ricardo
I have only the example that i point you yesterday ¿did you try it
No, you did not point to any example at all. I want an example to call your DLL from my PB programme to send email with attachment, can you make one?

Thanks

Cecil

Posted: Wed Jun 18, 2003 6:48 am
by cecilcheah
Hi Tinman
Although I guess you'd need to use the proper MAPI library
Does all the computers have mapi installed?

Thanks

Cecil