Author: joelkronk@hotmail.com | Posted on: 9/25/2009 8:47:36 AM | Views : 488

 Heres my situation. I have a tidbit of VB code that contains a method. This method is for inserting into a database. I need to call this method to insert into a database through a .dll. Heres the code in case youre curious
Imports System.Data.SqlClient Imports System.Data.OleDb Imports System.Data Imports System.IO Public Class frmdemo Private Declare Sub CmtInitDbEngDll Lib "C:\Commit\ThirdParty\UserDev\CmtDbEng.dll" (ByVal xSoftWareName As String, _ ByVal xDbPath As String, ByRef xvStatus As Integer) Private Declare Sub InitCommonControls Lib "comctl32.dll" () Private Declare Sub CmtInsUpdRec Lib "C:\Commit\ThirdParty\UserDev\CmtDbEng.dll" (ByVal xSoftWareName As String, _ ByVal xDataKind As Integer, _ ByVal xDataBuff As String, _ ByVal xMapBuff As String, _ ByVal xContWhenInvalidData As Integer, _ ByVal xFlags As Integer, _ ByVal xR ...

Go to the complete details ...