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)...
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...
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.