User Profile

Collapse

Profile Sidebar

Collapse
chrisli
chrisli
Last Activity: Jul 28 '09, 06:34 AM
Joined: Nov 13 '08
Location: Germany
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I dont know, how is your code build up...but..why don't you use a loop, to go through all the files and after every file you can set your label text or something like that.
    See more | Go to post

    Leave a comment:


  • chrisli
    replied to OWC11 AxChartSpace - Colors
    in .NET
    I'll try to. But beware, i'm still a beginner. ;)
    See more | Go to post

    Leave a comment:


  • chrisli
    replied to OWC11 AxChartSpace - Colors
    in .NET
    Finally, i got it. What a mess. ;)

    Here's the code:

    Code:
    myChart.Charts(0).SeriesCollection(0).Points(1).Interior.Color = "red"
    myChart.Charts(0).SeriesCollection(0).Points(0).Interior.Color = "green"
    myChart.Charts(0).SeriesCollection(0).Points(2).Interior.Color = "yellow"
    This took me so much time, just for finding out, that the added Categories are named...
    See more | Go to post

    Leave a comment:


  • chrisli
    replied to OWC11 AxChartSpace - Colors
    in .NET
    Hi,
    thanks for your answer.

    You are right, with your posted code, i can change the Chart Categories colors, but only in ONE Color. Picture: http://www.pictureupload.de/pictures...artcolors2.JPG

    Any additional ideas?

    Greetings from Germany.
    See more | Go to post

    Leave a comment:


  • chrisli
    started a topic OWC11 AxChartSpace - Colors
    in .NET

    OWC11 AxChartSpace - Colors

    Hi,
    i'm using the OWC11 AxChartSpace Component for a little statistic.
    Everything works great, but i'm not very happy with the used colors in the ChartPie, so i want to change them.

    So it looks like at the moment: http://img249.yfrog.com/i/chartcolors.jpg

    For example i want to change the color of the "unbestätig t" Value, to green..but i have absolutely no idea how to do this. I only found...
    See more | Go to post

  • Ok, i'm an idiot. :)

    Here's the solution:

    Code:
            AddHandler Microsoft.Win32.SystemEvents.SessionSwitch, _
     AddressOf SystemEvents_Sessionswitch
            Console.ReadLine()
            RemoveHandler Microsoft.Win32.SystemEvents.SessionSwitch, _
     AddressOf SystemEvents_Sessionswitch
    The AddressOf was missing. :)
    See more | Go to post

    Leave a comment:


  • chrisli
    started a topic Windows lock/unlock (with code)

    Windows lock/unlock (with code)

    Hi everyone,

    i'm trying to Handle the Micosoft.Win32. SessionSwitch Event, so when Windows is going to be locked by the user, i will simply write a line to the console.When it's going to be unlocked, the same.

    Here's the code:
    Code:
        Sub Main()
            AddHandler Microsoft.Win32.SystemEvents.SessionSwitch,
    _ SystemEvents_Sessionswitch()
            Console.ReadLine()
            RemoveHandler
    ...
    See more | Go to post
    Last edited by chrisli; Mar 5 '09, 07:49 AM. Reason: solved

  • I found a solution :)

    After i went through every Item i do this:

    Code:
    If objRecip.Resolved Then
    objFolder = objNS.GetSharedDefaultFolder(objRecip, Outlook.OlDefaultFolders.olFolderCalendar)
    
    For x As Integer = 1 To objFolder.Items.Count
    
    'Same code as above...
    
    End If            
    
    'Quit the Session when every item is added.
            
    objolApp.Quit()
    ...
    See more | Go to post

    Leave a comment:


  • chrisli
    started a topic VB.NET, App - How can i close an Outlook Item?
    in .NET

    VB.NET, App - How can i close an Outlook Item?

    Hey,
    i have written this code to read all Outlook Appointments from another user and fill them into my DGV.

    Code:
    Public Sub ReadOtherUserAppointment(ByVal UserName As String)
            Dim objolApp As New Outlook.Application
            Dim objNS As Outlook.NameSpace
            Dim objRecip As Outlook.Recipient
            Dim objFolder As Outlook.MAPIFolder
            objNS = objolApp.GetNamespace("MAPI")
    ...
    See more | Go to post

  • chrisli
    replied to VB.Net, App - MAPI.Session as "foreign" User?
    in .NET
    Solved it :)

    Here you go :)
    Code:
    Public Sub ReadOtherUserAppointment()
            Dim objolApp As New Outlook.Application
            Dim objNS As Outlook.NameSpace
            Dim objRecip As Outlook.Recipient
            Dim objFolder As Outlook.MAPIFolder
            Dim UserName As String = "m.mustermann" 
    
            objNS = objolApp.GetNamespace("MAPI")
            objRecip
    ...
    See more | Go to post

    Leave a comment:


  • chrisli
    started a topic VB.Net, App - MAPI.Session as "foreign" User?
    in .NET

    VB.Net, App - MAPI.Session as "foreign" User?

    Hello,

    i'm trying to make an Application which can get every Calendar entry from a FOREIGN User in Outlook on a Exchange 2003 Server.

    At the moment i can only get my own calender entries. But i need to get the Entries from another User.

    Here's my actually code:

    Code:
    Dim osession As New MAPI.Session
    Dim vEmpty As Object = System.Reflection.Missing.Value
    
    osession.Logon(vEmpty,
    ...
    See more | Go to post
No activity results to display
Show More
Working...