>Hello Craig,
>
>Your solution worked well in captivity (development), but it is throwing an error for me when released in the wild (production). On the development computer, I guess it's finding the .FXP and using that.
>
>
>Take that class (making sure it is OLEPublic still) and place it into a prg file in a seperate empty project. Then, compile your new project as a COM Server (EXE) in VFP.>
>Confirmed, done as instructed.
>
>
>So, let's say your COM Server exe is named "progress.exe"... then you can instantiate it from your main application using loProgress = CreateObject("Progress.ProgressIndicator") - the code from your main application is little different than what you have now except for this change in how it gets instantiated.>
>Here is my calling code:
>LOCAL loProgress
>loProgress = CREATEOBJECT("MEprogress.ProgressIndicator")
>loProgress.setup("Selecting Data for Sample Workorders...", 1, 1, 0, .T., .F.)
>loProgress.show()
>When running in production, the COM server MEprogress.exe resides in the same folder on the network drive that the calling application is in.
>The error message is: "Class definition MEPROGRESS.PROGRESSINDICATOR is not found."
>
>
SET OLEOBJECT
is at default. Should I explicitly set it
ON
?
>Your additional help will be much appreciated.
You should register COM server MEprogress.exe
--sb--