Search found 3119 matches

by BarryG
Thu Mar 14, 2024 12:45 am
Forum: Feature Requests and Wishlists
Topic: Delete PureBasic_Compilation0.exe after Run from the Temp file.
Replies: 10
Views: 514

Re: Delete PureBasic_Compilation0.exe after Run from the Temp file.

OpenWindow(0,0,0,150,60, "",#PB_Window_SystemMenu|#PB_Window_ScreenCentered) ButtonGadget(1,30,10,90,40, "Button_1") ;1 ;ButtonGadget(1,30,10,90,40, "What Have We Got Here.??");2 Repeat:Event = WaitWindowEvent():Until Event = #PB_Event_CloseWindow Just copy and paste t...
by BarryG
Wed Mar 13, 2024 1:12 pm
Forum: Feature Requests and Wishlists
Topic: Delete PureBasic_Compilation0.exe after Run from the Temp file.
Replies: 10
Views: 514

Re: Delete PureBasic_Compilation0.exe after Run from the Temp file.

BarryG wrote: Wed Mar 13, 2024 4:08 amYou can't delete it while it's running (same for any file).
This includes after being run from the Compiler tab. :wink:
by BarryG
Wed Mar 13, 2024 4:10 am
Forum: Coding Questions
Topic: File picker gadgets in native PureBasic?
Replies: 17
Views: 558

Re: File picker gadgets in native PureBasic?

Oh, you mean the window itself with the gadgets. Got it. I was too focussed on "file picker gadget" in your topic title :lol:
by BarryG
Wed Mar 13, 2024 4:08 am
Forum: Feature Requests and Wishlists
Topic: Delete PureBasic_Compilation0.exe after Run from the Temp file.
Replies: 10
Views: 514

Re: Delete PureBasic_Compilation0.exe after Run from the Temp file.

PureBasic_Compilation0.exe and its files get deleted when you quit the IDE. You can't delete it while it's running (same for any file).
by BarryG
Wed Mar 13, 2024 4:05 am
Forum: Coding Questions
Topic: File picker gadgets in native PureBasic?
Replies: 17
Views: 558

Re: File picker gadgets in native PureBasic?

Can someone show me (with comparison screenshots) what I'm missing here? We're still using OpenFileRequester() as I originally said?
by BarryG
Wed Mar 13, 2024 3:39 am
Forum: General Discussion
Topic: Question about PB's built-in FTP
Replies: 5
Views: 304

Re: Question about PB's built-in FTP

dige wrote: Tue Mar 12, 2024 1:43 pmwhat are your experiences with the internal FTP functions?
Works great for me. SendFTPFile() works as expected when I upload files to my website.
by BarryG
Wed Mar 13, 2024 3:36 am
Forum: Coding Questions
Topic: File picker gadgets in native PureBasic?
Replies: 17
Views: 558

Re: File picker gadgets in native PureBasic?

I don't see anything in DocMaker that the PureBasic commands don't provide? It just uses OpenFileRequester() and PathRequester().
by BarryG
Wed Mar 13, 2024 2:40 am
Forum: Coding Questions
Topic: File picker gadgets in native PureBasic?
Replies: 17
Views: 558

Re: File picker gadgets in native PureBasic?

Quin wrote: Tue Mar 12, 2024 5:27 pmI meant the super generic-looking browse for file control you super commonly see
Got a screenshot? Because I have no idea which file picker you're talking about.
by BarryG
Mon Mar 11, 2024 11:00 am
Forum: Windows
Topic: [Solved] Mouse wheel hook laggy in Windows
Replies: 17
Views: 2237

Re: [Solved] Mouse wheel hook laggy in Windows

This is not a problem with pb v6.10. It is a problem with old codes written for x86. Okay... but all these crashes have started since I began using 6.10 recently. It was all fine with 6.04 before that. I haven't coded with the x86 version of PureBasic for a couple of years now. Only the 64-bit vers...
by BarryG
Mon Mar 11, 2024 10:55 am
Forum: Coding Questions
Topic: Crash with PB 6.10 b6 with function PeekS / PeekL
Replies: 22
Views: 730

Re: Crash with PB 6.10 b6 with function PeekS / PeekL

That looks interesting! Thanks for the idea, Fred. I will see what I can do with it. It gives me hope! :D
by BarryG
Mon Mar 11, 2024 10:51 am
Forum: Windows
Topic: [Solved] Mouse wheel hook laggy in Windows
Replies: 17
Views: 2237

Re: [Solved] Mouse wheel hook laggy in Windows

Changed to ".i" and all is working well again. Far out. Coding with 6.10 is so confusing now. :(
by BarryG
Mon Mar 11, 2024 10:47 am
Forum: Windows
Topic: [Solved] Mouse wheel hook laggy in Windows
Replies: 17
Views: 2237

Re: [Solved] Mouse wheel hook laggy in Windows

Okay, thanks Fred! :)
by BarryG
Mon Mar 11, 2024 10:45 am
Forum: Windows
Topic: [Solved] Mouse wheel hook laggy in Windows
Replies: 17
Views: 2237

Re: [Solved] Mouse wheel hook laggy in Windows

New problem with PureBasic 6.10: I'm using Idle's code above but my app is now crashing on this line: CopyMemory(lparam,@mMouseInput,SizeOf(MSLLHOOKSTRUCT)) The error was caught with OnErrorCall() as "Access violation" for that line. Any tips on how to fix this? I note that Idle has longs ...
by BarryG
Mon Mar 11, 2024 5:19 am
Forum: Coding Questions
Topic: Getting system environment variables only (Windows)?
Replies: 8
Views: 248

Re: Getting system environment variables only (Windows)?

I need to get all of the system environment variables in my app on Windows. It's in the manual -> https://www.purebasic.com/documentation/process/examineenvironmentvariables.html Or use this: p=RunProgram(GetEnvironmentVariable("comspec"),"/c set","",#PB_Program_Hide|#...