Mesa duket nuk jeni i regjistruar, kliko ne butonin Regjisrohu nqs dëshironi të bëheni pjesë e forumit tonë, per t'u regjistruar ju hargjoni maksimumi 1 min kohë. Me respekt Staffi.
Mesa duket nuk jeni i regjistruar, kliko ne butonin Regjisrohu nqs dëshironi të bëheni pjesë e forumit tonë, per t'u regjistruar ju hargjoni maksimumi 1 min kohë. Me respekt Staffi.
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
ForumPortaliKërkoLatest imagesRegjistrohuidentifikimiChatBilardo

 

 Krijimi i Progres Barit ne Visual Basik

Shko poshtë 
AutoriMesazh
Crespy
Moderator
Moderator
Crespy


Postimet : 162

Krijimi i Progres Barit ne Visual Basik Empty
MesazhTitulli: Krijimi i Progres Barit ne Visual Basik   Krijimi i Progres Barit ne Visual Basik Icon_minitimeSun Apr 12, 2009 12:33 am

Krijimi i Progres Barit ne Visual Basik








'No Declarations
'Place a ProgressBar in a form
'Place a Label labeled a Percent (%) sign
'place a label named lblPercent




Private Sub Form_Load()
mdiMain.Enabled = False
End Sub

Private Sub Timer1_Timer()
On Error GoTo F:
Screen.MousePointer = vbHourglass
With ProgressBar1
.Value = .Value + 1
lblPercent.Caption = .Value
End With
Exit Sub
F:
If Err.Number = 380 Then
'the following are the functions
'that I have to work in Background
'You may add other code here as per your need
With mdiMain
.mnuPerform.Enabled = False
.mnuModify.Enabled = False
.mnuReport.Enabled = False
.mnuOffices.Enabled = False
.mnuPersonal.Enabled = False
.mnuOfficial.Enabled = False
.mnuBackup.Enabled = False
.mnuReinstate.Enabled = False
.mnuUpdate.Enabled = False
.mnuLogOff.Caption = "Log on"
Screen.MousePointer = vbNormal
End With
Unload Me
mdiMain.Enabled = True
End If
End Sub
Mbrapsht në krye Shko poshtë
 
Krijimi i Progres Barit ne Visual Basik
Mbrapsht në krye 
Faqja 1 e 1
 Similar topics
-
» Krijimi apo Instalimi i Conter Serverit në OS Win XP
» Krijimi i Bazes per Password ne Vizual Basic
» Visual Basic script tutorial
» Visual Basic 2008
» C++ Visual Studio 9.0 - 2008

Drejtat e ktij Forumit:Ju nuk mund ti përgjigjeni temave të këtij forumi
 :: Paneli i Kontrollit :: Tutorials & Mësime-
Kërce tek: