PB connecting to Outlook

Windows specific forum
cecilcheah
Enthusiast
Enthusiast
Posts: 168
Joined: Wed Jun 04, 2003 8:44 am
Location: Switzerland

PB connecting to Outlook

Post 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
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Re: PB connecting to Outlook

Post 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
ARGENTINA WORLD CHAMPION
cecilcheah
Enthusiast
Enthusiast
Posts: 168
Joined: Wed Jun 04, 2003 8:44 am
Location: Switzerland

Post 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
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post 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
ARGENTINA WORLD CHAMPION
cecilcheah
Enthusiast
Enthusiast
Posts: 168
Joined: Wed Jun 04, 2003 8:44 am
Location: Switzerland

Post by cecilcheah »

Got it
Thanks

Cecil
cecilcheah
Enthusiast
Enthusiast
Posts: 168
Joined: Wed Jun 04, 2003 8:44 am
Location: Switzerland

Post 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
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post 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.
ARGENTINA WORLD CHAMPION
cecilcheah
Enthusiast
Enthusiast
Posts: 168
Joined: Wed Jun 04, 2003 8:44 am
Location: Switzerland

Post 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
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post 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.
ARGENTINA WORLD CHAMPION
cecilcheah
Enthusiast
Enthusiast
Posts: 168
Joined: Wed Jun 04, 2003 8:44 am
Location: Switzerland

Post 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
ricardo
Addict
Addict
Posts: 2438
Joined: Fri Apr 25, 2003 7:06 pm
Location: Argentina

Post 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
ARGENTINA WORLD CHAMPION
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Re: PB connecting to Outlook

Post 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)
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Re: PB connecting to Outlook

Post 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.
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
cecilcheah
Enthusiast
Enthusiast
Posts: 168
Joined: Wed Jun 04, 2003 8:44 am
Location: Switzerland

Post 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
cecilcheah
Enthusiast
Enthusiast
Posts: 168
Joined: Wed Jun 04, 2003 8:44 am
Location: Switzerland

Post 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
Post Reply