I find this project last month. and rebuild it by MINGW(8.1.0) for 32bit and 64bit
.fixed some bugs( samples can not compile , library link error, etc )
.COM binding
.GUI can apply the windows theme.
.using C++ code two ways
1. #CPP code
#char progname[1024]
#GetModuleFileName(NULL, progname, sizeof(progname))
2. inside the double {{ }}
{{
char progname[1024];
GetModuleFileName(NULL, progname, sizeof(progname));
}}
DIMXlbAsComObject,XlsASComObject,RngASComObject,xlappASComObjectxlapp.CreateObject("Excel.Application")xlapp.Visible=TRUEXlb=xlapp.Workbooks.AddXls=Xlb.WorkSheets(1)withXls.Cells(1,1).Value="Name"with.Font.Bold=TRUE.ColorIndex=2endwith.Interior.ColorIndex=30.Value="Test value 1".Value="Test value 2".Value="Tets value 3".Value="Test value 4"endwithRng=Xls.Range("A1:A5")Rng.Font.Size=14Rng=Xls.Range("A2:A5")Rng.Interior.ColorIndex=36Rng.EntireColumn.Autofitxlapp.DisplayAlerts=FALSEmsgbox"click to continue..."xlapp.quit
End Sub
Last edit: Hong Bin Han 2019-12-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Han
I just stoped over BPP i almost forget avout it .
You say that you recompile it with fixed bugs
so ..may I ask is there recompiled version for download ?
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry for my poor english.
I find this project last month. and rebuild it by MINGW(8.1.0) for 32bit and 64bit
.fixed some bugs( samples can not compile , library link error, etc )
.COM binding
.GUI can apply the windows theme.
.using C++ code two ways
1. #CPP code
#char progname[1024]
#GetModuleFileName(NULL, progname, sizeof(progname))
2. inside the double {{ }}
{{
char progname[1024];
GetModuleFileName(NULL, progname, sizeof(progname));
}}
Now i am Adding GUI controls by myself.
Last edit: Hong Bin Han 2019-12-20
Option Explicit
Option CONSOLE OFF
Dim App As New BApplication
Dim Form1 As New BForm
Dim Tree1 As New BTreeView
Private Sub Form1_DblClick(Button As Long)
MsgBox "Form1 DoubleClick!"
End Sub
Private Sub SampleTreeView
End Sub
Sub Main
End Sub
below com samles works well 32bit and 64bit
Option Explicit
Option CONSOLE OFF
Sub Main
End Sub
Last edit: Hong Bin Han 2019-12-20
using C++ codes directly
Function BCombo.WndProc
{{
if ( (WM_COMMAND) == uMsg ) {
if ( HIWORD(wParam) == CBN_SELCHANGE ) {
if ( OnSelectChanged > 0 ) {
}}
{{
}
}
}
}}
Function = Super.WndProc(hWnd, uMsg, wParam, lParam)
End Function
Last edit: Hong Bin Han 2019-12-20
Hello Han
I just stoped over BPP i almost forget avout it .
You say that you recompile it with fixed bugs
so ..may I ask is there recompiled version for download ?
thanks