ReportPro2, English and translation: now ok!

Forum dedicato ai programmatori di X# in lingua italiana – Italian language forum

Moderator: wriedmann

User avatar
Gfb22
Posts: 105
Joined: Sat Oct 08, 2022 7:43 pm
Location: Italy

bBrowse: and now?

Post 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 1602 times
Pro1.jpg
Pro1.jpg (8.04 KiB) Viewed 1602 times
gfb
User avatar
Chris
Posts: 4906
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

bBrowse: and now?

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

XSharp Development Team
chris(at)xsharp.eu
User avatar
Gfb22
Posts: 105
Joined: Sat Oct 08, 2022 7:43 pm
Location: Italy

bBrowse: and now?

Post 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 1601 times
ProjectWin.jpg
ProjectWin.jpg (34.19 KiB) Viewed 1601 times
gfb
User avatar
Chris
Posts: 4906
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

bBrowse: and now?

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

XSharp Development Team
chris(at)xsharp.eu
User avatar
Gfb22
Posts: 105
Joined: Sat Oct 08, 2022 7:43 pm
Location: Italy

bBrowse: and now?

Post by Gfb22 »

...Thank you!
I temporarily leave learning bBrowser for other priorities.
Delivered the first App :-),
rp.jpg
rp.jpg (16.73 KiB) Viewed 1601 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!
gfb
User avatar
Chris
Posts: 4906
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

bBrowse: and now?

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

XSharp Development Team
chris(at)xsharp.eu
User avatar
Gfb22
Posts: 105
Joined: Sat Oct 08, 2022 7:43 pm
Location: Italy

bBrowse: and now?

Post 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.
gfb
User avatar
Chris
Posts: 4906
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

bBrowse: and now?

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

XSharp Development Team
chris(at)xsharp.eu
User avatar
Gfb22
Posts: 105
Joined: Sat Oct 08, 2022 7:43 pm
Location: Italy

bBrowse: and now?

Post 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 1601 times
bBrowseTest2.jpg
bBrowseTest2.jpg (11.68 KiB) Viewed 1601 times
bBrowseTest3.jpg
bBrowseTest3.jpg (17.71 KiB) Viewed 1601 times
gfb
User avatar
Chris
Posts: 4906
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

bBrowse: and now?

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

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