Re: Windows API + Hotkey
- From: "rowe_newsgroups" <rowe_email@xxxxxxxxx>
- Date: 22 Jan 2007 12:51:52 -0800
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
.
- Follow-Ups:
- Re: Windows API + Hotkey
- From: Rob
- Re: Windows API + Hotkey
- References:
- Windows API + Hotkey
- From: Rob
- Re: Windows API + Hotkey
- From: Rob
- Re: Windows API + Hotkey
- From: rowe_newsgroups
- Re: Windows API + Hotkey
- From: Rob
- Re: Windows API + Hotkey
- From: rowe_newsgroups
- Re: Windows API + Hotkey
- From: Rob
- Windows API + Hotkey
- Prev by Date: Re: There is already an open datareader with this command which must be closed first
- Next by Date: Re: There is already an open datareader with this command which must be closed first
- Previous by thread: Re: Windows API + Hotkey
- Next by thread: Re: Windows API + Hotkey
- Index(es):
Relevant Pages
|
Loading