VisualFBEditor - IDE for FreeBasic

User projects written in or related to FreeBASIC.
Post Reply
Xusinboy Bekchanov
Posts: 783
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

oyster wrote:aha, I just downloaded and tested VisualFBEditor for just a few minutes. It seems I should test it again after a long time.
Maybe I should go to buy a lottery now.
The code is open. You can change too.
oyster
Posts: 274
Joined: Oct 11, 2005 10:46

Re: VisualFBEditor - IDE for FreeBasic

Post by oyster »

I hope I can.
But sorry, I am not a programmer, I can report bugs, but it is too hard for me to dig into the source code of the tools I am using.
I am just trying to find easy-to-use tools to replace some python language cases in my work/living.
robert
Posts: 169
Joined: Aug 06, 2019 18:45

Re: VisualFBEditor - IDE for FreeBasic

Post by robert »

Hi Xusinboy:

I just installed your VisualFBEditor 1.2.2 on my Windows 10 64 bit machine.

You have done a very good job with this editor. Congratulations on the excellent work!

VisualFBEditor is as easy or perhaps even easier to setup as was FBEdit.

I loaded your VisualFBEditor.vfp project file from the src folder and compiled it with 64 bit FreeBASIC 1.0.7.1 and the project was successfully compiled.

I closed the editor, at which point I was asked if I wanted to save the project file and I did because I had changed the name of the output exe to VisualFBEditor64duh.exe so it wouldn't conflict with the already running VisualFBEditor64.exe editor.

I then renamed the original VisualFBEditor64.exe to VisualFBEditor64orig.exe and renamed the just compiled VisualFBEditor64duh.exe to VisualFBEditor64.exe.

I started the newly compiled VisualFBEditor64.exe and then loaded the VisualFBEditor.vfp project file.

The project file name showed in the left pane but there were no files listed underneath. I then tried the original project file and that attempt produced the same result, no files listed below. I then tried both project files on the original VisualFBEditor64.exe and both project files correctly showed the project file name with the files listed below.

I then went back to the newly compiled VisualFBEditor64.exe, loaded the VisualFBEditor.vfp and tried to compile and got a message stating "No Main file found!"

I then tried to compile Hello.bas on the newly compiled editor and it compiled with no problem.

I'll let you know how it goes when I try it out on Linux.

Thank you for this. Keep at it.
Xusinboy Bekchanov
Posts: 783
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

robert wrote:Hi Xusinboy:

I just installed your VisualFBEditor 1.2.2 on my Windows 10 64 bit machine.

You have done a very good job with this editor. Congratulations on the excellent work!

VisualFBEditor is as easy or perhaps even easier to setup as was FBEdit.

I loaded your VisualFBEditor.vfp project file from the src folder and compiled it with 64 bit FreeBASIC 1.0.7.1 and the project was successfully compiled.

I closed the editor, at which point I was asked if I wanted to save the project file and I did because I had changed the name of the output exe to VisualFBEditor64duh.exe so it wouldn't conflict with the already running VisualFBEditor64.exe editor.

I then renamed the original VisualFBEditor64.exe to VisualFBEditor64orig.exe and renamed the just compiled VisualFBEditor64duh.exe to VisualFBEditor64.exe.

I started the newly compiled VisualFBEditor64.exe and then loaded the VisualFBEditor.vfp project file.

The project file name showed in the left pane but there were no files listed underneath. I then tried the original project file and that attempt produced the same result, no files listed below. I then tried both project files on the original VisualFBEditor64.exe and both project files correctly showed the project file name with the files listed below.

I then went back to the newly compiled VisualFBEditor64.exe, loaded the VisualFBEditor.vfp and tried to compile and got a message stating "No Main file found!"

I then tried to compile Hello.bas on the newly compiled editor and it compiled with no problem.

I'll let you know how it goes when I try it out on Linux.

Thank you for this. Keep at it.
This program is compiled with 1.06.0 version of the compiler.
In the new version of the compiler (1.07.0, 1.07.1) "Open ... For Input" does not work with dynamic WString Ptr. To do this, put a fixed WString * 1024.
My new version is almost done. It compiles with the new compiler.
Xusinboy Bekchanov
Posts: 783
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

Updated to version 1.2.3 (May 18, 2020)
- Added: Dark Theme (in Linux)
- Added: Define functions, args, types and others
- Added: ToDo Window
- Added: Change Log Window
- Added: Ability to add Multiple Help Paths
- Added: Ability to Highlight Currrent Line, Currrent Word and Brackets
- Added: and others
Xusinboy Bekchanov
Posts: 783
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

Updated to version 1.2.4 (May 24, 2020)
- Added: Support adding Component in the Designer
- Added: Tooltips to functions, args and etc. (in Linux)
- Added: Support Auto save all files before compiling
- Added: Include paths and Library paths in the Options
- Added: Namespace definition in the Intellisense
- Added: Support Last Open Path on Open and Save
- Fixed: Autoincrement version
- Fixed: Moving controls by keys in the Designer.
UEZ
Posts: 972
Joined: May 05, 2017 19:59
Location: Germany

Re: VisualFBEditor - IDE for FreeBasic

Post by UEZ »

I got a crash when doing following:
*open IDE
*press new icon
*paste a source code to the editor
*select all the code and press ctrl+x

Tested on v1.2.4.274 x64

Code: Select all

Faulting application name: VisualFBEditor64.exe, version: 1.2.4.274, time stamp: 0x5eca4f01
Faulting module name: VisualFBEditor64.exe, version: 1.2.4.274, time stamp: 0x5eca4f01
Exception code: 0xc0000005
Fault offset: 0x00000000000cb096
Xusinboy Bekchanov
Posts: 783
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

UEZ wrote:I got a crash when doing following:
*open IDE
*press new icon
*paste a source code to the editor
*select all the code and press ctrl+x

Tested on v1.2.4.274 x64

Code: Select all

Faulting application name: VisualFBEditor64.exe, version: 1.2.4.274, time stamp: 0x5eca4f01
Faulting module name: VisualFBEditor64.exe, version: 1.2.4.274, time stamp: 0x5eca4f01
Exception code: 0xc0000005
Fault offset: 0x00000000000cb096
Thanks for pointing out this bug.
I have now fixed:
https://github.com/XusinboyBekchanov/Vi ... efb5bd424d
basicfan
Posts: 1
Joined: Jun 09, 2020 0:25

Re: VisualFBEditor - IDE for FreeBasic

Post by basicfan »

Hi, i am new in this forum.
I want to know how to install and configuer VisualFBEditor and FreeBasic on Windows 7.
I tried by my way, but it dosn't work correctly.
Thank you for your help.
jj2007
Posts: 2326
Joined: Oct 23, 2016 15:28
Location: Roma, Italia
Contact:

Re: VisualFBEditor - IDE for FreeBasic

Post by jj2007 »

Hi BasicFan,

Welcome to the Forum. FreeBasic is a great language, but unfortunately, its installation is a bit messy, partly because there are several competing editors available. To get started, read
a) the suggestions of dodicat in reply to BasicCoder2,
b) this guide by notthecheatr
c) google for FreeBasic installation

In all cases, you will need the actual compiler - try the News section.
Xusinboy Bekchanov
Posts: 783
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

basicfan wrote:Hi, i am new in this forum.
I want to know how to install and configuer VisualFBEditor and FreeBasic on Windows 7.
I tried by my way, but it dosn't work correctly.
Thank you for your help.
What problems did you get when setting up VisualFBEditor?
Xusinboy Bekchanov
Posts: 783
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

Updated to new version:
Version 1.2.5 (August 2, 2020)
- Added: COMWrapperBuilder tool
- Added: Prompt to reload file after changes by external program
- Added: Current row, column and etc. to Statusbar
- Added: Pin to ToolWindows
- Added: Clear menu items to Recent Files, Projects, Sessions, Folders
- Added: Option "Display Warnings in debug"
- Added: .frm extension to Form module
- Added: Option Limit debug to the directory of the main file
- Added: Tools function
- Added: Changed icon for not exist files in Project Explorer
- Added: Select with left mouse on Mousewheel
- Added: A lot of color themes (thanks to: Thomas Frank Ludewig)
- Added: Shortcuts changeable in Options Window
- Added: gdb command line arguments in Debug
- Added: When switching Form/Code, the Toolbox appears/hides
- Added: German language
- Added: GetErrorString function to GetLastError's
- Added: Pressing F8 will start the Integrated IDE Debugger
- Added: Open and Close Folder
- Added: Command Prompt on File Menu
- Added: Save Project and Save Project As ...
- Added: Sort Lines function
- Added: Overwrite changes in Intellisense
- Added: Project Path initial dir on Open Project
- Fixed: EditControl.LoadFromFile to load long lines
- Fixed: Save new file to Projects path
- Fixed: Changelogging and ToDo List
- Fixed: Slowness on Paint in 64-bit EditControl
- Fixed: Code Indent
- Fixed: Integrated IDE Debugger on 64-bit
- Fixed: Up scroll selection with mouse down pressed
- Fixed: Find Dialog gets the current text by default
- Fixed: Format Project function
- Fixed: Close Project closes tabs too.
- Fixed: Use Projects Path
- Fixed: Choosing Projects Path in Options Window
- Fixed: Typing with <ALT+GR> in EditControl
- Fixed: Crash in Cut from EditControl
- Fixed: Set activity TabPage in design mode
Xusinboy Bekchanov
Posts: 783
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

I updated VisualFBEditor:
Version 1.2.6 (December 14, 2020)
- Added: UserControl file template
- Added: UserControl Design functionality
- Added: Paths Count in Options unlimited
- Added: Create non-static event handlers option
- Added: Default Debugger 64-bit option
- Added: Ctrl+Up, Ctrl+Down, Ctrl+PageUp, Ctrl+PageDown for EditControl
- Added: Bring to Front function to Designer
- Added: Macro numbering and Procedure macro numbering
- Added: Option to Choosing templates when VisualFBEditor starts
- Added: Project Templates
- Added: Addin Template
- Added: Read & Write Enum types in Properties Window
- Added: New Project dialog to choose templates
- Added: Extern ... End Extern to FormatCode
- Added: FBMemCheck Assist Addin
- Fixed: MemLeaks
- Fixed: Copy and Paste Hierarchy of Controls
- Fixed: FormatCode function
- Fixed: Command Prompt function
- Fixed: Designer ChangeName function
- Fixed: Switch From ToDo to Change log
- Fixed: Reload function
- Fixed: ToolBox top position on scroll.
srvaldez
Posts: 3373
Joined: Sep 25, 2005 21:54

Re: VisualFBEditor - IDE for FreeBasic

Post by srvaldez »

@Xusinboy Bekchanov
when you launch Visual FB Editor it opens with an Untitled GUI project but you can't Save Project As ..
when you create a new project and save the project and then close the editor and relaunch, trying to open the project that you supposedly saved is futile because the open project dialog won't display any projects to open
without this basic functionality, how can anyone even try to use this editor?
also, if you create a new GUI project without first closing Untitled.frm when you close Untitled.frm then there's no form in your new project
controls placed on a form don't follow tab-order of the order they were created and there doesn't seem to be a way to specify the controls tab-order
<edit> the tab-order seems to be last-created=first-order
Xusinboy Bekchanov
Posts: 783
Joined: Jul 26, 2018 18:28

Re: VisualFBEditor - IDE for FreeBasic

Post by Xusinboy Bekchanov »

srvaldez wrote:@Xusinboy Bekchanov
when you launch Visual FB Editor it opens with an Untitled GUI project but you can't Save Project As ..
when you create a new project and save the project and then close the editor and relaunch, trying to open the project that you supposedly saved is futile because the open project dialog won't display any projects to open
without this basic functionality, how can anyone even try to use this editor?
Fixed: Save New Project (with extension .vfp):
https://github.com/XusinboyBekchanov/Vi ... 796596be52
srvaldez wrote: also, if you create a new GUI project without first closing Untitled.frm when you close Untitled.frm then there's no form in your new project
Untitled.frm and your new GUI project is a different project. The first is the file (project), the second is the project
The GUI Application template adds Project1 to the Project Explorer. And also Form1.frm in the Forms node of this project. And when saving the project, the program will ask you to save Form1.frm too.
srvaldez wrote: controls placed on a form don't follow tab-order of the order they were created and there doesn't seem to be a way to specify the controls tab-order
<edit> the tab-order seems to be last-created=first-order
Fixed: TabOrder sets to First Created -> First Order:
https://github.com/XusinboyBekchanov/My ... 7ab99557d8
Post Reply