Simple Cube Creation

Analysis Services Programming

Analysis Services Programming

Simple Cube Creation

Sample code for creating a cube is provided in two different samples. Each sample illustrates a different implementation, depending on whether the cube is created by a client or a server application.

Sample Programs

The following table lists and describes the samples in this section. For more information about installation and general requirements, see Analysis Services Programming Samples.

Sample Description
VbAdoCreateCube This Microsoft® Visual Basic® project creates a client-side cube using Microsoft ActiveX® Data Objects (ADO) and ActiveX Data Objects (Multidimensional) (ADO MD).

This sample requires Visual Basic 5.0 (with Service Pack 3) or Visual Basic 6.0, ADO, and ADO MD.

This sample is located in the VbAdoCreateCube folder. It consists of the FrmVbAdoCreateCube.frm, VbAdoCreateCube.vbp, and VbAdoCreateCube.vbw files.

VbDSOExample This Visual Basic project creates a server-side cube and demonstrates much of the available Decision Support Objects (DSO) functionality.

This sample requires Visual Basic 5.0 (with Service Pack 3) or Visual Basic 6.0, and DSO.

This sample is located in the VbDSOExample folder. It consists of the FrmMain.frm, AdvancedSampleCode.bas, Writeback.bas, DSOSample.vbp, and DSOSample.vbw files.