[Xide 1.12] MS-Help?

This forum is meant for questions and discussions about the X# language and tools
Post Reply
FFF
Posts: 1581
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

[Xide 1.12] MS-Help?

Post 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
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
User avatar
Chris
Posts: 4922
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

[Xide 1.12] MS-Help?

Post 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
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
FFF
Posts: 1581
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

[Xide 1.12] MS-Help?

Post 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
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
User avatar
Chris
Posts: 4922
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

[Xide 1.12] MS-Help?

Post 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
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
FFF
Posts: 1581
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

[Xide 1.12] MS-Help?

Post 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>)
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
User avatar
Chris
Posts: 4922
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

[Xide 1.12] MS-Help?

Post 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 :)
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
FFF
Posts: 1581
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

[Xide 1.12] MS-Help?

Post 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
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
User avatar
Chris
Posts: 4922
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

[Xide 1.12] MS-Help?

Post by Chris »

Hi Karl,

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

Chris
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
FFF
Posts: 1581
Joined: Fri Sep 25, 2015 4:52 pm
Location: Germany

[Xide 1.12] MS-Help?

Post by FFF »

Thanks, fixed it now in the message body.
Nope, only in the "code" section <s,cr>

Karl
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
User avatar
Chris
Posts: 4922
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

[Xide 1.12] MS-Help?

Post by Chris »

:)
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
Post Reply