 | CGUIIiImportDrillDatabaseODBC Method (IWin32Window, String, Int32, String, Int32, String, Int32, Int32, CREG) |
Generate a template file for importing drill holes
from ODBC database data.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int IiImportDrillDatabaseODBC(
IWin32Window owner,
ref string connect,
int connect_size,
ref string temp,
int temp_size,
ref string table,
int table_size,
ref int type,
CREG reg
)
public static int IiImportDrillDatabaseODBC(
IWin32Window owner,
ref string connect,
int connect_size,
ref string temp,
int temp_size,
ref string table,
int table_size,
ref int type,
CREG reg
)
Public Shared Function IiImportDrillDatabaseODBC (
owner As IWin32Window,
ByRef connect As String,
connect_size As Integer,
ByRef temp As String,
temp_size As Integer,
ByRef table As String,
table_size As Integer,
ByRef type As Integer,
reg As CREG
) As Integer
Public Shared Function IiImportDrillDatabaseODBC (
owner As IWin32Window,
ByRef connect As String,
connect_size As Integer,
ByRef temp As String,
temp_size As Integer,
ByRef table As String,
table_size As Integer,
ByRef type As Integer,
reg As CREG
) As Integer
public:
static int IiImportDrillDatabaseODBC(
IWin32Window^ owner,
String^% connect,
int connect_size,
String^% temp,
int temp_size,
String^% table,
int table_size,
int% type,
CREG^ reg
)
public:
static int IiImportDrillDatabaseODBC(
IWin32Window^ owner,
String^% connect,
int connect_size,
String^% temp,
int temp_size,
String^% table,
int table_size,
int% type,
CREG^ reg
)
static member IiImportDrillDatabaseODBC :
owner : IWin32Window *
connect : string byref *
connect_size : int *
temp : string byref *
temp_size : int *
table : string byref *
table_size : int *
type : int byref *
reg : CREG -> int
static member IiImportDrillDatabaseODBC :
owner : IWin32Window *
connect : string byref *
connect_size : int *
temp : string byref *
temp_size : int *
table : string byref *
table_size : int *
type : int byref *
reg : CREG -> int
Parameters
- owner
- Type: System.Windows.FormsIWin32Window
The IWin32Window the message box will display in front of. - connect
- Type: SystemString
Connection string - connect_size
- Type: SystemInt32
Size of connection string returned - temp
- Type: SystemString
Template to make - temp_size
- Type: SystemInt32
Size of template string returned - 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
If the input connection string is empty (""), then the ODBC connection dialogs
will appear (e.g. to connect to a machine database) before the import wizard
is run. The connect string used for this connection is then returned.
This string can then be used on input to skip the ODBC connection dialogs and
go straight to the Wholeplot import wizard.
Because the name of the database is not necessarily known, the template name is created
from the name of the table opened - e.g. "HOLELOCATION.i4".
See Also