Android Tutorial B4X Object Browser - new thread

Vader

Well-Known Member
Licensed User
Longtime User
Hi,
I just installed the latest V3.2.5.14 and the link to B4a forum from the toolbar is an old link http://www.b4x.com/forum/index.php that returns a 500 error o_O

Thanks for the report. If you navigate to Tools | Options, you will see 4 tabs. The address used for each of the 4 languages is shown there, and you can change it to whatever you would like.

I will release an updated version of B4x Browser in the future and at that time I will ensure I have the correct links.
 

Vader

Well-Known Member
Licensed User
Longtime User
Have rebuilt my environment. Performed the necessary changes to my High DPI Development environment to correct a couple of bugs in the current code.

Also updated the version numbering system. 4.1.3.0 means nothing, whereas 4.2004.22.1 means version 4, the year ([20]20), the month of April (04), the 22nd day, and the first release for that day.

Here's the version you have:
1587617835480.png


Here's the new version:
1587617885365.png


Changes so far:
Class details, Events and Permissions listbox columns automatically resize
Status bar has returned
Temporarily (?) removed the commenting/snippets system
B4a, B4i, B4j and B4r menu buttons automatically shown depending upon what products are installed (yes, I have all 4 installed)

Next change to come:
I want to add more robust documentation output. (You probably don't know what that means as there was a bug hiding this feature, even though it's been there a while)
 

Acuario

Member
Licensed User
Longtime User
Where can this be downloaded from? The link in #4 is for the 'old' version and 'Tools/Check for update' does nothing...
 

Vader

Well-Known Member
Licensed User
Longtime User
Where can this be downloaded from? The link in #4 is for the 'old' version and 'Tools/Check for update' does nothing...

By "this", if you mean version 4.2004.22.1, then the answer is you can't yet as I'm still working on it.
However, if you mean version 4.1.3.0, then you can get it from here: http://www.logonengine.com/AutoUpdate/B4xBrowser/setup.msi

I tested that link last night because I had to install the current/old version myself, and that's the best source for it. It was either that or go to a FTP site, and this worked, so why would I bother?
 

inakigarm

Well-Known Member
Licensed User
Longtime User
Next change to come:
I want to add more robust documentation output. (You probably don't know what that means as there was a bug hiding this feature, even though it's been there a while)
Will it be possible to read B4x libs ?
 

klaus

Expert
Licensed User
Longtime User
For b4xlib libraries you need to create the corresponding xml file if the author doesn't provide it.
Erel has written this tool for it: b4xlib - XML generation .
I provide the xml file with all b4xlib libraries I publish.
When you create an xml file do NOT copy it to the Libraries folder nor to the AdditionalLibraries\B4X folder, create a specific folder for these.
 

Vader

Well-Known Member
Licensed User
Longtime User
Has anyone got a really complicated Library that I can use as a test file to parse? The more complicated/complete the better my output will be.

If so, if it's public, please attach it here. Otherwise, if you want to assist, you can share it with me privately.

Thanks in advance.
 

Vader

Well-Known Member
Licensed User
Longtime User
I noticed tonight that when you the focus from a node in the treeview, you lose track of what node you had selected. This is bad.

So, the next version will have the treeview's "HideSelected" property set to "False". Then you will know what node you are looking at.

1587647189265.png
 

Vader

Well-Known Member
Licensed User
Longtime User
I have also found that I have completely missed extracting and displaying a property of classes: designerProperty.

I wonder if there's anything else that I have missed?

Yes, this is coming soon. :oops: 🥳

1587648682201.png
 
Last edited:

KiloBravo

Active Member
Licensed User
So I really like using the the B4X object browser but I get an error ONLY on the rESP8266extras library.


I do not have a problem with any other library including esp32extras.

I tried commenting out some differences in the xml, h, and cpp files between the esp8266extras and esp32extras but I still get the error below. Any ideas on what the issues is ?

Object reference not set to instance of an object.

************* Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Browser.frmMain.LoadXMLFileData(String Filename, TreeNode RootNode, Library ParentLibrary)
at Browser.frmMain.SelectLibraryOrClassTreeNode()
at Browser.frmMain.tvwClasses_AfterSelect(Object sender, TreeViewEventArgs e)
at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9148 (WinRelRS6.050727-9100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Browser
Assembly Version: 4.1.3.0
Win32 Version: 4.1.3.0
CodeBase: file:///C:/Program%20Files%20(x86)/Vader%20Consulting/B4x%20Object%20Browser/Browser.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9147 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
LibraryObjects
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Vader%20Consulting/B4x%20Object%20Browser/LibraryObjects.DLL
----------------------------------------
HtmlRichTextBox
Assembly Version: 1.0.6013.19647
Win32 Version: 1.0.6013.19647
CodeBase: file:///C:/Program%20Files%20(x86)/Vader%20Consulting/B4x%20Object%20Browser/HtmlRichTextBox.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Xml.Linq
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.9135 built by: WinRelRS6
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
AutoUpdater.NET
Assembly Version: 1.2.0.0
Win32 Version: 1.2.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Vader%20Consulting/B4x%20Object%20Browser/AutoUpdater.NET.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
esgch0fh
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9147 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
1ixdzdq6
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9147 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.9135 built by: WinRelRS6
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 

Vader

Well-Known Member
Licensed User
Longtime User
This error is because the method rESP8266extras.ESP8266extras.AnalogWriteRange does not have a return type.

1588475100449.png


This will be the first method I have encountered with this issue.

I am in the middle of adding some other capabilities and will see if I can do something to get a fix for this issue sooner.
 
Last edited:
Top