473,396 Members | 1,895 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.

Javascript that Creates an Outlook Appointment - Browser Problem

Hello fellows,

I was looking into a script embedded in a webpage that creates an Outlook appointment and opens it. I tested a sample appointment shared by Brian White (http://www.winscripter.com/WSH/MSOffice/90.aspx)and embedded it in a sample web page. But here are 2 problems:

1. The script works only in IE and not in any other browser.
2. IE issues a security message about an ActiveX control and asks if to enable it.

Do you have any idea how to make it work in all browsers and not to scare users with the ActiveX warning?

Thank you in advance!
Dec 20 '13 #1
6 2643
Dormilich
8,658 Expert Mod 8TB
Do you have any idea how to make it work in all browsers and not to scare users with the ActiveX warning?
1) you’ll never get it to work in other browsers (because ActiveX is IE-only)

2) script permissions must be set by the user, so there is no chance that you (or any script) could influence that (otherwise your computer could be cracked this way very easily (with ActiveX you can circumvent JavaScript’s execution sandbox))
Dec 20 '13 #2
Hi Dormilich,

Thank you for your response!
Is there a way to generate the appointment in JS without using ActiveX so that other browsers will support it?

Thank you in advance!
Dec 20 '13 #3
Dormilich
8,658 Expert Mod 8TB
no. other browsers adhere to the JavaScript sandbox, i.e. JavaScript is not allowed to do anything outside the browser.

besides that, why should a browser support communication with Outlook, most people don’t even have that application?
Dec 21 '13 #4
Hi Dormilich,
Thank you for your response!
I don't mind exploring other scripting languages if they are supported in all browsers. Are you aware of any?
I'd like to use a standalone html page (without the need to install IIS, PHP engine, etc.). This page will have a button that will trigger the script and add an outlook appointment/meeting.

Thank you for the information in advance!
Dec 21 '13 #5
Dormilich
8,658 Expert Mod 8TB
I don't mind exploring other scripting languages if they are supported in all browsers. Are you aware of any?
the only language that could possibly do that is Java, but that needs a plugin to be installed and there might be restrictions as in JavaScript as to what you can modify on the user’s computer. allowing an unknown script to do something with your computer bears an incredible security risk, after all*.

writing an outlook appointment may be harmless, but what’s the difference between that and installing a virus (despite the intention, of course)?


* - why do you think is IE that vulnerable against attacks? (answer: ActiveX and its deep interaction with the OS)
Dec 21 '13 #6
Thank you for your explanation, Dormilich!
Dec 22 '13 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Akira | last post by:
Could someone tell me how to send outlook appointment email from asp page? I would like appointment email just like one outlook can send out. I tried to look for an answer for this, but it seems...
2
by: Kamyk | last post by:
Hello all! I have the following problem. I know how to create a mail in VB with a subject and people to send, but is it possible to create an Outlook appointment in VB, if it is possible, please...
0
by: Georges | last post by:
Hi, Can anyone help me with this. I would like to create outlook appointment from a web application. I tried to look at the CDO, WebDAV and MAPI documentations without success. what is the best...
6
by: chuckdfoster | last post by:
Is there a way to create an New Outlook Appointment from an ASP.NET application? I would also need to check if Outlook is running first. Any suggestions, advice?
1
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How can I see in javascript if a web browser accepts cookies?...
0
by: keri | last post by:
Hi everyone, I have searched for info on this topic but have not found anything. Basically I have a db that posts appointments to outlook. I would like to be able to set all of the outlook...
2
by: msdngroup | last post by:
Hi, All: Can you do something like cross-browser real-time message, remote JavaScript callback and monitoring browser states remotely? Can you ensure web browser running with super speed and...
20
by: Cyd44 | last post by:
I am trying to delete an outlook appointment based upon the value of variables for Location, Start Date, Start Time & Name (Subject) I am at a loss as where to start on declarations for Outlook...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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...
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.