Click or drag to resize

CGUIiImportDrillDatabaseADO Method (String, String, String, Int32, Int32, CREG)

Generate a template file for importing drill holes.

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static int iImportDrillDatabaseADO(
	string connect,
	string temp,
	ref string table,
	int table_size,
	ref int type,
	CREG reg
)

public static int iImportDrillDatabaseADO(
	string connect,
	string temp,
	ref string table,
	int table_size,
	ref int type,
	CREG reg
)

Parameters

connect
Type: SystemString
External database connection string (Blank for OLEDB Wizard)
temp
Type: SystemString
Template to make
table
Type: SystemString
Name of table
table_size
Type: SystemInt32
Size of table name string
type
Type: SystemInt32
Type of import returned <define>DH_DATA</define>
reg
Type: GeoEngine.Core.GXNetCREG
Drill Hole Object REG handle

Return Value

Type: Int32
0 - OK -1 - Cancel
Remarks
This is an improved version of ImportDrillDatabase_GUI using the new ADO technology, as opposed to DAO. Use in conjunction with ImportADO_DU. See also ImportDatabaseADO_GUI.
See Also