Paul,

I'll be nice..........so I'll have to make it short before it wears off

I have had strange things happen that I resolved with
    ReturnVal = getasynckeystate(KeyValue)

It is defined in "User32.lib"
Here's M$ link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui
/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboar
dinputfunctions/getasynckeystate.asp
or goolge it

ReturnVal is a "dummy" integer and means nothing other 0 nothing otherwise
the keycode
KeyValue is 27 (decimal) which is the Escape Key code

Why it worked, I dont know but I put it before doing "find" and "select"

If it helps fine but if not ....
then try Delphi..........[dodging items head at face]........couldn't resist




Trey Pattillo
[EMAIL PROTECTED]
www.wap3.com
N27.799013 W-97.665322

----- Original Message -----
From: "CRISP, Paul -Syntegra UK" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 05:43
Subject: MI-L OLE - Method ~ of object failed


> All -
> "Method ~ of object ~ failed" (occasionally "Method ~ of object IMapInfo
> failed")
>
> We get this error every now and then (running VB6 driving MI7) - its not
> predictable but seems to trash MapInfo - the EXE is still running but the
> OLE interface methods are broken.
>
> Is it an assynchronous processing issue? IE MI getting commands to execute
> before its finished the previous one(s). Apparently its a common COM error
> to do with error reporting but I can't seem to reset the MI error handler
> and the users just have to give up and start again.
>
> Has anyone else hit this and what did they do? Trey Patillo will say "Gave
> up on VB and used Delphi" of course :-)
>
> PS since people are quoting daft poetry lately, here is a Brooklyn ditty
>
> Toity doity boids
> Sittin on da koib
> A'choipin and a'boipin an a'eatin doity woims
>
>
>
> Paul Crisp
>
> Syntegra
> Innovation Place Delta Bank Road Newcastle NE11 9DJ
> Tel 0191 461 4522 Fax 0191 460 1987
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 07 March 2003 11:30
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: MI-L OT - Hall of Shame: GIS spam
>
>
> > Spring has sprung
>
> The grass has ris
>
> [etc]
>
> Best wishes
> Alan Pritchard
> The GLOBAL GAZETTEER: the world on file
> http://www.allm-geodata.com
> Tel: +44 (0) 1202 417 477
>
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 5824
>
>
> ********************************************************************
>
> This email may contain information which is privileged or confidential. If
you are not the intended recipient of this email, please notify the sender
immediately and delete it without reading, copying, storing, forwarding or
disclosing its contents to a
> ny other person
> Thank you
>
> Check us out at http://www.syntegra.com
>
> ********************************************************************
>
>


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 5840

Reply via email to