|
Not interested in going through the process of looking for another job.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Quote: Not interested in going through the process of looking for another job.
Understood!
But then you better suck it up and stop complaining!
Get me coffee and no one gets hurt!
|
|
|
|
|
World's gonna end soon anyway, so it won't matter.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Quote: World's gonna end soon anyway
You are so right, my friend. We may have a socialist for president next!
Get me coffee and no one gets hurt!
|
|
|
|
|
Well, it's relatively easy to at least get the window's handle...
new System.Windows.Interop.WindowInteropHelper(Window.GetWindow(depObj)).Handle
And you could always make an extension method with whatever signature you need...
public static IntPtr GetHwnd(this DependencyObject depObj)
{
return new System.Windows.Interop.WindowInteropHelper(Window.GetWindow(depObj)).Handle;
}
Shove that in a static class somewhere, and you're set... Bit easier than adding a base class to the tree.
EDIT: Oh, and don't whine to me about VS2013... I'm still on VS2010 for almost three years now... Expecting to get VS2015 soon, though
|
|
|
|
|
It would still be hella more convenient to create a base class, but as stated earlier, it completely destroys the designers ability to cope. As it is, I have the required interface stuff in a code snippet, but it's still a 4/5 step process to implement it in the desired window classes:
- derive from interface
- add code interface implementation code snippet
- add handler for Loaded event so I can add a hook for the source
- add a destructor for class to unhook source
- add a common method to handle the stuff I have to do when the user clicks cancel button (the Cancel button handler isn't called when the user clicks the system menu close button)
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Or intercept the constructor instead...
... = new YourWindowClass()
...becomes...
... = Util.CreateWindow<YourWindowClass>()
Then that function hooks whatever events it needs. The designer constructs the window itself, so it would never see that code.
|
|
|
|
|
IE deserves a very special place in the software hell dungeon
censored Microsoft, censored censored censored censored you
Okay, because my current customer uses Microsoft Outlook web app - I have to as well. I would use desktop outlook, but the last time IT "helped" me make it work with Exchange, well, it wasn't pretty.
So, I'll have IE up - maybe 4 or 5 tabs (something going on in the background iow), I'll be 90% done with an email in the web app, and bammm - IE has stopped responding. There goes my email.
I have all patches, and I am running the latest. I DO have ad blocker on, and I am wondering if this is payback?
I'm stuck with using IE for the time being - anyone have any debug suggestions?
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
charlieg wrote: I DO have ad blocker on
Might one respectfully suggest that you try it with it not on then, you degenerate, Internet wrecking freeloader!
I am not a number. I am a ... no, wait!
|
|
|
|
|
|
This is exactly why I don't use Edge...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
griff - it's not edge, it's IE11. Edge is worse, as I'm stuck in plain text. Hell, guess I could go back to unix email. You know, those days where you could not get a virus from opening an email?
I'll try and turn off ad blocker and see what happens. Of course, all the popups might make me punch my laptop, so it's a trade off.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
My Ad-Blocker (admittedly, part of FireFox), allows you to create a whitelist of sites. That could be a tad better than just turning the thing off (at least after your test).
But, as noted in Basildane's post, OWA works in other browsers: I use it in FireFox. It still sucks, mind you, but it works. In particular, the time-out is way too short so I end up having to log in after composing an email: twice.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
lol, dang it, coffee off the keyboard...
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
There is no reason to use IE just because you are using OWA. I run several Exchange installations and I have never used IE with them. I use FireFox when I need to test OWA.
And what was the problem you had with Outlook? If autoconfigure is properly configured on the server, you should just type in your email address and password and it just works.
|
|
|
|
|
I don't run the server, I just have to use it. Company just updated to Exchange 2010. I was told that if you want some of the formatting, etc. IE was the only way to go. That said, the problem is that IE11 crashes constantly (2-3 times a day). If I'm in the middle of a long email, it's gone.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Small thermo nuclear device?
New version: WinHeist Version 2.2.2 Beta tomorrow (noun): a mystical land where 99% of all human productivity, motivation and achievement is stored.
|
|
|
|
|
Write your email in notepad and quickly c&p it into Outlook.
Marc
|
|
|
|
|
You know Marc, that's just sad. I had the same thought.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
That's not "sad", that's the voice of experience.
It's exactly what I do if I find myself on a machine that doesn't have a proper email client installed.
[Edit] It's also what I recommended to a buddy of mine who somehow kept "accidentally" finding the Back button's keyboard shortcut when composing a long email in a browser.
|
|
|
|
|
It'll be a long time still before I move away from a proper email client app running locally and I start writing email in a browser, for anything more than a one-line reply.
I'm pretty sure I posted the exact same message somewhere 10+ years ago.
|
|
|
|
|
charlieg wrote:
So, I'll have IE up - maybe 4 or 5 tabs (something going on in the background iow), I'll be 90% done with an email in the web app, and bammm - IE has stopped responding. There goes my email. Since you know this is going to happen, why not compose your email in Notepad, then copy/paste it into IE and click Send?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
The point of this post was to rage (and wonder if anyone else has "internet explorer stopped working" issues with possibly ad blocker. Not work around it
Anyway, I'll file another support request to see if I can get desktop outlook working again.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Learn the outlook API's and write your own client.
i cri evry tiem
|
|
|
|
|
I use IE (8.0.7601.17514) to a very successfully add-free view of most everything I need to see on a day to day basis.
My take on advertisement flashes and video (censored (you got that right teatote)) is that the first idiots onboard any new version of a programming paradigm that ups their ability to blind users landing on their site is a paradigm they want to deploy immediately.
Not kidding.
Now a cat ... but, hey.
|
|
|
|