xsharp.eu • ReportPro2, English and translation: now ok! - Page 5
Page 5 of 7

bBrowse: and now?

Posted: Mon Nov 07, 2022 5:00 pm
by Gfb22
Sorry but I was not clear.
Once the bBrowser sample has been rebuilt and exited from XIDE, when I reopen the original project is presented but without the bBrowser (see images), not even in the resources.
XIDE gives no errors and my app works fine but there is no example of bBrowser.
What Should I Expect?
What did I do wrong?
Can I find a sample app that works in XIDE?
Thanks, always!
Pro2.jpg
Pro2.jpg (9.74 KiB) Viewed 1307 times
Pro1.jpg
Pro1.jpg (8.04 KiB) Viewed 1307 times

bBrowse: and now?

Posted: Mon Nov 07, 2022 5:19 pm
by Chris
Hi Gian,

Ah, thanks, I see the problem now, apparently there are some files (resources) missing from the XIDE folder of bBrowser. For every sample that you want to run, first please open the menu entity from the Project window (so it opens in the visual menu editor) and do a dummy save. Do the same thing also for any windows in the sample, recompile and run, now it should work.

btw, do you have something to do with Gianluca Brambilla the cyclist?

bBrowse: and now?

Posted: Tue Nov 08, 2022 3:49 pm
by Gfb22
I tried to:
1) I double click "bBrowser.NET 4 Samples (XSharp Edition) .xiproj", select XIDE.exe as the program to open it and now it should open in XIDE;
2) Rebuid all: successful;
3) Export application for any sample (created * .viaef file)
4) recompiled all, close when I reopen my original project
5) Import application and chosen one of the examples (bSample - bComboEdit.viaef);
6) compiled and run: nothing happens;
7) I try to open _dtwComboEdit Designer and the attached error message appears.
I am also attaching the project tree.
btw: :-) I know Gianluca Brambilla, the cyclist (I am a cyclist ... amateur) but he is not my relative ...
Err.bBrowse.jpg
Err.bBrowse.jpg (6.28 KiB) Viewed 1306 times
ProjectWin.jpg
ProjectWin.jpg (34.19 KiB) Viewed 1306 times

bBrowse: and now?

Posted: Tue Nov 08, 2022 4:50 pm
by Chris
Hi Gian,

Ah right, you also need the cavowed.inf file like in VO. Please search for a file cavowed.inf in the whole bBrowser folder, when you find one, just copy it in your XIDEConfig folder and restart XIDE. Now it should be possible to open the windows and do a dummy save. Please do the same thing for the menus as well, and it should run now.

bBrowse: and now?

Posted: Thu Nov 17, 2022 10:02 am
by Gfb22
...Thank you!
I temporarily leave learning bBrowser for other priorities.
Delivered the first App :-),
rp.jpg
rp.jpg (16.73 KiB) Viewed 1306 times
I'm trying to localize RP2 menus and messages (for rpReport).
In ReportPro2.English Lib I inserted the translations that interest me in 'NativeResources.rc': I tried to compile and Run and it doesn't give any message but the DLL is not created.
Where am I wrong?
Thanks again!

bBrowse: and now?

Posted: Thu Nov 17, 2022 4:44 pm
by Chris
Hi Gian,

Interesting, how did you put bBrowser in the XIDE project? Did we include a XIDE project file in the installer for it? If yes, I totally forgot! :)
Will need to have a close look into this and will get back to you!

bBrowse: and now?

Posted: Thu Nov 17, 2022 6:54 pm
by Gfb22
No problem: I'm not in a hurry and I'm happy to learn a lot of new things: thanks!
With RP2 I can't create the modified English DLL with the Italian translation of the messages that interest me...
In the meantime, I'll try again.
See you soon.

bBrowse: and now?

Posted: Thu Nov 17, 2022 11:25 pm
by Chris
Hi Gian,

OK, but you didn't answer me, where did you find the XIDE project file? Did you create it, or did it exist with the installation? Just so I know what to test with. I thought we were only delivering VS project files..

bBrowse: and now?

Posted: Fri Nov 18, 2022 6:33 pm
by Gfb22
Ok, here: I summarize the steps I did.
1) Install bBrowse in the directory: C:Program Files (x86)bBrowser.NET 4 (XSharp Edition);
2) Copied XIDE..Sample folder to: C:XIDE-bBrowsebBrowser.NET 4 Samples (XSharp Edition)
3) To avoid possible conflicts: disabled Antivirus;
4) copied cavowed.inf to C:XIDEConfig
5) Double click on C:XIDE-bBrowsebBrowser.NET 4 SamplesbBrowser.NET 4 Samples (XSharp Edition).xiproj (see images)
6) Project/build Project menu: OK! (see images)
7) for each of the 20 examples: open in the editor, one at a time, all .prg and saved
8) for each of the 20 examples: compiled and build
9) Quit XIDE and reopen my original project and ...find no difference...
...Thank you
bBrowseTest1.jpg
bBrowseTest1.jpg (45.07 KiB) Viewed 1306 times
bBrowseTest2.jpg
bBrowseTest2.jpg (11.68 KiB) Viewed 1306 times
bBrowseTest3.jpg
bBrowseTest3.jpg (17.71 KiB) Viewed 1306 times

bBrowse: and now?

Posted: Sat Nov 19, 2022 7:00 am
by Chris
Hi Gian,

Oh, no, I am sorry, I said "bBrowser" in my post! I meant to say ReportPro, how did you add that to your XIDE project?

Edit: Ah, I see we are indeed including a XIDE project file for ReportPro. But this is a very old one and is missing some of the libraries...Will clean this up and will get back to you ASAP!