Search found 4529 matches

by mk-soft
Wed Apr 17, 2024 10:02 pm
Forum: Bugs - Windows
Topic: PB6.10 - 6.11b1 splitter redraw bug
Replies: 6
Views: 175

Re: PB6.10 - 6.11b1 splitter redraw bug

No problem with Window 10 Pro 22H2
by mk-soft
Wed Apr 17, 2024 5:20 pm
Forum: Bugs - Mac OSX
Topic: PB v6.11 Beta 1 - Wrong Compiler Name
Replies: 0
Views: 86

PB v6.11 Beta 1 - Wrong Compiler Name

For macOS Packet PB v6.11 Beta 1, the IDE and the compiler show version v6.10 LTS.
But it is the new compiler v6.11 beta 1 because the bug with arrays is fixed.
by mk-soft
Wed Apr 17, 2024 5:12 pm
Forum: Announcement
Topic: PureBasic 6.11 LTS Beta 1 is ready for testing !
Replies: 9
Views: 515

Re: PureBasic 6.11 LTS Beta 1 is ready for testing !

Thank you very much,

For macOS Packet PB v6.11 Beta 1, the IDE and the compiler show version v6.10 LTS.
But it is the new compiler v6.11 beta 1 because the bug with arrays is fixed.

:wink:
by mk-soft
Wed Apr 17, 2024 9:27 am
Forum: Tricks 'n' Tips
Topic: Module ActiveScript for VBScript and JScript with PB-Runtime Variables
Replies: 45
Views: 21499

Re: Module ActiveScript for VBScript and JScript with PB-Runtime Variables

Update v2.12
- Bugfix ActiveScript Release

Oops, I had one Object.Release() too many.
Furthermore, I set the debug output to #DebugLevel = 6 (#DebugLevelActiveScriptEx) to display all debug outputs.

As it looks now all reference counters of all objects are correct :wink:
by mk-soft
Tue Apr 16, 2024 9:18 pm
Forum: Coding Questions
Topic: Thread Parameters?
Replies: 5
Views: 301

Re: Thread Parameters?

Structure udtParameters Parm1.i Parm2.i Parm3.i EndStructure Global myParams.udtParameters myParams\Parm1 = 1 myParams\Parm2 = 3 myParams\Parm3 = 5 Procedure Thread(*myParams.udtParameters) Protected a a = *myParams\Parm1 Debug a EndProcedure CreateThread(@Thread(), @myParams) Delay(1000) More over...
by mk-soft
Tue Apr 16, 2024 7:46 pm
Forum: Tricks 'n' Tips
Topic: Module ActiveScript for VBScript and JScript with PB-Runtime Variables
Replies: 45
Views: 21499

Re: Module ActiveScript for VBScript and JScript with PB-Runtime Variables

Update v2.11 - New and FreeActiveScript revised to release all resources. ActiveScript.Close() is now used with FreeActiveScript. This automatically releases the objects created in the VBScript. This should eliminate memory leaks. Note. ActiveScript.Close() also reduces the RefCounter of the Active...
by mk-soft
Tue Apr 16, 2024 1:04 pm
Forum: Coding Questions
Topic: GetFileDate() and UTC
Replies: 5
Views: 253

Re: GetFileDate() and UTC

Unfortunately there is a bug in PB. GetFileDate returns the local datetime of the file. However, the timestamp is stored in the file system as UTC. Unfortunately PB calculates the returned datetime with the actual datetime difference, instead of calculating with the datetime difference to the timest...
by mk-soft
Mon Apr 15, 2024 8:31 am
Forum: Coding Questions
Topic: Can you check this out? (mac os)
Replies: 26
Views: 4697

Re: Can you check this out? (mac os)

can you check what the "LeftClickEvent()" procedure returns? ; https://www.purebasic.fr/english/viewtopic.php?t=60782 Procedure LeftClickEvent() Debug "click" Debug Str(EventMenu()) ; why return 111? Debug Str(EventGadget()) ; why return 111? Debug Str(EventWindow()) EndProcedur...
by mk-soft
Sun Apr 14, 2024 5:17 pm
Forum: Coding Questions
Topic: Process owner over LAN - SOLVED
Replies: 8
Views: 1930

Re: Process owner over LAN - SOLVED

I think the Username must be defined as Variant ... Alternative to COMate with ActiveScript. Returns the domain and username Update ;-TOP ; Comment : Modul ActiveScript Example 20 ; Version : v2.10.1 ; Link to ActiveScript : https://www.purebasic.fr/english/viewtopic.php?f=12&t=71399 ; Link to S...
by mk-soft
Sun Apr 14, 2024 3:34 pm
Forum: Coding Questions
Topic: Setting and Getting GadgetITemData on a ListIconGadget
Replies: 7
Views: 365

Re: Setting and Getting GadgetITemData on a ListIconGadget

I have 11 fingers ...

left side. 10, 9, 8, 7, 6 and right side 5, together 11 8)
by mk-soft
Sun Apr 14, 2024 12:27 pm
Forum: Tricks 'n' Tips
Topic: Module ActiveScript for VBScript and JScript with PB-Runtime Variables
Replies: 45
Views: 21499

Re: Module ActiveScript for VBScript and JScript with PB-Runtime Variables

AddOn SmartTags Update v2.06 - Added SmartTags as object method - Set and get SmartTags explizite as text * Modul SmartTags The SmartTags can now be used as object methods. As you often forget to release the object again (Set Obj = Nothing), these are automatically released at the end. In addition,...
by mk-soft
Sat Apr 13, 2024 11:32 pm
Forum: Tricks 'n' Tips
Topic: Module ActiveScript for VBScript and JScript with PB-Runtime Variables
Replies: 45
Views: 21499

Re: Module ActiveScript for VB-Script with PB-Runtime Variables

Update v2.10
- Bugfix release objects

Found another bug and optimised the release of the objects :wink:
by mk-soft
Sat Apr 13, 2024 10:33 am
Forum: Coding Questions
Topic: Is SkewCoordinates() bugged ?
Replies: 1
Views: 125

Re: Is SkewCoordinates() bugged ?

No, Is written on the left. I have added an auxiliary line. If OpenWindow(0, 0, 0, 400, 200, "VectorDrawing", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) CanvasGadget(0, 0, 0, 400, 200) If StartVectorDrawing(CanvasVectorOutput(0)) SkewCoordinates(45, 0) MovePathCursor(0, 0) AddPathL...
by mk-soft
Thu Apr 11, 2024 5:45 pm
Forum: Bugs - Linux
Topic: Done: PB6.10: Old Compiler in Package 6.10 LTS for Linux (Ubuntu 20.04 or 22.04 - x64)
Replies: 2
Views: 214

Re: PB6.10: Old Compiler in Package 6.10 LTS for Linux (Ubuntu 20.04 or 22.04 - x64)

Could it be that you have not yet updated the compilers in Preferences -> Compiler ?
You can add several compilers there.
by mk-soft
Thu Apr 11, 2024 5:39 pm
Forum: Coding Questions
Topic: PB 6.10 x64 OpenLibrary
Replies: 6
Views: 396

Re: PB 6.10 x64 OpenLibrary

HeX0R wrote: Thu Apr 11, 2024 4:34 pm to keep fair against old codes/coders, at the beginning of PB, there were no integers and longs were the default.
I remember it darkly 8)