The StimulReport GUI No Response...
Posted: Sun Apr 29, 2007 9:58 pm
When I use the Asynchronous call to Get Dataset ..like this..
Dim oMethod As Delegate_GetProcessDate = New Delegate_GetProcessDate(AddressOf GetProcessData)
Dim oCBMethod As AsyncCallback = New AsyncCallback(AddressOf CallBackAynscGetProcessData)
oMethod.BeginInvoke(moTagSL, msDataKind, msReportKind, moParamHT, oCBMethod, moValueScreenHT)
I write a stimulreport related code in the callback function like this
Dim oReport As StiReport = New StiReport
oReport.Load(msPath_Rpt)
oReport.Compile()
oReport.RegData(moSQLData)
oReport.Show()
I can see the stimulreport design gui but always showing no response...
I try a lot of method including creating a new class and raise event in callback function and got the same result.
because the data is large, it's slow when getting it. I have to use Asynchronous call to get the data and show the prograssbar smooth ...
Could anyone help me ? thanks a lot..
Dim oMethod As Delegate_GetProcessDate = New Delegate_GetProcessDate(AddressOf GetProcessData)
Dim oCBMethod As AsyncCallback = New AsyncCallback(AddressOf CallBackAynscGetProcessData)
oMethod.BeginInvoke(moTagSL, msDataKind, msReportKind, moParamHT, oCBMethod, moValueScreenHT)
I write a stimulreport related code in the callback function like this
Dim oReport As StiReport = New StiReport
oReport.Load(msPath_Rpt)
oReport.Compile()
oReport.RegData(moSQLData)
oReport.Show()
I can see the stimulreport design gui but always showing no response...
I try a lot of method including creating a new class and raise event in callback function and got the same result.
because the data is large, it's slow when getting it. I have to use Asynchronous call to get the data and show the prograssbar smooth ...
Could anyone help me ? thanks a lot..