BTW, the Visual Basic 5 exe wasn't digitally signed either, so signing your exes to "reduce false positives" is simply not true in the real world.
PureBasic v5.71 (32-bit):
Code: Select all
If OpenWindow(0, 400, 200, 200, 100, "Form1", #PB_Window_SystemMenu)
ButtonGadget(0, 10, 10, 150, 35, "Command1")
Repeat
Event = WaitWindowEvent()
If Event = #PB_Event_Gadget
MessageRequester("Project1","hello")
EndIf
Until Event = #PB_Event_CloseWindow
EndIf
Visual Basic 5 Pro:
Code: Select all
VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3015
ClientLeft = 120
ClientTop = 465
ClientWidth = 4560
LinkTopic = "Form1"
ScaleHeight = 3015
ScaleWidth = 4560
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command1
Caption = "Command1"
Height = 615
Left = 600
TabIndex = 0
Top = 480
Width = 1935
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
MsgBox ("hello")
End Sub