473,738 Members | 7,599 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accessing Microsoft Outlook from a Java applet

Hello Everybody,

I'm preparing for doing a daunting task: to access Out look Microsoft
Outlook Express(regardl es 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 8149

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

I'm preparing for doing a daunting task: to access Out look Microsoft
Outlook Express(regardl es 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******** *************@n ews.xs4all.nl.. .

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

I'm preparing for doing a daunting task: to access Out look Microsoft
Outlook Express(regardl es 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.5964 68$ts4.236102@p d7tw3no...
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 newsgroupreader s 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
9873
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 ********************************** package Celcom.Client;
1
1700
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
13647
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 (running IIS 6). I've written a little test applet that should call a helloWorld function in the dll, but when I use System.loadLibrary, it gives me this security warning :
2
2878
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 is enough, but it does not work, the file does not appear on the server. I have tried to start the applet local and also from the server, but it does not work. Here is the code: *****************************************
1
5699
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 java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:148) at...
3
3524
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 not turn up any sort of solution. I have tried most of the suggestions but none of them seem to have helped with the problem. My error is below and the most significant part of it is the HTTP connection failure. load: class...
2
7373
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 and hangs. The Java console offers no clues. The server serves the aspx page that contains the control, view source shows the expected html. However, the applet does nothing. I'm integrating Quadbase ExpressReport into a site. TIA. <%@ Page...
2
3519
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 -- <html> <head> <title>
0
9473
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9334
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9259
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8208
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6053
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4569
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4824
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3279
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.