How create a small program where I can schedule my activities and update my Microsoft Outlook Calendar (Microsoft 2003 up to now versions).
Not a plugin of outlook , looking for windows form
You can automate Outlook from any application. See How to automate Outlook by using Visual Basic for more information.
Also you may find the following links helpful:
Automating Outlook from a Visual Basic Application
Starting an Outlook Automation Session
VB app automates Outlook (VBAutomateOutlook)
Related
I am trying to understand how to develop add-ins/macros in JS for Office, do I need VSTO for it or does it run from Office somewhere?
I did understood that Microsoft is making the first steps toward replacing VBa with JS and impemented an API to develop macros in Office.Js simmilar to the one Google has for it's Docs. But where can I find a development enviroment for Office.js?
The new web-based add-ins are basically a web application executed in the context of the Office application, either on the Desktop (by embedding a browser, IE11 at the moment) or in the browser (Office Online) where everything is web-based already.
The add-in can be hosted on any web resource you like. You just need to specify a source location URI.
Settings and metadata of the add-in are defined in a manifest file. The article Office Add-ins platform overview describes it very well.
Development can be done in any editor or IDE suitable for coding web apps. There is no Alt+F11 VBA IDE anymore, but you may try the Script Lab add-in, a Microsoft Garage project that allows you to try out some code directly in Office and share code snippets. It includes a great collection of sample code too.
The new WebApplications are hosted on a Webserver. You can develop Office Apps with Visual Studio.
Here is a good course for developing Office Apps including an overview of the Javascript Office API:
https://mva.microsoft.com/en-us/training-courses/introduction-to-office-365-development-8329
I have outlook 2016 with MS Vision 2013 installed. When I try to open MS visio file from Harmon.ie, I get License error message.
Error:
Microsoft Office cannot verify the license for this product. You should repair the office program by using control panel.
I can open the MS same MS Visio drawing manually or from sharepoint with no problem.
This error message could not be directly related to harmon.ie. You need to reach out to Microsoft about it. You should reproduce it out of harmon.ie.
Indeed, when user clicks on a document - harmon.ie (as a client application versus web interface) determines appropriate application based on the document extension and then launches the associated desktop application by passing it the URL to the document. Running the application from command line and passing it the direct URL of the Visio document duplicates the behavior of opening the document via harmon.ie. You can get the url to your Visio document by right clicking on it from our sidebar, and select copy address.
Please check again to see if running MS Visio, from command line and providing the URL to the SharePoint document would reproduce the issue:
-Open a cmd window
-Sample command format is below
"Path_to_Visio\visio_exe.exe" "urlof_document/document.visio_extension”
----- Jean
I developed an add-in with a MessageComposeCommandSurface extension point.
It appears, is activated and works on outlook.office.com but with windows desktop client, Outlook 2016 (version 16.0.8625.2121), the button appears in compose mode but stays gray and it is not clickable.
I tested the command-demo-addin mentioned in Microsoft Docs and published on Github with the same result. Similarly, as shown on screenshot, it is impossible to click and launch the add-in which seems unactivated.
The COMPOSE buttons are disabled in the following instances:
1) The Item is in a public folder.
2) The Item is in Junk, Outbox (not drafts), or Sync Issues.
3) The item is "secure". DRM, or S-MIME encrypted. (older versions of Outlook also do not support S-MIME signed)
4) Outlook is offline.
In the situation where Read Mode add-ins are working, but Compose does NOT it is almost always #3. Usually the user will have on the option to always DRM / S-MIME their outgoing messages.
Update with image of security settings:
If Com Add-ins load a Custom Form this can also affect add-ins:
Checking Com Add-ins:
Note that outlook actually ships with some add-ins and a lot of com-addins work fine with Web Add-ins. It's only when Com Add-ins override the default new mail form (or other forms) that they can interfere with Web Add-ins.
Some COM add-ins will NOT use Custom Form, but will access the parent folder (item.Parent) and there is currently a bug that disable's Web Add-ins when a COM Add-in or VBA script does this.
File->Options->Add-Ins-> "Go" (next to manage add-ins)
If you have an antivirus instaled like avast, try to disable the addin of this and then try to open your compose mail window.
I have a VSTO Ms Outlook Addin which interacts with Contacts, Tasks, Meetings,Calender and Emails of Outlook and it works fine with Office 2007,2010,2013,2016.
Now, I would like to implement the same for "app for outlook".
How should I do that? Can anyone explain.
You can start by consulting this getting started.
As a former VSTO add-in dev, you have to rethink the way you design Office add-ins. A web add-in is no more than a web app using a library office.js to fill the bridge between your logic and the office host. Keep in mind that you still have the possibility to use web services to do things that are not available with office.js, see how here
I wrote a blog post explaining the differences from a technical and business perspective of these two generations of addins.
Does a custom (i.e. one I've developed for SharePoint 2010) visual webpart have to operate within a sandbox solution in SharePoint office 365, or can it be a farm solution?
Thanks, Confused
Web parts have to be sandboxed for SharePoint 365. Visual web parts can't be sandboxed since the ascx control that comes with the web part is copied to the file system. if you need to create a visual web part in SharePoint 365 you can use the SharePoint Power Tools extension.
http://visualstudiogallery.msdn.microsoft.com/8e602a8c-6714-4549-9e95-f3700344b0d9
There you have the option to create a visual web part that can be deployed as a sandboxed solution.
Independent from the type of SP-I (SharePoint Item) you're creating, Office 365 only supports sandboxed solutions.
Microsoft is going to migrate Office 365 to SharePoint 2013 within the next weeks/months. When migration is done, you can also create Apps using the new SharePoint 2013 App model.
But for now, it's only possible to deploy Sandboxed solutions, because it's not allowed to do any changes to the filesystem or elements, that are available across the boundaries of your SiteCollection.
When it comes to WebPart development, you've to remember that it's not possible to impersonate using SPSecurity. (There are more limitations for Sandboxed Solutions, you should revisit the MSDN in order to get a common understanding of what you can do within the Sandbox)