Page 1 of 3
MSDNOnlineHelp for PB4 IDE
Posted: Tue Feb 07, 2006 2:57 pm
by ts-soft
Code updated for 5.20+
This is a little IDE Tool.
It search on MSDN (Internet) for the word under the cursor in the IDE
Only add it to the "Tools" and give a shortcut like Ctrl + F1, and using '%WORD' for its arguments.
Code: Select all
Define.s Word
Word = GetEnvironmentVariable("PB_TOOL_Word")
If Word
If Right(Word, 1) = "_"
Word = Left(Word, Len(Word) -1)
ElseIf Left(Word, 1) = "#"
Word = Right(Word,Len(Word) -1)
EndIf
RunProgram("rundll32.exe","url.dll,FileProtocolHandler http://www.google.de/search?q=site:msdn.microsoft.com+msdn+win32+" + Word + "&btnI=true", "")
EndIf
You can't test the source, only the exe as tool!!!
Posted: Tue Feb 07, 2006 5:52 pm
by einander
Thanx!
Very useful!
Posted: Tue Feb 07, 2006 6:44 pm
by va!n
thanks for sharing it! very nice feature!
Posted: Tue Feb 07, 2006 7:42 pm
by Berikco
Cool

Posted: Tue Feb 07, 2006 7:56 pm
by ts-soft
My biggest project in PB4 Beta 1

Posted: Tue Feb 07, 2006 8:02 pm
by Fred
works nicely

.
Posted: Tue Feb 07, 2006 8:32 pm
by Flype
Very handy. Thank you.
Just a little question : what's the difference between :
Code: Select all
RunProgram("rundll32.exe","url.dll,FileProtocolHandler http://www.google.de/search?q=site:msdn.microsoft.com+msdn+win32+" + Word + "&btnI=true", "")
And
Code: Select all
RunProgram("http://www.google.de/search?q=site:msdn.microsoft.com+msdn+win32+" + Word + "&btnI=true")
I guess that first one is api-dependant, but what else ?
Posted: Wed Feb 08, 2006 6:23 am
by ts-soft
It's use the same FileProtocolHandler, as the IE. Webserver from M$ are optimized for IE. I hope it's give better results

Posted: Wed Feb 08, 2006 12:09 pm
by Flype
Yes but if my default browser is FireFox or Opera, it actually continue to open it in my defaut browser. :roll:
Re: MSDNOnlineHelp for PB4 IDE
Posted: Wed Feb 08, 2006 12:43 pm
by PB
Made this topic Sticky because it's an important tool for Windows users.
@Fred: Grrr!

Posted: Thu Feb 09, 2006 1:26 pm
by Kale
VERY NICE TIP!

Re: MSDNOnlineHelp for PB4 IDE
Posted: Thu Feb 09, 2006 1:50 pm
by Fred
PB wrote:Made this topic Sticky because it's an important tool for Windows users.
@Fred: Grrr!

With the IDE, you have a special access to the whole MDSN if you install it and remove the Win32.hlp from the help directory.
Posted: Thu Feb 09, 2006 2:00 pm
by ts-soft
Microsoft SDK has 920 MB
My Tool ...

Posted: Thu Feb 09, 2006 2:01 pm
by Fred
It's still a must have if you want to do serious development

Posted: Thu Feb 09, 2006 3:17 pm
by NoahPhense
Fred wrote:It's still a must have if you want to do serious development

I have the Platform SDK, 2 win32.dll's, the old one and the new one.
ASM - Optimizing.hlp
ASM.hlp
FPU.hlp
and a few others.. can't have enough docs around.
- np