 | CGUIIiImportDrillDatabaseODBC Method (IWin32Window, String, String, String, 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,
ref string temp,
ref string table,
ref int type,
CREG reg
)
public static int IiImportDrillDatabaseODBC(
IWin32Window owner,
ref string connect,
ref string temp,
ref string table,
ref int type,
CREG reg
)
Public Shared Function IiImportDrillDatabaseODBC (
owner As IWin32Window,
ByRef connect As String,
ByRef temp As String,
ByRef table As String,
ByRef type As Integer,
reg As CREG
) As Integer
Public Shared Function IiImportDrillDatabaseODBC (
owner As IWin32Window,
ByRef connect As String,
ByRef temp As String,
ByRef table As String,
ByRef type As Integer,
reg As CREG
) As Integer
public:
static int IiImportDrillDatabaseODBC(
IWin32Window^ owner,
String^% connect,
String^% temp,
String^% table,
int% type,
CREG^ reg
)
public:
static int IiImportDrillDatabaseODBC(
IWin32Window^ owner,
String^% connect,
String^% temp,
String^% table,
int% type,
CREG^ reg
)
static member IiImportDrillDatabaseODBC :
owner : IWin32Window *
connect : string byref *
temp : string byref *
table : string byref *
type : int byref *
reg : CREG -> int
static member IiImportDrillDatabaseODBC :
owner : IWin32Window *
connect : string byref *
temp : string byref *
table : string byref *
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 - temp
- Type: SystemString
Template to make - table
- Type: SystemString
Name of table - 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