English 中文(简体)
如何检查用户是否在使用Wdevexpress xtrascheduler启动日历表之前安装了管理系统展望。
原标题:how to check if user has MS outlook installed before launching a calendar sync using devexpress xtrascheduler
  • 时间:2012-04-10 06:10:26
  •  标签:
  • devexpress

我应用了DevExpress XtraStoruler技术,即Load与申请日历和我对我的桌面的当地管理展望同步。 然而,我很想知道,用户DOES NOT是否对其机器有管理观,而且该特定用户的桌面上第一次有管理上的一些新错误(或应当)会发生我所想象的。

您认为,如何实际进行核对或处理错误,以适应类似情况——告诉用户,没有发现任何管理系统展望?

Thank you in advance and kind regards geoNeo

PS-我正在使用VS 2010,C#方案

最佳回答

见该文件的本页。

http://documentation.devexpress.com/#vilForms/CustomDocument3937

尤其是,<代码>OutlookExchangeHelper类别应当给你所有必要的东西。

问题回答

here is some code that will do two things: 1) Check if it s installed 2) Get the version number that s installed

希望这一帮助

Imports Microsoft.Win32
Module Outlook


    Public Class Outlook
        Public Shared Function isInstalled() As Boolean
            Dim regClasses As RegistryKey = Registry.ClassesRoot
            Dim rtn As Boolean

            Dim reg As RegistryKey = regClasses.OpenSubKey("Outlook.Application")
            If reg Is Nothing Then
                rtn = False
            Else
                rtn = True
            End If
            reg.Close()

            Return rtn
        End Function

        Public Shared Function version() As String
            Dim rtn As String = ""
            Dim objApp As Object

            If isInstalled() Then
                objApp = CreateObject("Outlook.Application")
                rtn = objApp.Version
            End If

            Return rtn
        End Function
    End Class
End Module




相关问题
How to do word wrap in a DevExpress TcxGrid?

I ve got a long line of text that would be a lot easier to view if it would just word wrap around multiple lines, but I can t seem to find the option for it. Does anyone know how to enable word-wrap ...

XtraPivotGrid dynamic dataset creation

I already have a dynamic XtraPivotGrid creation, but the table adapter and the dataset are 1(one) table specific. I want to be able to get data from a table specified by user, but I can t see a way of ...

WPF Devexpress ComboBoxEdit Items

i use devexpress comboBoxEdit component in my WPF app. I assign values for it like this: private void Users1_Load() { DataTable dtCat = SqlHelper.GetTable("base_UserCategory_Select", new string[] ...

WPF comboBoxEdit

i Have problem with WPF comboBoxEdit. I load values it it like this: comboBoxEdit1.ItemsSource = dtCat.DefaultView; Values are loaded, everything works good, but when i select some value from ...

How to get row index of the selected cell in WPF grid

Does anyone knows how to get row index of the selected cell in DevExpress WPF grid? In WinForms it was something like that: dataGridViewControll.SelectedCells[0].RowIndex;

Recommended ASP.NET Grid and UI tools [closed]

We are building a web application using C# and SQL server. We are thinking about buying the DevExpress ASP.NET controls. Anybody have any opinions about this tool or have any they would recommend?

TextBoxColumn in DevexpressGridControl (WPF)

In Windows grid is sucha a thing like DataGridViewTextBoxColumn col = new DataGridViewTextBoxColumn(); Is something like that in DevExpress GridControll for WPF?Or maybe is possible to do some ...

热门标签