Search found 6 matches

by Ausprobieren
Sat Apr 06, 2024 11:19 pm
Forum: Bugs - Documentation
Topic: Purebasic 6.10 - #PB_Event_SysTray
Replies: 3
Views: 3658

Purebasic 6.10 - #PB_Event_SysTray

Hello friends,
i try following coding:

; Unsichtbares Fenster, um nur den Systray anzuzeigen
OpenWindow(0, 0, 0, 10, 10, "", #PB_Window_Invisible)
UsePNGImageDecoder()
AddSysTrayIcon(0, WindowID(0), LoadImage(0, #PB_Compiler_Home + "examples/sources/Data/world.png"))
; Erstellt ein Popup-Menü ...
by Ausprobieren
Sat Sep 13, 2014 11:45 am
Forum: Coding Questions
Topic: Statusbar works not correctly by 2nd attempt
Replies: 2
Views: 1190

Statusbar works not correctly by 2nd attempt

Hello together,

ich have the following problem:
I initialize a statusbar correctly in the main program and give a statsubar line by the progress of the threads via 'StatusBarProgress(#Statusleiste, Feld, Wert [, Aussehen [, Min, Max]])'.

In the first call, the statusbar works correctly, in the ...
by Ausprobieren
Tue Jul 08, 2014 3:18 pm
Forum: Coding Questions
Topic: Same Programm have different runtime xp (1sec) win 7 (5 sec)
Replies: 4
Views: 1448

Re: Same Programm have different runtime xp (1sec) win 7 (5

Are you sure you have proper permissions for the directories you are trying to access on Windows 7? On Windows, PB generally installs everything under c:\Program Files, including the examples. On Windows 7, this is a protected directory and depending on the rights/permissions you have, trying to ...
by Ausprobieren
Sun Jul 06, 2014 3:55 pm
Forum: Coding Questions
Topic: Same Programm have different runtime xp (1sec) win 7 (5 sec)
Replies: 4
Views: 1448

Re: Same Programm have different runtime xp (1sec) win 7 (5

Have any user an idea, what is the problem. I thought, i habe an virus, nothing.
Could be the opposite, your anti-virus. :)

Try to use compiler option "[X] Create temporary executable in the source directory", and
add PB to the anti-virus exception list. By default PB creates the temp executable ...
by Ausprobieren
Sun Jul 06, 2014 12:05 pm
Forum: Coding Questions
Topic: Same Programm have different runtime xp (1sec) win 7 (5 sec)
Replies: 4
Views: 1448

Same Programm have different runtime xp (1sec) win 7 (5 sec)

Hello people,

ich have a interesting performance by one of my Programs. I have found this code in the Purebasic examples, modified this coding and compiled this. All its normally. Now, i want to change any lines at this program, and i compiled ths and the reponse time get from < 1 second to over 5 ...
by Ausprobieren
Thu May 29, 2014 1:48 pm
Forum: Coding Questions
Topic: Problem with CatchImage and EncodeImage
Replies: 2
Views: 784

Problem with CatchImage and EncodeImage

Hello together,

I have a problem, to catch an image. I build a loop to see, if it is a time problem.
The Problem is, it hangs on the first loop.
Now my question: Is it a hardware-defect, or other ...
I have the same problem by using
*Puffer = EncodeImage(#Image [, ImagePlugin [, Flags [, Tiefe ...