Archiv für die Kategorie ‘Office’

Articles

Powerpivot & Datensicherheit

In Office,SQL Server on Januar 17, 2011 von murratore

Powerpivot ist ein neues Addon für Microsoft Excel mit welchem man quasi die Funktionalität der SQL Server Analysis Services (OLAP) auf dem normalen Benutzerclient erhält.

Damit ist es möglich riesige Datenbestände innerhalb von Excel mittels Pivots zu analysieren.

Vorgehen: Man öffnet das Powerpivot Add-in innerhalb von Excel und im neuen Fenster importiert man die gewünschten Tabellen/Views (SQL Server, Access, Sharepoint, alles was OLEDB unterstützt).

Hat man mehrere Tabellen kann man bei diesen untereinander die Beziehungen festlegen und danach mit Pivots beginnen zu analysieren. Sehr schnell und Super Funktion.

Das grosse Problem beim Ganzen aus Datenschutzsicht ist jedoch, dass die Daten effektiv lokal importiert werden und auch lokal gespeichert werden. Wen es interessiert –> .xslx Datei umbennen in .zip und öffnen.Im Unterordner “xl\customData” wird man eine Datei namens item1.data finden wo die Daten gespeichert sind. Dies ist eine Art lokale SQL Server Analysis DB (hier gibts noch mehr infos).

Hat man dieses File kann man die gesamten Daten restoren. Dies kann natürlich je nach Datengrundlage sehr heikel sein. Theoretisch kann man so die gesamte CRM Datenbank offline ziehen und mit nach Hause nehmen und wenn diese Datei in falsche Hände gerät…

Per Default ist auch kein Verschlüsselung vorhanden. Die Daten sind zwar in einem proprietären Format gespeichert, aber man kommt ziemlich einfach dran (SQL Server Analysis Restore oder Austausch innerhalb der Zip Files – hab es ausprobiert, funktioniert…).

Einzige Möglichkeit einigermassen den Datenschutz zu wahren ist die Verschlüsselung unter Excel (Datei –> Informationen – Arbeitsmappe schützen). Wir wissen aber alle wie sicher Excel Passwörter sind….

Dies jedoch kombiniert mit einer sicheren Dateiablage (z.B. P:\) macht ein Einsatz von Powerpivot etwas sicherer.

Articles

Outlook 2010 – Room Finder Name with special Characters

In exchange,Office on Dezember 13, 2010 von murratore

In Outlook 2010 there is this new feature named “Room Finder”. Really a good thing. To see how to set up this with Exchange 2010 see the excellent article from Icewolf

http://blog.icewolf.ch/archive/2010/04/15/exchange-2010-rooms-roomlist-outlook-2010-roomfinder.aspx

The problem with it is, that if your naming of the Room list in Exchange 2010 has special characters like ü (like Zürich) or è (like Genève) Outlook has a problem with it and displays nothing…..too bad….

Articles

Deploying your VSTO add-ins to All Users (Saurabh Bhatia) – Office Development with Visual Studio – Site Home – MSDN Blogs

In Office,Visual Studio,vsto on November 23, 2010 von murratore

When you want to deploy an Office Plugin programmed with Visual Studio Tools for Office then have a look at this Blog


http://blogs.msdn.com/b/vsto/archive/2010/03/08/deploying-your-vsto-add-ins-to-all-users-saurabh-bhatia.aspx

One important thing which was not said on other articles is that on a 64-Bit OS the Registry Path for the Allusers is somewhere different…

4) Installing on 64-bit Operating Systems

Unlike the HKCU registry hive, the HKLM registry hive for Office add-ins is redirected on a 64-bit Windows OS. So if you are trying to register an add-in with 32-bit version of Office running on a 64-bit OS, the add-ins registry will be under the WOW6432Node. The 32-bit Office running on 64-bit OS will always load the add-ins listed under this key.

e.g. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\application name\Addins\add-in ID

A 64-bit version of Office 2010 on 64-bit OS will always load the add-ins under this key:

e.g. HKEY_LOCAL_MACHINE\Software\Microsoft\Office\application name\Addins\add-in ID

With the ability to directly register and load VSTO add-ins from the HKLM hive on Office 2010, you can easily deploy VSTO add-ins to all users of a machine and no longer need to follow the steps outlined in Misha’s blog

viaDeploying your VSTO add-ins to All Users (Saurabh Bhatia) – Office Development with Visual Studio – Site Home – MSDN Blogs.

Articles

Strange Message on Installing a MSI Package on Citrix

In Microsoft,Office on August 30, 2010 von murratore

When you get this strange Message on Installing a MSI Package (Visual Studio Generated) on Citrix.

"This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of the package to basic."

Look for advise on the link below….


http://blogs.msdn.com/b/smondal/archive/2009/10/13/this-advertised-application-will-not-be-installed-because-it-might-be-unsafe-contact-your-administrator-to-change-the-installation-user-interface-option-of-the-package-to-basic.aspx

Articles

Problems with Outlook VSTO

In Microsoft,Office,Visual Studio,vsto on August 27, 2010 von murratore

Had the problem that my Outlook Code for accessing the opened calenders in Outlook 2010 sent me a mysterious error message (registry / installation problem in outlook. Reinstallation necessary).

After posting this information in the OutlookCode Forum (really good, really experienced people). My first stop in problems.


http://outlookcode.com/threads.aspx?forumid=5&messageid=32109

The problem was that my Application reference was created newly

Microsoft.Office.Interop.Outlook.Application outlookApp = new Microsoft.Office.Interop.Outlook.Application();

After changing the code like below

Microsoft.Office.Interop.Outlook.Application outlookApp = Globals.ThisAddIn.Application;

The code went through without problems…. stupid error… :-(

Articles

Outlook 2010 – Set out of Office Message in c#

In .Net,Office on Juli 30, 2010 von murratore

Here is a source code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using Outlook = Microsoft.Office.Interop.Outlook;
using Office = Microsoft.Office.Core;

namespace OutlookAddIn2
{
    public partial class ThisAddIn
    {
        const string DefaultOOFMessageInternal = "Vielen Dank für Ihre Nachricht. Ich antworte Ihnen nach meiner Rückkehr so rasch wie möglich. Oder rufen Sie uns an, damit sich meine Stellvertretung um Sie kümmern kann.";



        Outlook.Application app;
        Outlook.NameSpace ns;

        private void ThisAddIn_Startup(object sender, System.EventArgs e)
        {
            app = Globals.ThisAddIn.Application;
            ns = app.GetNamespace("MAPI");

            bool OOFState;

            Outlook.MAPIFolder Inbox = ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox);
            Outlook.PropertyAccessor pa = Inbox.PropertyAccessor;

            foreach (Outlook.Store store in ns.Stores)
            {
                if (store.ExchangeStoreType == Outlook.OlExchangeStoreType.olPrimaryExchangeMailbox)
                {
                    OOFState = (bool)store.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x661D000B");

                }

            }

            Outlook.StorageItem InternalOOFMessage;
            InternalOOFMessage = Inbox.GetStorage("IPM.Note.Rules.OofTemplate.Microsoft", Outlook.OlStorageIdentifierType.olIdentifyByMessageClass);

            InternalOOFMessage.Body = DefaultOOFMessageInternal;
            InternalOOFMessage.Save();

            Outlook.StorageItem ExternalOOFMessage;
            ExternalOOFMessage = Inbox.GetStorage("IPM.Note.Rules.ExternalOofTemplate.Microsoft", Outlook.OlStorageIdentifierType.olIdentifyByMessageClass);

            ExternalOOFMessage.Body = DefaultOOFMessageInternal;
            ExternalOOFMessage.Save();


           
        }

        private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
        {
        }

        #region VSTO generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InternalStartup()
        {
            this.Startup += new System.EventHandler(ThisAddIn_Startup);
            this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);
        }
       
        #endregion
    }
}
</< pre>

It is also possible to activate the OOF with this sourcecode.

Articles

Office 2010 – Deploying your VSTO add-ins to All Users

In Office,Visual Studio on Juli 16, 2010 von murratore

Beste und einzige funktionierende Anleitung welche ich gefunden habe zum Deployen von Office 2010 Addins. Mit Clickonce gehts viel einfacher aber so hat mans halt nicht im Griff wie mit einem MSI.


http://blogs.msdn.com/b/vsto/archive/2010/03/08/deploying-your-vsto-add-ins-to-all-users-saurabh-bhatia.aspx

Articles

Internet Explorer: Verhindern dass Office Dokumente im Browser angezeigt werden

In Internet,Office on Februar 26, 2010 von murratore

Der Internet Explorer hat je nachdem die mühsame Angewohnheit, dass Office Dokumente direkt im Browser angezeigt werden, anstatt das Dokument in der normalen Windows Applikation aufzumachen.

Hier ist eine Anleitung wie man das umstellen kann. Dort findet man auch einen Verweis auf den Microsoft KB-Artikel (wo erläutert wird wie man dies mit Registry Einträge umbiegen kann).


http://blogs.technet.com/kclemson/archive/2004/09/08/227202.aspx

Articles

Download details: Office 2010 Beta Developer Training Kit

In Office,whitepaper on Januar 8, 2010 von murratore

Es gibt neu ein Trainingskit für Office 2010.

Folgende Themen werden im Trainingskit vorgestellt:

  • Getting Started with Office 2010 Development
  • Office 2010 UI Customizations
  • Client Workflow
  • Security and Deployment
  • Open XML
  • InfoPath and Forms Services
  • Business Connectivity Services
  • Office 2010 Service Applications
  • Developing BI Applications

Download hier:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=f1599288-a99f-410f-a219-f4375dbe310c

Download details: Office 2010 Beta Developer Training Kit.

Articles

Microsoft Evolution Days

In Events,News,Office,Sharepoint on Dezember 17, 2009 von murratore

Ich war am 3. Dezember an den Microsoft Evolution Days bei Digicomp.

Die Präsentationen findet man hier:
http://www.digicomp.ch/MicrosoftEvolutionDay

Wichtige Präsentation: Office 2010!

Interessantes & Erwähnenswertes

  • Silverlight wird immer zentraler und stark von Microsoft gepusht
  • Service Manager: Beta 2 im Januar; RTM im Mai
  • Virtual Machine Manager: Unterstützung für XEN folgt im Mai
  • System Configuration Manager: neues Release im 2011 welches “bahnbrechend” sein soll
  • Windows 7 wird schon flächendeckend eingeführt bei Grossfirmen (bspw. Swisscom, Unique, Implenia, Suva…)
  • Januar 2010: Beta 1 von SP1 für Windows Server 2008 R2
  • Windows Mobile 7 wird wahrscheinlich an der MIX Konferenz im März 2010 vorgestellt
  • FAST for Sharepoint wird es als Enterprise CAL Besitzer zu einem geringen Aufpreis geben;
  • Viele Informationen rund um Sharepoint 2010 –> wird ein paar echte Killerfeature haben
  • Office 2010: Aktivierung (auch innerhalb der Unternehmung) wird notwendig
Follow

Bekomme jeden neuen Artikel in deinen Posteingang.