Downloaded pivotcubex.exe as trial vb sample dont run

Discussion forum for PivotCubeX component. Common usage questions. Bug and problem reports

Moderator: Alex Zencovich

Downloaded pivotcubex.exe as trial vb sample dont run

Postby raul » Mon Oct 30, 2006 10:21 pm

I registered all but dont run
raul
User
 
Posts: 9
Joined: Mon Oct 30, 2006 9:39 pm

Postby AlexZencovich » Tue Oct 31, 2006 6:11 am

Hello,
Do you got any error messages? Please note pre-compiled VB demo is actually VB.NET and may require some .NET libraries.
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am

Postby raul » Wed Nov 01, 2006 7:20 pm

I'm talking about content of VB6 label Project1.vbp fie, not VB.NET label.

Problem is with

Private Sub PCX_OnGetcellValue(ByRef Row As zcube.ICell, ByRef Column As zcube.ICell, _
ByVal MeasureIndex As Long, ByVal ViewIndex As Long, ByVal Focused As Boolean, _
ByVal Selected As Boolean, ByVal Sorted As Boolean, Value As Double, CellString As String, _
ByVal Cell As PivotCubeXLib.ICellDrawing)

with zCube.dll registered PivotCubeX object event requires..
Private Sub PCX_OnGetCellValue(ByVal RowIndex As Long, ByVal ColumnIndex As Long, _
ByVal MeasureIndex As Long, ByVal ViewIndex As Long, ByVal Focused As Boolean, _
ByVal Selected As Boolean, ByVal Sorted As Boolean, Value As Double, CellString As String, _
ByVal Cell As PivotCubeXLib.ICellDrawing)

Sintax error with
PCX.ExecuteMapManager 10, 10,
raul
User
 
Posts: 9
Joined: Mon Oct 30, 2006 9:39 pm

Postby AlexZencovich » Wed Nov 01, 2006 8:31 pm

1 You are right. VB.NET just igonore that routine.

Change interface from
Row As zcube.ICell, ByRef Column As zcube.ICell
to
ByVal RowIndex As Long, ByVal ColumnIndex As Long
- it does not used in routine (I fill fix that in next build)

RowIndex and ColumnIndex is indexes to PCX.MapGetRowCellInfo or PCX.MapGetColumnCellInfo routines

2
Change
PCX.ExecuteMapManager 10, 10,
to
PCX.ExecuteMapManager (10, 10)
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am

Postby raul » Wed Nov 01, 2006 11:08 pm

Dear Alex, ok, thanks.
Now it runs fine.

Raul
raul
User
 
Posts: 9
Joined: Mon Oct 30, 2006 9:39 pm


Return to PivotCube ActiveX

Who is online

Users browsing this forum: No registered users and 3 guests

cron