Shortcuts Not Working

Add-in Express™ Support Service
That's what is more important than anything else

Shortcuts Not Working
 
Mark Williams




Posts: 26
Joined: 2010-09-30
I just sent you an email with a sample project attached.

I just re-installed everything on my machine (due to another issue) and I am still having problems. I am on a computer attached to a domain. Could that be causing a problem?
Posted 09 Nov, 2010 23:56:55 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Mark,

Thank you for providing me with a sample add-in project.

Unfortunately I couldn't reproduce the issue on my PC with Internet Explorer 8. But I have noticed that you use an old version of the adxloader.dll. What version and build number of Add-in Express do you have installed?

Anyway, you can download and install a fresh build of Add-in Express from our web site. Please let me know whether it helps.
.NET, Extended MAPI, Windows Phone & RT
Posted 10 Nov, 2010 06:18:17 Top
Mark Williams




Posts: 26
Joined: 2010-09-30
I am using version 6.3 (build 376) which I just downloaded from the site. Could there be some sort of DLL conflict?
Posted 10 Nov, 2010 10:01:31 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Mark,

I suppose no. Could you please share your desktop to me? I will try to investigate the issue online.
.NET, Extended MAPI, Windows Phone & RT
Posted 10 Nov, 2010 10:08:53 Top
Mark Williams




Posts: 26
Joined: 2010-09-30
I can't get Ctrl+C to work on my computer or on a virtual machine I set up that is just running VS2010 and Add-In-Express. I sent an email to the support address with my contact information - let me know when you would like to get access to my PC.
Posted 11 Nov, 2010 11:26:59 Top
Andrei Smolin


Add-in Express team


Posts: 14374
Joined: 2006-05-11
Hi Mark,

On one of my previous systems I was unable to copy/paste between my real and virtual PCs. This occured regularly and the solution was to restart both PCs.

Also, we use Template Phrases for Microsoft® Outlook®, an add-in that helps us pasting typical phrases into our e-mails. And from time to time, that add-in stops pasting the phrases. It looks like the Clipboard becomes corrupted due to some unknown reason. The solution is to restart the PC.

Hope this helps.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
Posted 12 Nov, 2010 03:07:06 Top
Mark Williams




Posts: 26
Joined: 2010-09-30
So as a workaround I am trying to just directly use the onkeypress property in mshtml.DispHTMLDocument. However, when I try to cast from mshtml.DispHTMLDocument to IEAPP.Document or HTMLDocument inside IEModule, I get a NotImplementedException. Any idea why?

I am just about to lose it over this - I have spent days trying to figure this out.

private void IEModule_DocumentComplete(object pDisp, string url)
{
// *** Always raise the ContextMenuClicked event
// *** Using Custom Event Object - No Mouse Lockups
Handler.DHTMLEventHandler handler = new Handler.DHTMLEventHandler(HTMLDocument);

handler.Handler += new Handler.DHTMLEvent(this.Browser_OnKeyDown);

((mshtml.DispHTMLDocument) IEApp.Document).onk eydown = handler;
}


Which is calling:
class Handler
{
///
/// Generic HTML DOM Event method handler.
///
public delegate void DHTMLEvent(IHTMLEventObj e);

///
/// Generic Event handler for HTML DOM objects.
/// Handles a basic event object which receives an IHTMLEventObj which
/// applies to all document events raised.
///
public class DHTMLEventHandler
{
public DHTMLEvent Handler;
HTMLDocument Document;

public DHTMLEventHandler(HTMLDocument doc)
{
this.Document = doc;
}
[DispId(0)]
public void Call()
{
Handler(Document.parentWindow.@event);
}
}

}
Posted 15 Nov, 2010 11:24:25 Top
Sergey Grischenko


Add-in Express team


Posts: 7202
Joined: 2004-07-05
Hi Mark.

Why don't you use the ADXIEHTMLDocEvents component to connect to events of the active document? You can also use the ADXIEHTMLEvents class to manually intercept events of different html elements.
Posted 17 Nov, 2010 04:25:42 Top