Search results for query: *

  1. tempus

    Creating a directory on a shared drive

    JohnH, thanks for being more open minded regarding my question and attempting to offer assistance. jmcilhinney, I'm working on a C# project, writing C# code and while there is clearly something outside of the actual language at play here, I have always read these forums as a place (as a coder)...
  2. tempus

    Creating a directory on a shared drive

    Yeah, I know its not really a C# issue. I'm just completely out of answers and was hoping someone else had seen an issue like this. Thanks
  3. tempus

    Creating a directory on a shared drive

    I have a shared drive mapped to my local as drive Z. Using Windows Explorer, I can create directories in that folder all day long. The moment I try to add a directory from anywhere else, I get an error - A device attached to the system is not functioning. I'd ideally like to create the new...
  4. tempus

    Greatly in need some generics/type inference help

    Excellent response however I realize I wasn't totally clear with the question/snippet. In the real case, the array list itself is a input parameter that then gets enumerated and its elements passed on (in this case tester()) so there is no way to know what object types are in the arraylist (in...
  5. tempus

    Greatly in need some generics/type inference help

    Below is a simple code snippet based on existing code. For the life of me I just cant figure out how to pass that 'item' into the generic method. The error is on line 12 and is telling me the type argument cannot be inferred from the usage. I will admit, I did convert this code from some...
  6. tempus

    Manipulating controls on forms outside of the current app

    So, here it is. The .NET assembly is referencing a COM assembly. That assembly is then referencing another more robust COM assembly. From what I understand, the reason my code is returning a null object on this line Control btn = Control.FromHandle((IntPtr)bar[2]); is because...
  7. tempus

    Manipulating controls on forms outside of the current app

    It's been way too long since I've lurked around here but now I'm back and in need of some help. From my app, I have a reference to a third party library that includes a little popup window. That popup window is very simple, a single combobox and two buttons. I'd like to change the appearance of...
  8. tempus

    Quick question regarding event subscription

    Thanks for the response. Thats essentially what I'm doing now in the ParentChanged event. Here is my ParentChanged event for reference. I was just wondering if the ParentChanged or Load events were the right locations to wire this up. private void selectAction_ParentChanged(object sender...
  9. tempus

    Quick question regarding event subscription

    I have an event on a winform, call it myEvent. On the winform, I have a some condition that raises that event. So far so good. I have a user control ,myUserControl, that I want to subscribe to the parent form event. Where is the best place to wire this up? I currently have it coded so that it's...
  10. tempus

    Question Geolocator GetGeopositionAsync no longer accurate

    Ok, something is definitely going on. Tuesday night, all three of my development PC's were returning latitude and longitude to 6 decimal places of accuracy. Wednesday evening, just running the same build from the day before is returning rounded whole numbers. Can't even say rounded to the...
  11. tempus

    Question How to style the appbar buttons in an 8.1 universal app

    I'm working on my first universal app. Its astronomy related and I thought a nice feature would be to offer the option for a 'night mode' where the entire screen goes from white foreground/black background to red foreground/black background. The only thing I can't get to change is the actual...
Back
Top Bottom