Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can i use a progressbar to show the state of a process

Status
Not open for further replies.

ATHUEL

Technical User
Sep 23, 2002
29
US
HI !

I wanna use a progress bar to show the state of a certain process. I have all my functions on a module and i tried to make a call to a progressbarfunction in the form1 but i see that i can´t call a function from a module and i can´t put a control in the module in order to create the progressbar function into the module, so...
What can I do to solve this?
Am i doing something wrong ( I´m sure of that)?
 
You can call a function in a form from within a module. Two things you must do to allow this. 1-) Reference the function with a qualifed form name: Form1.FunctionName (paramlist), and 2) - Declare the function as public

Public Function funName (arglist)

End Function

You can also from the module, access the progress bar control directly, again using a fully qualified reference: FormName.ControlName.Property =

FormName.prgBar.Value = 10, and so forth Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Ok, It worked fine !

thanks CajunCenturion !!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top