dbTalk Databases Forums  

Re: OLAP MDStore in .NET

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Re: OLAP MDStore in .NET in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: OLAP MDStore in .NET - 09-09-2004 , 01:29 PM






A good resource for how to use DSO with .NET COM interop is the DSO/XML
source kit located at:
http://www.microsoft.com/downloads/d...DisplayLang=en
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Brian Altmann" <findme@thesignaturewebsite> wrote

Quote:
Try:

dosServer. MDStores.Item(DSODatabaseName)

HTH,
Brian
www.geocities.com/brianaltmann/olap.html

"Paul_S" wrote:

Hi,

I'm new to .NET and trying to migrate VB6 to .NET. I have the following
code that was fine in VB6...

Dim dsoDatabase As DSO.MDStore
dsoDatabase = New DSO.Database
dsoDatabase = dsoServer.MDStores(DSODataBaseName)

But getting the following error...
(2327): Interface 'DSO.OlapCollection' cannot be indexed because it has
no
default property.

The text 'dsoServer.MDStores' in the third line is the highlighted bit
for
the error.

The help file has not really helped - what am I missing (apart from a
brain!)

Ta
Paul




Reply With Quote
  #2  
Old   
Paul
 
Posts: n/a

Default RE: OLAP MDStore in .NET - 09-10-2004 , 03:17 AM






Spot on! Thanks!

"Brian Altmann" wrote:

Quote:
Try:

dosServer. MDStores.Item(DSODatabaseName)

HTH,
Brian
www.geocities.com/brianaltmann/olap.html

"Paul_S" wrote:

Hi,

I'm new to .NET and trying to migrate VB6 to .NET. I have the following
code that was fine in VB6...

Dim dsoDatabase As DSO.MDStore
dsoDatabase = New DSO.Database
dsoDatabase = dsoServer.MDStores(DSODataBaseName)

But getting the following error...
(2327): Interface 'DSO.OlapCollection' cannot be indexed because it has no
default property.

The text 'dsoServer.MDStores' in the third line is the highlighted bit for
the error.

The help file has not really helped - what am I missing (apart from a brain!)

Ta
Paul


Reply With Quote
  #3  
Old   
Paul
 
Posts: n/a

Default Re: OLAP MDStore in .NET - 09-10-2004 , 03:17 AM



I'll give the kit a go - Thanks!

"Dave Wickert [MSFT]" wrote:

Quote:
A good resource for how to use DSO with .NET COM interop is the DSO/XML
source kit located at:
http://www.microsoft.com/downloads/d...DisplayLang=en
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Brian Altmann" <findme@thesignaturewebsite> wrote in message
news:FC30754B-2376-47CC-B275-ABEA4333ED07 (AT) microsoft (DOT) com...
Try:

dosServer. MDStores.Item(DSODatabaseName)

HTH,
Brian
www.geocities.com/brianaltmann/olap.html

"Paul_S" wrote:

Hi,

I'm new to .NET and trying to migrate VB6 to .NET. I have the following
code that was fine in VB6...

Dim dsoDatabase As DSO.MDStore
dsoDatabase = New DSO.Database
dsoDatabase = dsoServer.MDStores(DSODataBaseName)

But getting the following error...
(2327): Interface 'DSO.OlapCollection' cannot be indexed because it has
no
default property.

The text 'dsoServer.MDStores' in the third line is the highlighted bit
for
the error.

The help file has not really helped - what am I missing (apart from a
brain!)

Ta
Paul





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.