: Hi,
:
: ok, now I know what you mean. You mean this "KnightRyder"-style Control that shows up on the black splashscreen with the Windows Logo before XP Window shows up.
:
: I dont know if this is a Common Control. You can only use the Common Controls of Windows in your apps. However, you can create one like this on your own but you need to use "subclassing" that is creating your own ProgressBar class. Again, I dont know how to do it in C#
:
: I know how to do it with WinAPI and C but this ends up in a systemwide dll again.
:
: Cheers.
: Alex
thanx for info i'll try to make my own or i'll looking for it in internet.
:
:
: : : Hi,
: : :
: : : so you want to show a ProgressBar when XP loads. You need to write a sytemwide DLL then but thats really nothing for beginners. I dont know if its even possible using C#. May be you have to use Windows API and C language.
: : :
: : : Ah, I got the hint... its very unlikely to do it because you would need to change core XP Kernel modules or add your own module.
: : :
: : : When XP starts it only loads core kernel modules - like the one that shows up the splashscreen. All other dlls or modules are loaded at runtime.
: : :
: : : Cheers.
: : : Alex
: :
: : sorry for my english

: : but U dont understand what i mean.
: :
: : when is win xp loading there is a control that looks like progressbar but it's not a progressbar
: : i want to use this control in my application
: : my situation :
: : my app is loading some data from configs, making some preparation for open tcp channel etc and it take some time (4 -5 sec) and I want to use somethig to show to user that my app is making some activity and I like this win xp control
: :
: :
: :
: : :
: : : Cheers.
: : : Alex
: : :
: : :
: : :
: : : : : Hi,
: : : : :
: : : : : a ProgressBar is Control that displays an Infotext and a slice bar that progresses in a certain amount time - in fact as long as your process takes - and disappears when the process is done.
: : : : :
: : : : : Note that a ProgressBar is like a Modal Dialog, that is, you cant do nothing while this Dialog is shown. Only when the ProgressBar has done its job you can keep on working with your app.
: : : : :
: : : : : Hint: Most Setup programs use ProgressBars to show progress of Installation.
: : : : :
: : : : : I think you need to use the Compent class of .NET to use it.
: : : : :
: : : : : Usually, Progressbars have a startvalue - i.g. 0 - and end endvalue
: : : : : - i.g. 100. So you need to declare a timer variable iCnt, a variable for
: : : : : statvalue and a loop to go through the whole time:
: : : : :
: : : : : int iCnt;
: : : : :
: : : : : for(iCnt = 0;i<100;i++)
: : : : : {
: : : : : //do whatever you intend to do;
: : : : : }
: : : : : I guess that ProgressBar Control will have properties or members to set startvalue and endvalue. Check out Microsoft .NET Code Base for tutorials and further help.
: : : : :
: : : : : Cheers.
: : : : : Alex
: : : : :
: : : : thanx very much, but i know what progressbar is (i have my own types of progressbars) but i'm looking for something what use win xp when loading .
: : : : my reply
: : : : " thanx very much but i don't know what progressbar is ....

"
: : : : was only a joke

: : : :
: : : :
: : : : :
: : : : : : : well.... use a progressbar...
: : : : : : :

: : : : : : thanx very much but i don't know what progressbar is ....

: : : : : :
: : : : : : :
: : : : : : :
"Rejoice always, pray without ceasing, in everything give thanks; for this is the will of God in Christ Jesus for you."[i]1Thess. 5:16-18[/i]
: : : : : : :
: : : : : : :
: : : : : :
: : : : : :
: : : : : :
: : : : : :
: : : : :
: : : : :
: : : :
: : : :
: : : :
: : : :
: : :
: : :
: :
: :
: :
: :
:
: