hai i am working with vb6 with mapobjects2.4 and i wrote code for MaxFileBuffer Property and i also got the error message as ActiveX component cannot create object
th code is as like below:
Dim dc As New MapObjects2.DataConnection
Dim geo As New MapObjects2.GeoDataset
Dim layer As New MapObjects2.MapLayer
Private Sub setLabel()
If geo.AllowSharing Then
Label1.Caption = "MaxFileBuffer = " & Map1.MaxFileBuffer & " bytes"
Else
Label1.Caption = "File allows sharing"
End If
End Sub
Private Sub Form_Load()
dc.Database = "C:\Program Files\Esri\MapObjects2\Samples\Data\World"
Set geo = dc.FindGeoDataset("Country")
---> layer.GeoDataset = geo
Map1.Layers.Add layer
setLabel
End Sub