Search found 84 matches

by k3pto
Sat Jun 21, 2025 8:46 pm
Forum: General Discussion
Topic: Videos with Version 6.21
Replies: 5
Views: 802

Re: Videos with Version 6.21

My PC is currently running Windows 10 Pro. I have Klite CODEC Pack 19.0.1 Standard installed. When I attempt to install MediaFoundation on my W10 Pro machine I get an error message that the update is not applicable.
by k3pto
Thu Jun 19, 2025 4:54 pm
Forum: General Discussion
Topic: Videos with Version 6.21
Replies: 5
Views: 802

Re: Videos with Version 6.21

Hello Piero,

That worked. Thank you.

However, why should I have to do that since 6.20 worked with any video? Is there something else that needs to be done inside PB to make it work like 6.20?

How can I "install" ffmpeg so that Windows knows where to find it and its libraries?
by k3pto
Wed Jun 18, 2025 9:19 pm
Forum: General Discussion
Topic: Videos with Version 6.21
Replies: 5
Views: 802

Videos with Version 6.21

I have a program which plays videos using v6.20. They do not play using v6.21. I am using Windows 10 pro. The video files I use are mostly .mp4. I have version 19.0.1 of KLight installed and version 12 of Direct X.

Using the example program that comes with PB (movie.pb) slightly modified so I can ...
by k3pto
Thu Apr 10, 2025 9:05 pm
Forum: General Discussion
Topic: File shortcut
Replies: 5
Views: 1349

File shortcut

Does PB have a way to access a file via a shortcut? FileSize (ShortcutName$) returns -1.
I tried searching the forum and did not find anything helpful.
by k3pto
Sun Mar 23, 2025 10:52 pm
Forum: General Discussion
Topic: coordinates of text
Replies: 4
Views: 1546

coordinates of text

Is there a way to get the x and y coordinates of individual lines of text within a gadget?

Just 2D in Windows. I want to determine on which entry within a list box the user did a right-click without having to select it first with a left-click.
by k3pto
Mon Feb 03, 2025 2:27 am
Forum: General Discussion
Topic: DesktopResolutionX for multiple desktops
Replies: 0
Views: 2973

DesktopResolutionX for multiple desktops

I have successfully used DesktopResolutionX and other Desktop functions to scale the gadgets on my primary desktop. I have three desktop monitors of differing resolutions. Two of the monitors are projectors. When I project on one of them, the image fills the screen. The same image on the other ...
by k3pto
Thu Jan 16, 2025 10:23 pm
Forum: General Discussion
Topic: [Solved] TextGadget text justification
Replies: 1
Views: 1980

[Solved] TextGadget text justification

Is it possible to change the justification of a TextGadget dynamically? The only forum entries I found say no, but they are 10 yrs old.

Thank you Shardik, that works. I did shrink the code for Windows only:

Procedure Justify ( WhichGadget, Justification )
Define i

WhichGadget = GadgetID ...
by k3pto
Thu Jan 16, 2025 10:06 pm
Forum: General Discussion
Topic: [Solved] gadget size
Replies: 4
Views: 3775

Re: gadget size - Solved

Thank you Bisonte and HeXOR. I was not aware of the scaling functions - so many features to read about!
by k3pto
Mon Jan 13, 2025 9:59 pm
Forum: General Discussion
Topic: [Solved] gadget size
Replies: 4
Views: 3775

Re: gadget size

Hi Bisonte,
Thank you for the reply. How do I scale it and how do I detect that it needs scaling?
by k3pto
Mon Jan 13, 2025 9:26 pm
Forum: General Discussion
Topic: [Solved] gadget size
Replies: 4
Views: 3775

[Solved] gadget size

I have a program that displays four Editor gadgets across my screen. The size of the gadgets is determined by using ExamineDesktops with
DesktopX(0), DesktopWidth(0) and DesktopHeight(0). I then calculate the size and position for each gadget using these values. On my desktop PC and my laptop, both ...
by k3pto
Mon Dec 23, 2024 8:36 pm
Forum: General Discussion
Topic: special characters
Replies: 1
Views: 2036

special characters

Can I display special characters, such as © and ®, in an editor gadget?
by k3pto
Sat Dec 14, 2024 10:16 pm
Forum: General Discussion
Topic: Stream video from a camera in real time
Replies: 8
Views: 5074

Re: Stream video from a camera in real time

It seems like several responses point to using VLClib. Can someone please show me how to add it to my PB and then how to use it? I now have two requirements that VLC may be able to do:
1) real time video from a USB camera
2) show a video from the web

Has someone already implemented a port of VLClib ...
by k3pto
Fri Oct 25, 2024 5:32 pm
Forum: General Discussion
Topic: Solved: Editor Gadget cursor position
Replies: 10
Views: 2417

Solved: Editor Gadget cursor position

Is there a way to get the line number of the cursor position in an editor gadget?
by k3pto
Sat Oct 05, 2024 12:56 am
Forum: General Discussion
Topic: Play a DVD
Replies: 1
Views: 745

Play a DVD

Is it possible for PB to play a movie from a DVD?
by k3pto
Mon Sep 02, 2024 10:58 pm
Forum: Coding Questions
Topic: Movie on multiple screens
Replies: 1
Views: 545

Movie on multiple screens

My application shows a movie on three screens. In order to ensure that the sound is synchronized at all three locations I execute the following sequence of instructions for each monitor:
Movie_nID = LoadMovie ( #PB_Any, FileName )
MovieAudio (Movie_nID , volume, 0 )
ResizeMovie (Movie_nID , 0, 0 ...