Results 1 to 6 of 6

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

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2020
    Posts
    4,070

    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
    561

    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
    694

    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,070

    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,070

    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

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