Buy Questpond's video subscriptions on
huge discount
.
Online: 4079
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
VB.NET
>
Loading ...
handling progress bar in vb.net
Posted by
Thiru
under
VB.NET
on 4/18/2012 |
Points: 10
| Views : 8130 | Status :
[Member]
| Replies : 3
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
Hi Friends,
I have a status bar with progress bar in MDI Form
i like to activate progress bar when some process is going on in child form.
How to call / activate the progress bar in parent form From Child Form ?
regards,
Thiru.
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Thiru
on: 4/18/2012
[Member]
Starter
|
Points: 25
0
Thanks for your reply Singaravel,
i am lacking to handle/call ProgressBar in MDI form
From Child form.
Thiru
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Sunny4989
on: 4/19/2012
[Member]
Starter
|
Points: 25
0
Step 1:
Open a Visual Basic project.
Double-click the "Progress Bar" control on the toolbar to add "ProgressBar1" to the form.
Double-click the "Button" control to add "Button1" to the form.
Step 2
Press "F7" to open the code window. Open the "Form1_Load" subroutine and type the following:
ProgressBar1.Minimum = 0
ProgressBar1.Maximum = 5
ProgressBar1.Value = 0
This code sets the starting values for the progress variable, as well as the minimum, maximum and current values for the progress bar. You can set a different maximum value depending on what you need the progress bar for.
Step 3:
Open the "Button1_Click" subroutine and type the following:
If ProgressBar1.Value < ProgressBar1.Maximum Then
ProgressBar1.Value += 1
If ProgressBar1.Value = ProgressBar1.Maximum Then
MsgBox("Finished!")
End If
End If
------------------------------------------------
Learn throughout life
Thiru
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Thiru
on: 4/19/2012
[Member]
Starter
|
Points: 25
0
Thanks for your reply,
Nice example code.
But i need to have the status bar with progress bar in mdi form
and control the same from child form
i dont know how to change the current form name in mdi statusbar.label and progress bar
help me in this regard please.
Thiru
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...