Results 1 to 12 of 12

Thread: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,306

    Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform

    Apply to the forum administrator to create a new section: VisualFBEditor(VB7).

    Github Open source project
    https://github.com/XusinboyBekchanov/VisualFBEditor
    DownLoad:
    https://github.com/XusinboyBekchanov...ditor/releases

    VisualFBEditor IDE official community-comments BUG feedback freebasic.net
    https://www.freebasic.net/forum/viewtopic.php?t=27284


    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
    Attached Images Attached Images  
    Attached Files Attached Files

  2. #2
    Fanatic Member Episcopal's Avatar
    Join Date
    Mar 2019
    Location
    Brazil
    Posts
    563

    Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform

    Very good XiaoYao....it's in English....thank you. Congratulations for the initiative.

  3. #3
    Fanatic Member BenJones's Avatar
    Join Date
    Mar 2010
    Location
    Wales UK
    Posts
    730

    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.

  4. #4

    Thread Starter
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,306

    Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform

    Quote Originally Posted by BenJones View Post
    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.

  5. #5
    New Member
    Join Date
    Feb 2020
    Posts
    11

    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.

    Quote Originally Posted by BenJones View Post
    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

    Quote Originally Posted by xiaoyao View Post
    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.

  6. #6

    Thread Starter
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,306

    Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform

    Quote Originally Posted by Xusinboy View Post
    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.
    you can download chinese version for test
    https://gitcode.com/xiaoyao961/VB7ide

    edit file in \Settings:VisualFBEditor32.ini,VisualFBEditor64.ini

    Code:
    [Options]
    IncludeMFFPath=True
    MFFPath=./Controls/MyFbFramework
    ProjectsPath=./Projects
    Language=chinese
    to Language=english

  7. #7
    Lively Member
    Join Date
    Aug 2023
    Posts
    84

    Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform

    Quote Originally Posted by Xusinboy View Post
    ...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.

  8. #8
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    5,459

    Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform

    Quote Originally Posted by zx81sp View Post
    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>

  9. #9
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    39,391

    Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform

    Quote Originally Posted by wqweto View Post
    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.
    My usual boring signature: Nothing

  10. #10
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    6,271

    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.

  11. #11
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,512

    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.

    You are a couple of years too late.
    https://github.com/yereverluvinunclebert

    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.

  12. #12
    Frenzied Member
    Join Date
    Feb 2015
    Posts
    1,250

    Re: Open source VisualFBEditor ,vb7 IDE,VB6 upgrade 64-bit cross-platform

    Quote Originally Posted by zx81sp View Post
    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).

    Try posting specific issues here https://www.vbforums.com/forumdisplay.php?108-TwinBASIC

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width