Hello, I created an editor for FreeBasic based on the library MyFbFramework. MyFbFramework is based on Nastasa Eodor 'FBGUI, the library has been expanded and cross-platform added.
VisualFBEditor is also cross-platform, there is the possibility of a designer, debugging, project support, etc.
For debugging, I used the codes of SARG .
Many thanks to the creators of FreeBasic, separately to SARG and Nastasa Eodor.
And I am waiting for help for the development of the library MyFbFramework.
Releases here:
Last edited by Xusinboy Bekchanov on Jan 02, 2019 23:44, edited 1 time in total.
Code:
Declare Function timeGetTime Lib "winmm" Alias "timeGetTime" () As Long
Declare Function timeBeginPeriod Lib "winmm" Alias "timeBeginPeriod"(ByVal uPeriod As Long) As Long
Declare Function timeEndPeriod Lib "winmm" Alias "timeEndPeriod"(ByVal uPeriod As Long) As Long
Private Sub Form1Type.CommandButton1_Click(ByRef Sender As Control)
CommandButton1.Enabled = False
CommandButton1.Text = "DoIng"
timeBeginPeriod 1
Dim i As Long
Dim c As Long
Dim v As Long
Dim START As Integer, UsedTime As Long
v = 10 ^ 9
START = timeGetTime()
For i = 1 To v
If i Mod 7 = 0 Then c = c + 1
Next
UsedTime = timeGetTime - START
TextBox1.Text = "Used?" & (UsedTime / 1000) & "sec" & vbCrLf & "Found Number Counts?" & c
MsgBox TextBox1.Text
CommandButton1.Enabled = True
CommandButton1.Text = "Start
End Sub
Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform
Looks good from the screen shot and I also downloaded it, also downloaded the FreeBasic compiler but can't compile anything keeps saying Error: Couldn't Create Process on every project. o well was looking forward to this as well. i there a version with the compiler already included with the editor
Last edited by BenJones; Jun 12th, 2024 at 03:59 PM.
Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform
Originally Posted by BenJones
Looks good from the screen shot and I also downloaded it, also downloaded the FreeBasic compiler but can't compile anything keeps saying Error: Couldn't Create Process on every project. o well was looking forward to this as well. i there a version with the compiler already included with the editor
You can upload the source code project, and I'll check it.
It is possible that there is a tab symbol in your code, so he can't Compile succeeded
You can download my test example and see if it can be compiled successfully.
He also attached a lot of that test project.
Last edited by xiaoyao; Jun 13th, 2024 at 12:27 AM.
Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform
Hello, I didn't think I'd see our program here. I am also a VB6 and VB.NET programmer. From the beginning I thought of making a converter from VB6 to FreeBasic using my VBStyleCode addin. But after the release of TwinBasic, I changed my mind. Because TwinBasic compiles VB6 code one by one.
Originally Posted by BenJones
Looks good from the screen shot and I also downloaded it, also downloaded the FreeBasic compiler but can't compile anything keeps saying Error: Couldn't Create Process on every project.
I added GetLastError, maybe after this it will be clear why the process is not created, this error appears when the compiler startup process cannot be created: https://github.com/XusinboyBekchanov...359253e44d5b6a
Originally Posted by xiaoyao
It is possible that there is a tab symbol in your code, so he can't Compile succeeded
The tab character is not a problem for the compiler, we always use the tab character. If you look at the source code of the IDE and MyFbFramework, we use the tab character everywhere.
Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform
Originally Posted by Xusinboy
Hello, I didn't think I'd see our program here. I am also a VB6 and VB.NET programmer. From the beginning I thought of making a converter from VB6 to FreeBasic using my VBStyleCode addin. But after the release of TwinBasic, I changed my mind. Because TwinBasic compiles VB6 code one by one.
I added GetLastError, maybe after this it will be clear why the process is not created, this error appears when the compiler startup process cannot be created: https://github.com/XusinboyBekchanov...359253e44d5b6a
The tab character is not a problem for the compiler, we always use the tab character. If you look at the source code of the IDE and MyFbFramework, we use the tab character everywhere.
Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform
Originally Posted by Xusinboy
...Because TwinBasic compiles VB6 code one by one...
Are you sure of that? TwinBasic is a very promising replacement for VB6 but most of the projects can't be compiled or run in TB, for me the experience has been the same as convert VB6 to VB.NET, some things works, most don't.
Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform
Originally Posted by zx81sp
Are you sure of that? TwinBasic is a very promising replacement for VB6 but most of the projects can't be compiled or run in TB, for me the experience has been the same as convert VB6 to VB.NET, some things works, most don't.
Presently most things work with no modification in TB, some don't. The promise is all things will work for v1 while for VB.Net there is no hope things will continue working -- they even discontinued the upgrade wizard.
Where is VFB7 in this regard? Absolutely nowhere IMO. Incompatible like porting VB6 to BASICA for IBM PC.
cheers,
</wqw>
Last edited by wqweto; Aug 25th, 2024 at 02:29 PM.
Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform
Originally Posted by wqweto
while for VB.Net there is no hope things will continue working -- they even discontinued the upgrade wizard.
To be clear, MS discontinued the upgrade wizard because it was terrible and there was no realistic chance that it would ever be not terrible. It wasn't that they didn't think it would be needed, it was because they didn't think it was useful as written, which is probably true.
Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform
That's really a bit hyperbolic... Nothing from VB6 works in VB.NET as-is and isn't intended to; it's an entirely different language with some superficial syntax similarities. Major rewrites are required. In tB, many projects run without modification, and little to no rewrites are required. Most of the time there's just one or a few bugs standing in the way of something working if its not, that will be fixed at some point.
It's like you're saying translating a book is the same level of effort and changes as proofreading for spelling and grammar issues ?
Not sure the last time you looked at tB but it's constantly making progress.
Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform
It is really good/almost great to see a mature BASIC language variant with a functioning IDE fully in English. Some time ago (a couple of years) it might have been a real draw for VB6ers wanting to build/create brand new 64bit apps, though conversion of major apps might have been a step too far. Not a direction I would have taken. Building small utilities might have been practical as long as the environment actually worked... sadly, I have my doubts.
However, that time has passed now and with the imminent arrival of a stable and functioning TB64 it makes little sense to dig into Visual FreeBasic.
Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.
By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.
Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform
Originally Posted by zx81sp
Are you sure of that? TwinBasic is a very promising replacement for VB6 but most of the projects can't be compiled or run in TB, for me the experience has been the same as convert VB6 to VB.NET, some things works, most don't.
I'm surprised that you can't compile or run your projects in the twinBASIC programming language. Most of what I try works fine in twinBASIC with little or no modification (at least with 32 bit compiles).