xsharp.eu • [Xide 1.12] MS-Help?
Page 1 of 1

[Xide 1.12] MS-Help?

Posted: Sat Dec 23, 2017 10:53 pm
by FFF
Chris,
you have the convenient Shift-F1 on a keyword, opening a form at msdn, but this nowadays recomends to switch to the api-browser at https://docs.microsoft.com/de-de/dotnet ... work-4.7.1
I couldn't find where you stored the target url, could it be, that this is hard coded ;-?

Anyway, should know better 10min prior to Christmas than to code...
Best wishes to you and the whole team for the coming new year, but first enjoy some happy days with your families!

Karl

[Xide 1.12] MS-Help?

Posted: Sun Dec 24, 2017 5:13 pm
by Chris
Hi Karl,

Nah, still several hours till Christmas, so still time left for programming :)

There is an option about that in PreferencesAdvancedHelp and search URLs. You can put in the "Context Help URL" option this:

Code: Select all

https://docs.microsoft.com/de-de/dotnet/api/?view=netframework-4.7.1&term=%value%
and it should work.

Thanks for the wishes, best wishes also to you and everybody else! Looking forward to an even more exciting (x#-wise) 2018!

Chris

[Xide 1.12] MS-Help?

Posted: Wed Dec 27, 2017 9:01 pm
by FFF
Hi Chris,
first, sorry for not having discovered the entry at "Advanced"...
second, sorry to say, but there's still a problem, Xide opens a floating window with the correct url, but does not show any content.
When i hit "Go", still nothing happens. Same url put into Firefox address line works fine.

Looking forward to 2018, after some days of (heavy) eating and (modest) drinking, live looks encouraging again, even feeling some urge to start coding, to tackle some long standing pains ;)

Karl

[Xide 1.12] MS-Help?

Posted: Thu Dec 28, 2017 2:19 am
by Chris
Hi Karl,

Yeah, sometimes it takes much time for the built-in (standard .Net) webbrowser to open the pages. You can uncheck the option "Local browser", this way the help will open in your default browser program (firefox also for me).

Similar here, plenty eating and since my sister & family has visited us, I'm trying to keep up also on the drinking department, with her German husband (and good friend to me) :)

Chris

[Xide 1.12] MS-Help?

Posted: Thu Dec 28, 2017 8:44 am
by FFF
Hi Chris,
still no go - regardless, if FF is already running or not, when i unset "Local browser" nothing happens at all ;(

Karl
(viewing the falling snow instead <G>)

[Xide 1.12] MS-Help?

Posted: Fri Dec 29, 2017 10:28 pm
by Chris
Ah, I am sorry, you need to also include the "http:" prefix. (The value you put is used as filename to a process object with UseShellExecute = TRUE). So the correct text you must put in the URL editbox is:

Code: Select all

http://docs.microsoft.com/de-de/dotnet/api/?view=netframework-4.7.1&term=%value%
Chris

ps. hey, we also got snow last week! (highway closed etc). But now we're back to almost 20C again :)

[Xide 1.12] MS-Help?

Posted: Fri Dec 29, 2017 11:56 pm
by FFF
Hi, adding the prefix did it, now the local browser is almost instant, thx.
BTW, you might want to edit your post, backslashes won't cut it ;)

Good Night!
Karl

[Xide 1.12] MS-Help?

Posted: Sat Dec 30, 2017 2:55 pm
by Chris
Hi Karl,

Ah, so that was the culprit! Thanks, fixed it now in the message body.

Chris

[Xide 1.12] MS-Help?

Posted: Sat Dec 30, 2017 3:47 pm
by FFF
Thanks, fixed it now in the message body.
Nope, only in the "code" section <s,cr>

Karl

[Xide 1.12] MS-Help?

Posted: Sat Dec 30, 2017 5:22 pm
by Chris
:)