Where can I find sample Delphi code or component for accessing exchange/outlook contacts and appointments? - delphi

I need Delphi code or component for accessing exchange/outlook contacts and appointments? I probably need to use Extended MAPI. This is for a proof of concept so I'm not ready to shell out big bucks at the moment. Any hints, links, experiences??

Look this
Create an appointment in MS Outlook
http://www.scalabium.com/faq/dct0128.htm
Contact list in MS Outlook
http://www.scalabium.com/faq/dct0145.htm

Look at EasyMAPI from Rapware.
Not free, but well worth the price. I used this a couple of years ago. The author was really helpful and open to adding new functionality.

at our company we used the converted Extended mapi C/C++ headers (to delphi) and examples from here http://www.imibo.com/imidev/delphi/les/index.html. it doesn't cost that much at least i think so.
We used it to create a sync service that would synchronized tasks, contacts and appointments from our own agenda which was build before i worked at the company with exchange directly.
The plus side is you can use MSDN since basically everything is the same as what's written there and you have full control but it's rather "low level"
I'm not really certain if it is that what you need, but you don't really need outlook to be installed to access the messages then (on exchange). If you just need outlook you could try OLE or some of the other suggestions.

I'm not sure if TurboPower OfficePartner supports the features you're looking for, but it's free (as in open source) and might be worth a look:
http://sourceforge.net/projects/tpofficepartner/

Related

How can I create an Active X control to use Chromium Embedded Framework to replace the WebBrowser control in Powerbuilder 12 classic?

I need to be able to use the modern CSS3 and javascript support of Chrome in a powerbuilder classic 12 project.
I found this post Memory leak with Chromium Embedded interop ActiveX control using CEFSharp WPF
where it seems that a member has successfully created an interop activex control. This is what I need to do and I need some help doing so.
If you want to USE the interop ActiveX control like mentioned in the post you included than simply use it the same way the other person did. Find out where they got the interop control and use it like normal in PB.
I think that you are wanting to develop an ActiveX wrapper which will then be used in PB. As the name implies (wrapper) just create an ActiveX project in Visual Studio and start mapping the properties/events/functions until your wrapper is complete. If you didn't know the basic steps for creating a wrapper than it shouldn't take more than ten minutes on the internet to get an idea of what that is and how to do it.
Also to help you out being a new StackOverflow member, I'd suggest using better tags for the best results. I see why you chose a few of them but 3 of 4 have fewer than 100 followers so your question is not being seen much at all (thank goodness for you on this one). I'd have put this under .NET, C# for top exposure and maybe keep the chromium tag which will help people searching for the answer down the road, it isn't helping you find the answer with less than 100 followers.
Oh, if you need someone to write the wrapper- I am looking for work and can do it for few hours/days pay depending on how much you need exposed.

How to show relationships in my application?

I'm developing my MS Access database editor (mdb, accdb) which I will give everyone for free. I've done mostly everything that matters except relationships. The problem for me is how to show relationship(s). I would like to do it like in the real MS Access:
The thing is, I don't know how would I connect these child windows with a line that is stretching and resizing when one of the windows move etc...
This maybe not a question that can have a direct answer but I'm stuck here and don't know how to show those relationship(s). I'm using C++ Builder XE2.
So you need a library to draw graphs...
Making an answer, for being able to put links in the list (which comments would not allow)
http://sourceforge.net/projects/extgraph/
How to create graphs in Delphi application
http://www.torry.net/pages.php?s=88

Language translator Delphi

I am busy with a project where I have to code a program in Delphi that will translate an English word to another language. What would be the easiest way to approach this? I was thinking about using Microsoft Translator V2 API from Delphi, but it seems very complicated and I am not yet that experienced in Delphi. Any other suggestions?
Thanks in advance :)
Thanks to RRUZ you can follow this article about Microsoft Translator V2 API implementation for Delphi; inluding the full (even speaking) example.
If you don't have to be self-contained, you could make a webservice call (soap, etc..) to the cloud (google, etc..). The nature of your app (is it a translation program? or do you just want to provide translation in another app, along with spellcheck, thesaurus, syntax highlight, etc..?) will determine whether this is feasible or not.

Google event tracking used by a Delphi desktop application

I've come to a crazy idea to use Google event tracking in Delphi desktop application. I want to track users behaviour workflow to make application better. But it's in javascript.
Is it possible somehow to do it directly from application? Or do I need for example to make a webpage which communicates with Google event tracking API and application sends REST queries to that webpage?
Or maybe I can do it without javascript at all and directly from application?
You should be very careful with this, and warn your users.
Though software running locally is a different thing than software running from a web-site in a browser, the interconnectedness of software is increasing. So is the general feeling in the public on what is right and not to communicate.
For instance, a lot of software 'phones home' to check for the latest version without even asking permission to their users. I can understand that some users have a problem with that, but it indicates the general opinion on this is shifting. The vendors can track usage statistics based on that 'phone home' alone.
I'm not sure if the Google Event Tracking would be the best way to solve usage tracking from a desktop application, but the general idea (collecting usage statistics and error information) can work out very well.
Software from big vendors have been getting usage statistics from their software for years, and they ask their users up-front if sending statistics is OK, and at the time of an error, each time ask them if that is OK too.
In fact the book "Why Software Sucks ... and What Can You Do About It" and presentations from David Platt explains really well how to do this and how to communicate this to your users.
You need to do this in a very anonymous way, and you can because basically you are interested in these things:
what is the largest percentage of errors
what is the largest percentage of features used
what is the smallest percentage of features not used
As long as you communicate percentages, it is clear to explain to your users that the data will be very non-specific.
On the other hand: being able to focus on the actual errors can improve your software a lot.
The errors communicated back to you can contain much detail, so you need to either strip that detail out, or be very upfront with your users indicating which details are being sent to you when communicating individual errors.
--jeroen
I developed my own solution (I called it 'softmeter') to do exactly this. It is a dll that will do all the REST queries to Google Analytics.
There is sample Delphi code that wraps the DLL in a Delphi class so sending an event is simple as
dllSoftMeter.sendEvent('Conversion events', 'Donate clicked', 1);
If you do not mind using 3rd party libraries, you can use it.
In fact I found that most software using it, is Delphi made software.
Here is a more extended sample of the Delphi code for the implementation.
https://www.starmessagesoftware.com/blog/track-delphi-pascal-gui-application-google-analytics
You will need of course to get consent from the end-user.

How do you communicate to teams outside of your city? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
My team of 10 developers is working with another team of 10 developers, designers and BAs outside of my office to build a corporate website. There will be a lot of communication, learning and knowledge transfer between the two teams and both teams are in the same time zone. Currently we're using traditional land lines and email to communicate which i believe can be improved.
How do you communicate with teams outside of your office? Do you have any tips/suggestions on how my team can improve communication? On top of my head, we could use webcams.
I'm not sure how practical this would be for your team but don't rule out meeting face to face sometimes. I work in a distributed team and every so often we do get a chance to meet face to face, this helps build relationships between the teams at both sites and helps make email, IM and phone conversations more effective as your not just talking to a stranger you've never meet.
One project I'm working on at the moment has used:
Skype (Voice, IM and desktop sharing)
Email
Google docs
SVN
To be honest any list of software would probably have worked just as well the fact that I got to know the people I'm working with has probably been the biggest help.
Developers will be comfortable in an IRC channel. Alternatively you could use something like Campfire.
Use Skype. There is conference calls, video, desktop sharing and it's cheap.
Several approaches:
mail: Gmail
wave: Google Wave
collaborative editing: EtherPad
IRC: ... any
setting up a small news (usenet) server
Group chat sessions of various types work fairly well until too many people start talking. If there is a teacher/student kind of situation, WebEx presentations work quite well also.
We use http://jaconda.im to organize project rooms and for collaboration between developers. It supports Gtalk (jabber) only though, but so far is much more convenient than say Campfire.
From my experience, I found Microsoft Office Live Meeting really helpful in knowledge sharing and Microsoft Office Communicator for quick interaction with team outside.
Twitter has been useful where I work for communicating messages on a broadcast level.
IM through Office Communicator has also been good for talking to different people in an immediate fashion.
The company I work for also has some software that enables the sharing of a desktop for another option in communicating.
We are using mail and phone calls, but i got in the google wave preview and i think it's going to be a strong option when it goes live
Set up an Exchange server to have your calendar/tasks synchronized + mail.
For verbal + video communication use Skype.
For Desktop Sharing use GoToMeeting.
In the team I am working on these days we use:
Skype, for team meetings and one to one communication.
Email (gmail) for global communication and one to one, one to several, communication.
Cell phone, just in case of emergency.
And we are quite a bunch of people working from several places (Canada, Mexico, SF, etc).
Lots of different options here.
Skype or Windows Live for voice and/or video calls.
Collaborative editors such as SubEthaEdit or ACE.
Desktop sharing, either through Skype or iChat etc.
SVN for version control.
Then there's traditional telephone and email...
Probably many more too.
To communicate with developers, business analyst and system engineers located in other offices we use the following tools:
Microsoft Office Live Meeting
Microsoft Office Communicator
Voip
If we have to talk with customers located in different parts and don't have anything of the above mentioned tools then we go for
gtalk
skype
My last job was supporting an international science project. While many of us wrote software as part of that, our goal wasn't software development per se. We had people in Europe and all across the U.S. What I can recall using was:
Email
Telephone calls
Teleconferences when we needed to converse with several people. We tried videoconferences briefly, but at the time the cost was prohibitive.
Postings to private web sites that we were supposed to check regularly
Private wikis and web forums
This isn't as new & fresh as some things, but it worked. We added some capabilities (e.g. wikis) as they became available if they gave us new capabilities. However, we usually kept things as they were when they already worked (e.g. using conventional telephone/teleconferencing instead of Skype). Bear in mind that we started in the 1990's and changing what works and is already established isn't an easy thing, or necessarily wise. I left that project a little more than a year ago, and AFAIK, they're still doing things the same way.
Lots of good suggestions already. My outfit has video-conferencing (runs over IP I believe) in every location, which works very well. And don't forget matters such as sharing a common repository for code (we use Subversion, works fine across the network), for documents (we use Sharepoint which I hate, but it does provide a common location for all project documentation which is accessible globally) and similar stuff.
Use GoMeetNow. This is a web conferencing solution with which you can share your screen to your team, let others have access to your computer, have video conferences, make presentations, use whiteboard to draw and explain something and record the session and send the video to your teammates.

Resources