Load screen with a gif inside picturbox

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Post Reply
User avatar
dlaurora
Posts: 8
Joined: Wed Oct 26, 2016 10:43 am

Load screen with a gif inside picturbox

Post by dlaurora » Thu Mar 14, 2019 6:14 am

Hello guys,

I'm pretty new on this scripting thing, I'm creating a form that will load AD users, the search it is a little bit low and sometimes when you search surnames it got not responding till AD brings all the results. Is there any feature that I can use/lear like jobs or any progress bar scrip that I can add during the search?.

I found some interesting thing using PictureBox, I'm able to load a gif into it but don't know how to set it to start loading during the search.

Hope you can give me some insights on this, I'm still googling and watching youtube tutorials :P.

Best regards.

User avatar
jvierra
Posts: 13276
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Load screen with a gif inside picturbox

Post by jvierra » Thu Mar 14, 2019 6:59 am

See this: https://info.sapien.com/index.php/guis/ ... sive-forms

Also browse all of the articles listed to the left for more valuable information on Forms/Controls.

User avatar
dlaurora
Posts: 8
Joined: Wed Oct 26, 2016 10:43 am

Re: Load screen with a gif inside picturbox

Post by dlaurora » Thu Mar 14, 2019 9:07 am

Thanks, I will check t! :)

User avatar
davidc
Posts: 5721
Joined: Thu Aug 18, 2011 4:56 am

Re: Load screen with a gif inside picturbox

Post by davidc » Thu Mar 14, 2019 9:56 am

On a related note, the Button - Start Job control set can also show you how to animate a PictureBox.
David
SAPIEN Technologies, Inc.

Post Reply