R
Robert Bevington
Hi everyone,
I'm trying to set up a backgroundworker so that I can dispaly a progress bar
in marquee mode while a long process (external API call) is running.
Public Sub bgw_DoWork(ByVal sender As Object, ByVal e As DoWorkEventArgs)
ImportDef.ProcessImport(MtTaskType.mtScript)
End Sub
My problem is getting the line that makes the API call ..ProcessImport to
work. I keep getting
the following error meesage when I call the API method:
Object reference not set to an instance of an object.
Has this got anything to do with the object being initially created outside
the background worker? If so, how do I pass this object to the
backgroundworker?
Thanks for any help
Robert
I'm trying to set up a backgroundworker so that I can dispaly a progress bar
in marquee mode while a long process (external API call) is running.
Public Sub bgw_DoWork(ByVal sender As Object, ByVal e As DoWorkEventArgs)
ImportDef.ProcessImport(MtTaskType.mtScript)
End Sub
My problem is getting the line that makes the API call ..ProcessImport to
work. I keep getting
the following error meesage when I call the API method:
Object reference not set to an instance of an object.
Has this got anything to do with the object being initially created outside
the background worker? If so, how do I pass this object to the
backgroundworker?
Thanks for any help
Robert