Re: Windows API + Hotkey



Well, I took a look at the source code and it is basically a bunch of
calls to the Windows API's. The good news is that API calling is still
allowed in .Net so you basically can use the exact same code as in the
VB6 version. Have you tried just copying and pasting the code into the
vb 2005 IDE? I have found that the easiest way to convert VB6 code -
you could try running the included upgrade wizard but I never had much
luck with it. I would guess you'll need to change a few
deprecated/replaced keywords but it shouldn't be too tough.

Also, here's some websites that will help you figure out what the API
calls do:

www.pinvoke.net
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winprog/winprog/windows_api_start_page.asp

By the way, what does your app actually do? Perhaps there is a better
way than dipping into the API....

Thanks,

Seth Rowe


Rob wrote:
Thanks a lot it would mean a lot to me if you could help


rowe_newsgroups wrote:

Unfortunately, I don't have classic vb installed on my home pc, so I'll
have to print off the source code when I go back to work Monday. I'll
let you know if I figure anything out.

Thanks,

Seth Rowe


Rob wrote:
rowe_newsgroups wrote:

Which part are you having trouble with, the key hooking or finding all
the internet explorer windows?

Thanks,

Seth Rowe


Rob wrote:
Reply Anyone?

Umm everytinhg really all I want to do is upgrade this code to vb.net
but I dont have a clue :(

If you could help I would apreciate it so much

thanks, rob

PS: Bit of a noob to vb sorry

.



Relevant Pages

  • Re: How to read scrolling data in a window?
    ... of an executable program for which you do not have ... and then write MEX code to access the API. ... program for which I don't have source code. ... would have to make requests to the Windows operating ...
    (comp.soft-sys.matlab)
  • Re: Writing screen scraping applications.
    ... >In this I was planning on using Delphi and the WIN Api to accomplish this. ... Windows app is always going to be difficult. ... Do you have access to the source code? ...
    (alt.comp.lang.borland-delphi)
  • Visual C++ 6 and API
    ... progressbar in an item of list-view using only API of Windows ... Show me the source code or link to the page with the source code. ...
    (microsoft.public.vc.language)
  • RE: Reading window messages of another thread
    ... I believe Spy uses this API. ... source code for Spy is in the SDK and therefore you can dump the code to ... There is no .NET equivalent for arbitrary windows. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: newbe about API
    ... Emne: Re: newbe about API ... > I found all these API-CALL strings are finally compiled to ... more than that...and Windows simply takes this to an extreme that this ... DLL, when a weak point is found (which, with Microsoft, is something ...
    (alt.lang.asm)

Loading