Search:

Type: Posts; User: TheUsed

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds; generated 3 minute(s) ago.

  1. MsOf07 Re: ActiveX Command Button Click Event Does Not Fire.

    Koolsid, Thank you for your reply.

    I am fully aware of what you provided.

    My issue is beyond that.

    Basically when I download the document, which is derived of the template, it provides me...
  2. MsOf07 ActiveX Command Button Click Event Does Not Fire.

    I can't seem to find a way to get the command button on my word template to fire off the Click event. When creating a new document based off the template the "ThisDocument" code does not fire, and...
  3. VS 2010 Re: Creating EventLog sources dynamically, requires a reboot if you wish to use a...

    I wonder if I need to exit VStudios then, because running and stopping my app doesn't resolve the issue. I'll see if this is the case.

    Alternatively, do you have any ideas on how I can prevent...
  4. VS 2010 Creating EventLog sources dynamically, requires a reboot if you wish to use a...

    I would like to create an EventLog for my application, let's call it "myApp Log". I then want to include a source which will be different depending on my service name. For instance, I have two...
  5. VS 2010 Re: Suggestions on encrypting and decrypting password strings.

    I store it to another string variable and then put it into a networkcredential object. I understand that putting it into a variable in plain text defeats my argument about someone trying to get that...
  6. VS 2010 Re: Suggestions on encrypting and decrypting password strings.

    Hmm not really the response I was expecting.

    I don't require it to be that secure, I am wondering if it's possible. If so, how would it be done? If not, how would you do it?

    Surely, someone...
  7. VS 2010 Suggestions on encrypting and decrypting password strings.

    I have an application that has the hard coded encrypted version of a password. I then decrypt it and store it into a variable for use later on. My issue is that I encrypted it with a certificate as...
  8. VS 2012 Re: [RESOLVED] Can't start Snipping Tool from code

    I am glad you found your solution. I am very confused as to how this happened for me. Never have it happen, when no loop was deliberately causing this.
  9. VS 2012 Re: [RESOLVED] Can't start Snipping Tool from code

    Was this some kind of sick joke? I was going to help you out, but when I took this code and create a console app to run it, it failed. So instead I changed the first process.start command to...
  10. VS 2010 Re: Help with dynamically naming my service upon install.

    I got it to work finally! I admit this had taken far longer than necessary, and as soon as I started to debug the live installation process I was able to narrow down the issue.

    The code I had...
  11. VS 2010 Re: Help with dynamically naming my service upon install.

    I was able to clear up the issues with the IDE throwing a fit about the designer code. I placed my code into it's own procedure and called that procedure from the override of Install and Uninstall....
  12. VS 2010 [RESOLVED] Help with dynamically naming my service upon install.

    Hello,

    I am trying to read my application configuration file so that I can pull the name of the service so that when I install the service, my service installer will provide the name for the...
  13. Re: How can I delete a structure from a list of structure.

    I just got back from lunch, and have reviewed all the suggestions. I think using clear will be most beneficial, and if not i'll use a for next loop and loop backwards.

    Thank you!
  14. Re: How can I delete a structure from a list of structure.

    If I remove it after the for each _attachments loop then it works for the first item in the list, but not the second.
  15. Re: How can I delete a structure from a list of structure.

    I failed to mention that I need to remove it after I process the item and the code looks like this:


    For Each email As EmailDetails In EmailDetails
    Debug.Print("Processing...
  16. [RESOLVED] How can I delete a structure from a list of structure.

    I need to remove an instance of a structure from a list of structure after I have processed items.

    I am unsure how I can accomplish this.

    for instance :




    Public Structure EmailDetails
  17. Re: Converting a keystroke to UpperCase?

    Would ucase(string) work?
  18. VS 2010 Re: [RESOLVED] NullReferenceException occured. Was working until I made some changes

    I was actually sleeping the main thread because it's a service that I am running and testing in the IDE, rather than installing/uninstalling the service over and over.

    As for the issue, it was #2...
  19. VS 2010 Re: [RESOLVED] NullReferenceException occured. Was working until I made some changes

    Thank you TG, but I tried that way and was unable to view my onStart methods. I was trying to figure out why my service would start and stop immediately.

    I had to result to using:

    ...
  20. VS 2010 Re: NullReferenceException occured. Was working until I made some changes

    Dunfiddlin, thank you for your response. I came back to post that I made a mistake when moving everything to my main class. I put the addhandler in the OnStart procedure, and this doesn't get...
  21. VS 2010 [RESOLVED] NullReferenceException occured. Was working until I made some changes

    I used to be able to call an event that was within a different class. I then made everything in my main class and am using a background thread to do all the work while the main thread is on an...
  22. VS 2010 Re: How to check for existing items in a list of a public structure

    good point, thank you.
  23. VS 2010 Re: How to check for existing items in a list of a public structure

    Never mind I was able to get it to work. I had to pass _emailDetails to my structures function.

    Here is the code:

    Public Structure EmailDetails
    Private _ItemID As ItemId
    ...
  24. VS 2010 Re: How to check for existing items in a list of a public structure

    I am still having a hard time querying _emailDetails.Cast(Of EmailDetails)

    I can't get i to provide any of my variables.
  25. Replies
    9
    Views
    1,359

    VS 2010 Re: [RESOLVED] InvalidCastException but is it?

    Thank you! I will give this a try, I was unaware of the proper usage of SingleorDefault.
  26. VS 2010 How to check for existing items in a list of a public structure

    How can I check a potential new record against existing records in a list?

    I have this code.

    Public Structure EmailDetails
    Private _ItemID As ItemId
    Private _from As String
    ...
  27. VS 2010 Re: NullReferenceException and I don't know why.

    Ok, so I swear it failed when I instantiated it like the above example... now it's not... interesting. Otherwise I wouldn't have made a post for this lol. I may have goofed, needless to say it is...
  28. VS 2010 Re: NullReferenceException and I don't know why.

    I noted above, that when I did do this, it fails with the same error.

    By the way, I like the little bug in your signature... it caught my attention. :)
  29. VS 2010 Re: NullReferenceException and I don't know why.

    I'm confused, because this is what worked



    Private _listOfItems As List(Of Item)

    ''' <summary>
    ''' This will check for ItemAttachments and then add them to _listOfItems(Of Item).
    ...
  30. VS 2010 Re: NullReferenceException and I don't know why.

    I haven't shown the code where I did instantiate it, but when I did the same issue occurred.

    Here is that code:

    Private _listOfItems As New List(Of Item)
  31. Replies
    9
    Views
    1,359

    VS 2010 Re: [RESOLVED] InvalidCastException but is it?

    I actually don't need to pass in more than one, just a single value because I am only watching for changes to a single folder. folderEvent will always only contain a single item, that is unless...
  32. VS 2010 [RESOLVED] NullReferenceException and I don't know why.

    I am getting a nullreferenceexception when I try running this code below.

    Private _listOfItems As List(Of Item)

    ''' <summary>
    ''' This will check for ItemAttachments and then add the...
  33. Replies
    9
    Views
    1,359

    VS 2010 Re: InvalidCastException but is it?

    Thank you for mentioning that about FolderEvent. I was aware that I am only passing a single value, but for some reason I couldn't get it to work with the lambda expression. I am still new to the...
  34. Replies
    9
    Views
    1,359

    VS 2010 Re: InvalidCastException but is it?

    Thank you!!

    I was working on my next reply and each time I came up with an idea, I would make the change and fail at the solution. I changed FolderEvent back to list, because I wasn't accepting...
  35. Replies
    9
    Views
    1,359

    VS 2010 [RESOLVED] InvalidCastException but is it?

    I am trying to raise an event upon detection in changes to my EWS PullSubscription.

    This is my code.





    Public Delegate Sub pullSubscriptionEventHandler(ByVal subscription As...
  36. VS 2010 Re: Threadpooling, async writing, batch processing.

    I'll have to close this thread as I went away from using the plugin and instead started to create my own EWS PullSubscription process to check for emails and save the attachments myself.
  37. Replies
    6
    Views
    1,862

    Re: Custom EWS Class - FindFolders help

    I will see what I can do to resolve this. I am new to LINQ though, so it's really just plug and play.
  38. Replies
    6
    Views
    1,862

    Re: Custom EWS Class - FindFolders help

    Unfortunately that doesn't work :(

    It throws the error found below:

    103071
  39. Replies
    6
    Views
    1,862

    Re: Custom EWS Class - FindFolders help

    I was able to shorten it by using the below code, but I can't get it to work 100% how I want it too.


    For Each mType As FindFolderResponseMessageType In findFolderReponse.ResponseMessages.Items...
  40. Replies
    6
    Views
    1,862

    Re: Custom EWS Class - FindFolders help

    I accomplished it by implementing the below code. How else can I achieve this using the API calls similar to the comment of the findFolderResponse variable above.

    For Each mType As...
Results 1 to 40 of 499
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width