Search found 85 matches

by xiaoyao
Dec 28, 2023 15:57
Forum: Windows
Topic: free basic how to load new form like vb6,and get form.item (public method or value)
Replies: 4
Views: 770

free basic how to load new form like vb6,and get form.item (public method or value)

free basic how to load new form like vb6,and get form.item (public method or value) in this project: https://www.freebasic.net/forum/viewtopic.php?t=25215 how to freebasic do like vb6 ? new form1,new form2? form1.frm Option Explicit Dim F2a As New Form2, F2b As New Form2 Private Sub Command1_Click()...
by xiaoyao
Dec 28, 2023 11:20
Forum: Projects
Topic: FreeBasic IDE-poseidonFB(Update 2024.03.03)
Replies: 1283
Views: 361338

Re: FreeBasic IDE-poseidonFB(Update 2023.09.12)

how to freebasic do like vb6 ? new form1 clone new form1,new form2? form1.frm Option Explicit Dim F2a As New Form2, F2b As New Form2 Private Sub Command1_Click() F2a.Show F2b.Show F2a.Form2_abc = 11 F2b.Form2_abc = 22 F2a.Caption = "Form2_a" F2b.Caption = "Form2_b" MsgBox F2a.For...
by xiaoyao
Dec 28, 2023 11:20
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 346303

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)

how to freebasic do like vb6 ? new form1,new form2? form1.frm Option Explicit Dim F2a As New Form2, F2b As New Form2 Private Sub Command1_Click() F2a.Show F2b.Show F2a.Form2_abc = 11 F2b.Form2_abc = 22 F2a.Caption = "Form2_a" F2b.Caption = "Form2_b" MsgBox F2a.Form2_abc MsgBox F2...
by xiaoyao
Oct 06, 2023 9:15
Forum: Projects
Topic: VFB IDE【Visual Freebasic】Like vb6@5.8.11//2023-7-6
Replies: 142
Views: 58092

Re: VFB IDE【Visual Freebasic】Like vb6@Updae2023-3-6

new version 5.8.11 https://github.com/xiaoyaocode163/VisualFreeBasic/tree/master/DownLoad https://github.com/xiaoyaocode163/VisualFreeBasic/tree/master/DownLoad Found BUG not fixed: 5.8.11 2023-7-6 Fixed non-stop point search button, more than a few times, VFB must flash back. Fixed an issue where t...
by xiaoyao
Jun 29, 2023 0:25
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 346303

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)

> I can't believe that we as a PowerBasic community [...] > Maybe not the source code but at least an SLL. Apparently you haven't realized that this is the FreeBasic forum, not the PowerBasic forum. The previous reading and writing of EXCEL by POWERBASIC is also the code written by the developer of...
by xiaoyao
Jun 26, 2023 7:29
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 346303

Re: WinFBE FreeBASIC Editor for Windows

Thanks VANYA, You should be able to enable unicode editing (UTF8) by doing this: "View" menu, "Environment Options", "Enable unicode (UTF-8 encoding)". It can also be enabled by clicking the 5th panel in the bottom StatusBar. That will toggle between ANSI and UTF-8. Cl...
by xiaoyao
Jun 26, 2023 6:35
Forum: Projects
Topic: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)
Replies: 981
Views: 346303

Re: WinFBE Editor and FreeBASIC Compiler (All-in-One Package) (V3.1.0 June 4, 2023)

preadsheetML,Excel Open XML,Creating Excel WorkBooks without Automation https://www.planetsquires.com/protect/forum/index.php?topic=3208.0 DOES IT SUPPORT WINFBE? Can you develop a DLL for VB6 use? Standard DLL format or COM DLL format? Or write all your code in VB6 I thought about using COM automat...
by xiaoyao
May 28, 2023 10:36
Forum: Projects
Topic: VFB IDE【Visual Freebasic】Like vb6@5.8.11//2023-7-6
Replies: 142
Views: 58092

Re: VFB IDE【Visual Freebasic】Like vb6@Updae2023-3-6

It would be nice if you could consider redeveloping a new IDE in Freebasic or VB.NET. Because of the older version of VB6, only 32-bit programs can be generated and some new syntax support is missing. Such as multiline text, JSON strings, etc. VB.NET as a background compiler, compatible with VB6 eng...
by xiaoyao
May 27, 2023 2:05
Forum: Projects
Topic: VFB IDE【Visual Freebasic】Like vb6@5.8.11//2023-7-6
Replies: 142
Views: 58092

Re: VFB IDE【Visual Freebasic】Like vb6@Updae2023-3-6

The new COM object wrapper makes it a little easier to use by :驰骋乾坤 Dim excel as CObject = createobject("excel.application") dim Workbooks As CObject = excel.Get("Workbooks") Workbooks.Clear dim Workbooks As CObject = excel.Get("Workbooks") dim Workbook As CObject = Wor...
by xiaoyao
May 19, 2023 5:54
Forum: Projects
Topic: VFB IDE【Visual Freebasic】Like vb6@5.8.11//2023-7-6
Replies: 142
Views: 58092

Re: VFB IDE【Visual Freebasic】Like vb6@Updae2023-3-6

HOW to New Button by Freebasic Code? MY CODE IS RIGHT? Function NewControl(ByVal ControlClass As String, ControlName As String, Text As String,Left2 As Long,Top2 As Long ) As .hWnd '.hWnd CHANGE TO HWND Dim hWndControl As .hWnd 'Dim pWindow As CWindow Ptr = New CWindow("CWindowNew") hWndCo...
by xiaoyao
May 19, 2023 5:53
Forum: Windows
Topic: HOW to New Button by Freebasic Code?
Replies: 1
Views: 808

HOW to New Button by Freebasic Code?

MY CODE IS RIGHT? Function NewControl(ByVal ControlClass As String, ControlName As String, Text As String,Left2 As Long,Top2 As Long ) As .hWnd '.hWnd CHANGE TO HWND Dim hWndControl As .hWnd 'Dim pWindow As CWindow Ptr = New CWindow("CWindowNew") hWndControl = pWindow2->AddControl(ControlC...
by xiaoyao
May 19, 2023 3:38
Forum: Projects
Topic: VFB IDE【Visual Freebasic】Like vb6@5.8.11//2023-7-6
Replies: 142
Views: 58092

Re: VFB IDE【Visual Freebasic】Like vb6@Updae2023-3-6

I updated the Japanese Language files for VFB. Thank you for your support and love of VFB. If you have the time and technical ability, we hope to add new features to the VFB IDE extension. I completed a function to create a form dynamically in the morning, with very little code, but it took almost ...
by xiaoyao
May 19, 2023 3:28
Forum: Projects
Topic: VFB IDE【Visual Freebasic】Like vb6@5.8.11//2023-7-6
Replies: 142
Views: 58092

Re: VFB IDE【Visual Freebasic】Like vb6@Updae2023-3-6

How do I create a New form in code in vb6 dim A as New form1 in Freebasic The new copy of the form created is shared globally 'code put on first Dim Shared PublicForm2As Form2_Class_Form Sub Form1_Command2_BN_Clicked(hWndForm As hWnd, hWndControl As hWnd) PublicForm2.show 0, False Dim Form2Copy As F...
by xiaoyao
May 19, 2023 3:23
Forum: Projects
Topic: VFB IDE【Visual Freebasic】Like vb6@5.8.11//2023-7-6
Replies: 142
Views: 58092

Re: VFB IDE【Visual Freebasic】Like vb6@Updae2023-3-6

vfb has not supported dynamic window creation, which is a pain in the heart. I spent the morning deciphering his principles and unpublished methods. The next step is how to create controls on the fly, creating arrays of controls on the fly, which can be very interesting, but also very difficult. Aft...
by xiaoyao
May 19, 2023 3:22
Forum: Projects
Topic: VFB IDE【Visual Freebasic】Like vb6@5.8.11//2023-7-6
Replies: 142
Views: 58092

Re: VFB IDE【Visual Freebasic】Like vb6@Updae2023-3-6

VB6 How do I create copies of forms by name Dim NewForm1 As Form Dim NewForm2 As Form2 Private Sub Command1_Click() Set NewForm1 = Forms.Add("Form1") NewForm1.Show NewForm1.Caption = "Form1 New Copy" Set NewForm2 = Forms.Add("Form2") NewForm2.Show End Sub IN VFB (Visual...