Hack Forums
[.NET] Native Windows 7 progressbar API - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Native Windows 7 progressbar API (/showthread.php?tid=5326577)



Native Windows 7 progressbar API - DeStilleGast - Jul 3, 2016

So, its been a while that I have posted here something and decided to release a script to use the Windows 7 native progressbar (should work on windows 7 and higher). This can enchant specified tasks and stuff.

Info:
can set a maximum, so you can set it to 3 for like 3 tasks
can set 3 lines as seen in the GIF
can set a cancel message and you can see when a user cancel's it
if the max is reached it will do the waiting animation

How it looks like: (I for forgot to turn off TeamViewer thats why you see <->)
[Image: 7199aa32e6.gif]

Code from the preview is in the pastebin under sub PreView()

Code:
http://pastebin.com/fG8MPfWW

Credits:
Original source: Pietschsoft (also in the source)
Converted to VB.NET: DeStilleGast (me)


* - Ninja - Jul 3, 2016

This is actually really nice. Great contribution! Keep it up! :)
Goed gedaan, ga zo door.


* - ubbelol - Jul 4, 2016

Code
Public Class IProgressDialog

You probably shouldn't prefix class names with 'I'.


* - DeStilleGast - Jul 4, 2016

(Jul 3, 2016 06:38 PM)Ninja Wrote:  This is actually really nice. Great contribution! Keep it up! :)
Goed gedaan, ga zo door.

Thx 😁
Dankje 😁


(Jul 4, 2016 03:03 AM)ubbelol Wrote:  
Code
Public Class IProgressDialog

You probably shouldn't prefix class names with 'I'.

I know but it's not my source, I only converted it to VB.NET