Recent content by jwcoleman87

  1. J

    Fetching a Calendar in Outlook

    I found a resource that seems to agree with what you are saying: http://www.outlookcode.com/codedetail.aspx?id=1836 It looks like this guy is looking for a folder using "SharePoint Lists" in the Application's namespace. then he goes and finds the Calendar folder in that.
  2. J

    Fetching a Calendar in Outlook

    Hmm, will have to try that, but it was my impression (given by the message box) you see in my original code that oCalendar was a calendar "folder", which contains calendar things in it. Not a "folder of" calendars. The message box in my sample code returns "Calendar" Which you can see that...
  3. J

    Fetching a Calendar in Outlook

    Hello all, something I thought would have been super easy, but after exhausting the google search engine I am coming up dry. I am able to get my default calendar no problem: Imports Microsoft.Office.Core Imports Microsoft.Office.Interop.Outlook Imports Microsoft.Office.Tools.Outlook Public...
  4. J

    How I parsed a really long email to collect ~20 values

    Today when I came in there were over 300 dispatches recorded in the database. This seems to be an extremely effective solution. In case anyone was wondering this is in the add-in dev forum because I use linq to DASL to read the outlook data file and other outlook handlers to capture emails to...
  5. J

    How I parsed a really long email to collect ~20 values

    We have now recorded over 80 entries into the database since the time I posted "It Works" above. Thanks very much. I will keep you all posted on any awesomeness which will end up coming out of this.
  6. J

    How I parsed a really long email to collect ~20 values

    It works!!! So I created the extension module as you described: Imports System.Runtime.CompilerServices Public Module TTDispatchExtensions <Extension()> _ Public Function FromText(ByVal extInstance As TTDispatch, ByVal text As String) As TTDispatch Dim thisType =...
  7. J

    How I parsed a really long email to collect ~20 values

    Oh that's really cool. I'm starting to feel like I'm starting to learn beyond the basics with you guys. Thank you!
  8. J

    How I parsed a really long email to collect ~20 values

    Herman wow, just wow! This is definitely a cleaner and more scalar solution! Question, what if my dispatch object was a Linq object, could reflection still be used to create this object? See this: Once instantiated, all of the properties I need are in this table, and have already been...
  9. J

    How I parsed a really long email to collect ~20 values

    And apparently 115 errors is actually x amount of errors for every Linq lambda I use + another 100. Good Lord.
  10. J

    How I parsed a really long email to collect ~20 values

    Firstly, option strict on has created 115 errors in my program. This may take me a little time to resolve. For science!
  11. J

    How I parsed a really long email to collect ~20 values

    Hi Ian and John, thank you for your suggestions. I will be making some changes today. I will post some updates when it is all cleaned up. Thanks, Jonathan Coleman
  12. J

    How I parsed a really long email to collect ~20 values

    Public Function GetDispatchInformation(data As String) As Dispatch Dim NewDispatch As New Dispatch Dim sb As New StringBuilder Dim wordDelimiters() As Char = New Char() {vbCrLf} Dim wordDelimiters1() As Char = New Char() {":"c} Dim counter As Integer = 1...
  13. J

    Linq to DASL

    Just wanted to post some success I've been having with Linq to DASL. I am able to screen my inbox for messages with certain criteria (defined in the database), and then based off of the information provided from the email apply changes to the production database. In this case, we receive...
  14. J

    Linq to DASL

    Again, more apologies, after some more noobing around i found out what I was missing: Private Sub ThisAddIn2_Startup(sender As Object, e As System.EventArgs) Handles Me.Startup Dim folder = Application.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox) Dim...
  15. J

    Linq to DASL

    After some noobing around i got some code together that actually works (I think). But that's the problem. Now I need to figure out how to debug this. I've tried attaching to my outlook.exe process, and it appears to work, but my breakpoints aren't hitting. Any words of advice here...
Top Bottom