xsharp.eu • XIDE / xSharp configuration
Page 1 of 2

XIDE / xSharp configuration

Posted: Sat Apr 08, 2023 8:19 am
by Gfb22
Some configuration questions (apologies if surely trivial...)
1) References.
How should I do to include the RP2 DLLs in my project without having to insert them every time in the 'Properties/References/Browse disk for dll files'?
2) New import from VO.
For now I prefer to edit my apps in VO and then port to XIDE with VO-xPorter.
How can I "overwrite" the previous build without configuration changes?
3) Build version number.
Is there a way to automatically record a build number each time?
Thanks for your patience!

XIDE / xSharp configuration

Posted: Sat Apr 08, 2023 1:35 pm
by Chris
Hi Gian!

1. You can either go to the "Recent" page of the References tab of the app properties where the references you have added recently are listed and you can pick them quickly, or you can go to the XIDEConfig folder, edit the references.cfg file and add this at the end:

Code: Select all

SEPARATOR

NAME = bBrowser
FF = C:Program Files (x86)bBrowser.NET 4 (XSharp Edition)AssembliesbTools.bBrowser.dll
FF = C:Program Files (x86)bBrowser.NET 4 (XSharp Edition)AssembliesbTools.bServer.dll
(you may need to adjust the paths for your own bBrowser location of course)
Then, in the main References page of the app properties, click on the button "Select from template...", chose the bBrowser option and the references will be quickly added.

2. There's an option (checkbox) in VOXporter, "Don't overwrite project files if they already exist". Check that and the project files will remain as before.

3. Unfortunately there's not such an option, but I could implement it. How would you like this to work?

.

XIDE / xSharp configuration

Posted: Sat Apr 08, 2023 4:16 pm
by Gfb22
Hi Chris.
1) I added in the references.cfg file:

Code: Select all

SEPARATOR

NAME = ReportPro2
FF = C:ReportPro2-XBinReportPro2.Base.dll
FF = C:ReportPro2-XBinReportPro2.English.dll
FF = C:ReportPro2-XBinReportPro2.Export.dll
FF = C:ReportPro2-XBinReportPro2.Runtime.dll
and then with "Select from template..." everything works. :-)
2) fine xPorter but in XIDE when I do "Add application' the message appears:
AddApp.jpg
AddApp.jpg (4.81 KiB) Viewed 1692 times
3) It would be helpful to have the build number in some variable that I can retrieve to put in the splash windows along with the version date.
Here is an example of my splash windows:
splash1.jpg
splash1.jpg (32.93 KiB) Viewed 1692 times
Thank you!

XIDE / xSharp configuration

Posted: Sat Apr 08, 2023 7:29 pm
by FFF
Guys,
re #3, [strike]someone[/strike] Kölndata Software GmbH provided a free plugin for Xide in 2018, see attchment

XIDE / xSharp configuration

Posted: Sat Apr 08, 2023 7:40 pm
by Gfb22
Thanks Karl.
Sorry for the trivial question: How should I insert your plugin in my Apps?

XIDE / xSharp configuration

Posted: Sat Apr 08, 2023 8:10 pm
by Chris
Hi Gian,

Maybe I did not understand you correctly, but why do you need to add the app again? If you check that option that I pointed out, doesn't the app remain part of the project, as it was before exporting again?

Karl, had totally forgot about that plugin, thanks for pointing it out! Maybe we should need to have a place in the downloads area for XIDE plugins..
Gina, to install the plugin, you just need to put the dll in the XIDEPlugins folder, but I can't remember exactly how to use that plugin, Karl can you please give some instructions?

XIDE / xSharp configuration

Posted: Sun Apr 09, 2023 6:09 am
by Gfb22
"...why do you need to add the app again": I wasn't sure XIDE checked for changes every time without importing everything every time... Now everything is simpler. Thank you! :-)
-------------------------
Speaking of simplicity. From your Posts 3869 dated November 1, 2022 regarding INDEX ON Command: "...The above directive will be cleaned up and will be properly added to the standard X# macros in one of the next builds...". Some news? I keep leaving this definition in the beginning of mine prg and It's ok.

Thank you and ...Happy Easter! :-)

.

XIDE / xSharp configuration

Posted: Sun Apr 09, 2023 6:36 am
by Chris
Happy Easter to you, too!
We may have forgotten about the INDEX ON issues..Can you please give a link to that thread?

Edit: Nevermind, found it, it was this post https://www.xsharp.eu/forum/italian/321 ... t=20#24313 and the problems reported in that thread are fixed now. Are you still seeing any related issues in the latest build?

XIDE / xSharp configuration

Posted: Sun Apr 09, 2023 8:06 am
by Gfb22
If I leave the definition at the beginning of the .prg file everything is ok; if I remove the definition the line:

Code: Select all

INDEX ON (GESOIND->CHIAVE) TAG (AllTrim(GESOIND->NOMEORD)) TO (cNomeCDX ) Eval {||oSelf:DoProgress( 2 )} EVERY 10 DESCENDING
show this error.
error XS9111: The error is most likely related to the token 'INDEX' that was used at this location. 104,4 CreaIndici.prg Sub_ProgDial:DoIndex
error XS9002: Parser: unexpected input '.T.' 104,118 CreaIndici.prg Sub_ProgDial:DoIndex
Compilation failed (2 errors)

XIDE / xSharp configuration

Posted: Sun Apr 09, 2023 2:57 pm
by Chris
OK, thanks, it's because of the DESCENDING tag, this was not included in the previous report. Will log that as well so it's fixed.