Sample DM Provider's UI problem: Progress 
Author Message
 Sample DM Provider's UI problem: Progress
Dear Jamie & Zhaohui:

I am working on the sample DM provider now. Here is a problem. When the
provider is computing, I want to display progress info to end user, but I
have not figured out how to do that. Can you give me some guide?

Is it related to ConnectionPoint? Then is that IDBAsynchNotify or
IDMAsynchNotify or some Remote versions?

Thanks

James



Sat, 22 May 2004 04:36:14 GMT
 Sample DM Provider's UI problem: Progress

James,
You need to implement the IDBAsynchStatus interface on your result object
i.e. the user will QI for IDBAsynchStatus when they Execute a training
statement, and then call methods to get status that they use to update a
progress UI.

Optionally, you can also support a connection point for IDBAsynchNotify.
This is a callback mechanism where the user supplies a sink for this
interface and you call back periodically from the provider with status
updates.

Both these interfaces are standard OLE DB ones that you should be able find
documentation for on MSDN.

-Raman


Quote:
> Dear Jamie & Zhaohui:

> I am working on the sample DM provider now. Here is a problem. When the
> provider is computing, I want to display progress info to end user, but I
> have not figured out how to do that. Can you give me some guide?

> Is it related to ConnectionPoint? Then is that IDBAsynchNotify or
> IDMAsynchNotify or some Remote versions?

> Thanks

> James



Sat, 22 May 2004 06:08:53 GMT
 Sample DM Provider's UI problem: Progress
Someone has told me I only need implement IDBAsynchStatus, but I want to
know in which class I should implement it?

Thanks,

James


Quote:
> Dear Jamie & Zhaohui:

> I am working on the sample DM provider now. Here is a problem. When the
> provider is computing, I want to display progress info to end user, but I
> have not figured out how to do that. Can you give me some guide?

> Is it related to ConnectionPoint? Then is that IDBAsynchNotify or
> IDMAsynchNotify or some Remote versions?

> Thanks

> James



Sat, 22 May 2004 09:35:39 GMT
 Sample DM Provider's UI problem: Progress
I think I misunderstood your earlier question: I believe you were asking
about reporting progress in the Analysis Manager UI for your aggregated
provider. Analysis Services 2000 (SP1) doesn't currently support reporting
progress notifications from third-party providers. We might have support for
that in a future release - I will post that information when it becomes
available.

By the way, the sample provider should already have an implementation of
IDBAsynchStatus on the result object returned by the command for
asynchronous execution (see SPCommand::ExecuteCommand). This should still be
usable when the provider is used directly by the end user.

-Raman

--
Please do not send email directly to this alias. This alias is for newsgroup
purposes and is intended to prevent automated spam. I've been "encouraged"
to share this helpful information from our lawyers. This posting is provided
"AS IS" with no warranties, and confers no rights. You assume all risk for
your use. ? 2001 Microsoft Corporation. All rights reserved.


Quote:
> James,
> You need to implement the IDBAsynchStatus interface on your result object
> i.e. the user will QI for IDBAsynchStatus when they Execute a training
> statement, and then call methods to get status that they use to update a
> progress UI.

> Optionally, you can also support a connection point for IDBAsynchNotify.
> This is a callback mechanism where the user supplies a sink for this
> interface and you call back periodically from the provider with status
> updates.

> Both these interfaces are standard OLE DB ones that you should be able
find
> documentation for on MSDN.

> -Raman



> > Dear Jamie & Zhaohui:

> > I am working on the sample DM provider now. Here is a problem. When the
> > provider is computing, I want to display progress info to end user, but
I
> > have not figured out how to do that. Can you give me some guide?

> > Is it related to ConnectionPoint? Then is that IDBAsynchNotify or
> > IDMAsynchNotify or some Remote versions?

> > Thanks

> > James



Sun, 23 May 2004 14:49:13 GMT
 
 [ 4 post ] 

 Relevant Pages 

1. Update DM Sample Provider Available!

2. A Question about DM Sample Provider

3. A question on DM sample provider

4. A question on DM sample provider

5. DMSample with DM Sample Provider Code

6. Sample data for the sample DM model

7. I can't get the sample provider

8. DM Sample compile error

9. Set up DM Sample with Analysis Services

10. DM Queries samples used in PASS Data Mining Sessions Posted

11. Access Violation with fstream in OLEDB for DM sample

12. DM Sample Application and DMBrowser


 
Powered by phpBB® Forum Software