473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Accessing Microsoft Outlook from a Java applet

Hello Everybody,

I'm preparing for doing a daunting task: to access Out look Microsoft
Outlook Express(regardles the operating system and Outlook version) from a
Java applet (after the client (user) acknowleges to run this applet on his
machine).
The user has to read the existent user Microsoft Outlook users accounts and
to setup another Microsoft Outlook user accont.
As I know so far, that the only way is to access from the applet a .COM
object on the client machine and this has the capability to access the
Outlook.
I am wondering if there can be other more direct ways from Java to read the
current user accounts settings such accessing the windows system registry
for Outlook records (or other way).
Is it possible to read the windows client registry (for Outlook from java
applet- after the user acknowledges this action of course)?
Thank you in advance for any eventual hints!

Daniel



Jul 17 '05 #1
3 8120

"Daniel Pope" <da*******@shaw.ca> wrote in message
news:6Y6_b.594862$ts4.484069@pd7tw3no...
Hello Everybody,

I'm preparing for doing a daunting task: to access Out look Microsoft
Outlook Express(regardles the operating system and Outlook version) from a Java applet (after the client (user) acknowleges to run this applet on his
machine).
The user has to read the existent user Microsoft Outlook users accounts and to setup another Microsoft Outlook user accont.
As I know so far, that the only way is to access from the applet a .COM
object on the client machine and this has the capability to access the
Outlook.
I am wondering if there can be other more direct ways from Java to read the current user accounts settings such accessing the windows system registry
for Outlook records (or other way).
Is it possible to read the windows client registry (for Outlook from java
applet- after the user acknowledges this action of course)?
Thank you in advance for any eventual hints!

Daniel


Daniel,

You will need native code for that. Most likely you must download, save and
load a windows DLL from the applet and do native calls to that DLL. The
applet will need to be signed for that. You can do anything you like from
the DLL uncluding Outlook(Express) and the registry (not that any
interesting Outlook data is in there).

Regards,

Silvio Bierman
Jul 17 '05 #2
Thanks for your hints Silvio. So, I have to write a dll (C++) to access
Outlook or windows registry using COM calls.
For what I need (getting and setting only Outlook accounts) seems that
dealing with windows registry is enough.
What do you mean by "applet must to be signed"? Does it mean a kind of
certification that the user can see and after approve to allow the applets
perform enhanced security tasks?

Kind regards,
Daniel
"Silvio Bierman" <sb******@idfix.nl> wrote in message
news:40*********************@news.xs4all.nl...

"Daniel Pope" <da*******@shaw.ca> wrote in message
news:6Y6_b.594862$ts4.484069@pd7tw3no...
Hello Everybody,

I'm preparing for doing a daunting task: to access Out look Microsoft
Outlook Express(regardles the operating system and Outlook version) from
a
Java applet (after the client (user) acknowleges to run this applet on
his machine).
The user has to read the existent user Microsoft Outlook users accounts

and
to setup another Microsoft Outlook user accont.
As I know so far, that the only way is to access from the applet a .COM
object on the client machine and this has the capability to access the
Outlook.
I am wondering if there can be other more direct ways from Java to read

the
current user accounts settings such accessing the windows system registry for Outlook records (or other way).
Is it possible to read the windows client registry (for Outlook from java applet- after the user acknowledges this action of course)?
Thank you in advance for any eventual hints!

Daniel


Daniel,

You will need native code for that. Most likely you must download, save

and load a windows DLL from the applet and do native calls to that DLL. The
applet will need to be signed for that. You can do anything you like from
the DLL uncluding Outlook(Express) and the registry (not that any
interesting Outlook data is in there).

Regards,

Silvio Bierman

Jul 17 '05 #3

"Daniel Pope" <da*******@shaw.ca> wrote in message
news:Kic_b.596468$ts4.236102@pd7tw3no...
Thanks for your hints Silvio. So, I have to write a dll (C++) to access
Outlook or windows registry using COM calls.
For what I need (getting and setting only Outlook accounts) seems that
dealing with windows registry is enough.
What do you mean by "applet must to be signed"? Does it mean a kind of
certification that the user can see and after approve to allow the applets
perform enhanced security tasks?

Kind regards,
Daniel


Daniel,

I hint at first : it is usually preferred by newsgroupreaders that you not
toppost, meaning that you put your response at the bottom of the message.

Signing an applet depends on which environment you want it to run in. Look
at http://mindprod.com/jgloss/signedapplets.html for info on this (got this
link from Google just now, there are many more references).
It basically links a certificate to your applets that tells users who wrote
the thing (and could be sued if it shows malicious conduct). If the
certificate is backed up by Verisign and the like (think $$) then it will
run without confirmation from users by default. If not (you can cook your
own certificate) users will by default be prompted whether they want the
applet to run. Either way the applet gets extended permissions to do things
"normal" applets can not do like accessing the local file system, running
native code, doing unrestricted network-IO, accessing ports etc.

Hope this helps,

Regards,

Silvio Bierman
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ...
1
by: hawks1998 | last post by:
Is it possible to pull an application into a Java Applet? What we are looking to do is pull something like Word or Outlook into a frame on our website.
5
by: Rowland | last post by:
Hi, I know this question has prob. been asked a million times, but I couldn't find it in the FAQ, so here goes : I'm trying to write a Java applet to call a dll that resides on the web server...
2
by: Christian Galbavy | last post by:
Hy! My next problem is to make an applet from my program. I have just add the "extend applet" to my class and removed the main-method by the start-method of the applet. I was thinking that this...
1
by: polilop | last post by:
i have an java applet, and when i start it it shows a gray win with x. the console shows java.lang.NoClassDefFoundError: GeomApplet (wrong name: vj3/GeomApplet) at...
3
by: Larry Martin | last post by:
I am trying to run a Java Applet on my ascx page and am getting an IO exception when IE6 tries to load the applet. It seems a lot of others are getting the same problem but a search of the web did...
2
by: MarkMurphy | last post by:
Is there a limitation in ASP.NET in this regard? From the aspx code below, I can successfully call a Java applet. If I try the identical thing in a user control ascx however, the control loads...
2
by: Andrew Neiderer | last post by:
This is simple HTML, Java but I am really confused. I include the code since it is so small - ---------------------------------------------------------------------------- -- test.html -- ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.