Search results for query: *

  1. H

    Question SendMessage win32 API

    Ok, so I managed to get it to work in VBA, it ran second time with the exact same code except converted Intptr's to longs. I still have a feeling that int64 is confusing it though, as an IntPtr will give me a int64 on a 64 bit OS because its a platform specific struct, and so will a long. VBA's...
  2. H

    Question SendMessage win32 API

    Ah i see, the original API call reference that I used said type [Any] on lParam, which I assumed meant that I could change it to a string at the time. The MSDN reference then contradicted that when I read it, hence why I got confused, To be honest, the code does actually work, it works if I use...
  3. H

    Question SendMessage win32 API

    Thanks for the response, just tried as suggested and still no luck unfortunately. lParam is usually a int32 or intPtr according to the MSDN source you listed. The interesting thing with this is that if I change the handle to an empty notepad window, it works. below is me showing that all my...
  4. H

    Question SendMessage win32 API

    Hi ladies and gents, I have been making something which harvests data from a sybase system which is linked through MS Access. It is a terrible system in the making, but unfortunately i do not have any better way to do it in the environment I have, as the access DB is needed by a whole bunch of...
Back
Top