CryoEnix Posted April 7, 2007 Posted April 7, 2007 (edited) Hi all, I've got a class which, when called, will search through all of the files in a string array to process them. The problem is that the method should also take a pointer to a progressBar (for obvious reasons), but the UI doesn't even see the System.Windows part - I've tried implementing a 'Imports...' statement at the top of the class, but that won't even work. Any ideas? Public Function addTexts(ByRef filePaths() As String, ByRef pcMain As System.Windows.Forms.ProgressBar) As Integer Edited April 7, 2007 by CryoEnix Quote Chaos is merely logic beyond human comprehension
Leaders snarfblam Posted April 7, 2007 Leaders Posted April 7, 2007 This might be a stupid question, but if this is a class library, are you sure you have System.Windows.Forms.dll referenced? Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.