Click here to Skip to main content
15,890,506 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Revert to last successful build? Pin
Paul Conrad1-Oct-08 10:02
professionalPaul Conrad1-Oct-08 10:02 
QuestionVB code for sending an email through .net application using smtp Pin
lostboy2411-Oct-08 4:09
lostboy2411-Oct-08 4:09 
AnswerRe: VB code for sending an email through .net application using smtp Pin
Tom Deketelaere1-Oct-08 5:13
professionalTom Deketelaere1-Oct-08 5:13 
GeneralRe: VB code for sending an email through .net application using smtp Pin
lostboy2411-Oct-08 7:46
lostboy2411-Oct-08 7:46 
GeneralRe: VB code for sending an email through .net application using smtp Pin
Jon_Boy1-Oct-08 9:10
Jon_Boy1-Oct-08 9:10 
GeneralRe: VB code for sending an email through .net application using smtp Pin
Tom Deketelaere1-Oct-08 9:12
professionalTom Deketelaere1-Oct-08 9:12 
GeneralRe: VB code for sending an email through .net application using smtp Pin
lostboy2411-Oct-08 14:50
lostboy2411-Oct-08 14:50 
QuestionVB.NET: Import Excel Data into SQL (Error: Could not find installable ISAM.) Pin
Indra PR1-Oct-08 2:40
Indra PR1-Oct-08 2:40 
I tried to make a simple application using VB.NET that is able to import excel data into sql. I got some tutorial from Bytes Forum. I've tried to follow the instruction to check msexcl40.dll, it's there but I still got an error said that the program could not find installable ISAM. Can someone help me?

Private Function frmUploader_upload() As Boolean<br />
        Dim strConnection As String<br />
        Dim strCommand As String<br />
        Dim excelConnection As System.Data.OleDb.OleDbConnection<br />
        Dim excelCommand As System.Data.OleDb.OleDbCommand<br />
<br />
        strConnection = String.Format("Provider=Microsoft.Jet.OLEDB.4.0; Data Source={0}; Extended Properties=Excel 8.0;Persist Security Info=False", Me.tbFile.Text)<br />
        excelConnection = New System.Data.OleDb.OleDbConnection(strConnection)<br />
        strCommand = "INSERT INTO [OBDC; Driver={SQL Server}; Server=" & Me.tbServer.Text & "; Database=" & Me.tbDatabase.Text & "; Trusted_Connection=yes].[Sl_Logproof_200311] SELECT * FROM [" & Me.cbSheet.Text & "$];"<br />
        excelCommand = New System.Data.OleDb.OleDbCommand(strCommand, excelConnection)<br />
<br />
        Try<br />
            excelConnection.Open()<br />
            excelCommand.ExecuteNonQuery() 'got error after this line<br />
        Catch ex As Exception<br />
            MsgBox(ex.Message)<br />
            Return False<br />
        Finally<br />
            excelConnection.Close()<br />
        End Try<br />
<br />
        Return True<br />
    End Function



Best Regard,
Indra Permana Rusli

AnswerRe: VB.NET: Import Excel Data into SQL (Error: Could not find installable ISAM.) Pin
Ashfield1-Oct-08 3:40
Ashfield1-Oct-08 3:40 
GeneralRe: VB.NET: Import Excel Data into SQL (Error: Could not find installable ISAM.) Pin
Ashfield1-Oct-08 3:42
Ashfield1-Oct-08 3:42 
GeneralRe: VB.NET: Import Excel Data into SQL (Error: Could not find installable ISAM.) Pin
Paul Conrad1-Oct-08 10:13
professionalPaul Conrad1-Oct-08 10:13 
GeneralRe: VB.NET: Import Excel Data into SQL (Error: Could not find installable ISAM.) Pin
Indra PR2-Oct-08 0:50
Indra PR2-Oct-08 0:50 
GeneralRe: VB.NET: Import Excel Data into SQL (Error: Could not find installable ISAM.) Pin
Ashfield2-Oct-08 8:39
Ashfield2-Oct-08 8:39 
GeneralRe: VB.NET: Import Excel Data into SQL (Error: Could not find installable ISAM.) Pin
Indra PR5-Oct-08 18:44
Indra PR5-Oct-08 18:44 
GeneralRe: VB.NET: Import Excel Data into SQL (Error: Could not find installable ISAM.) Pin
Ashfield6-Oct-08 1:35
Ashfield6-Oct-08 1:35 
AnswerRe: VB.NET: Import Excel Data into SQL (Error: Could not find installable ISAM.) Pin
Paddy Boyd2-Oct-08 2:31
Paddy Boyd2-Oct-08 2:31 
QuestionProblem in retrieving computer information in the active directory Pin
Chaitanya kumar CVSS1-Oct-08 2:37
Chaitanya kumar CVSS1-Oct-08 2:37 
QuestionConection to SQLExpress Server Pin
nitin_ion30-Sep-08 22:49
nitin_ion30-Sep-08 22:49 
AnswerRe: Conection to SQLExpress Server Pin
Guffa30-Sep-08 23:08
Guffa30-Sep-08 23:08 
GeneralRe: Conection to SQLExpress Server Pin
nitin_ion30-Sep-08 23:11
nitin_ion30-Sep-08 23:11 
GeneralRe: Conection to SQLExpress Server Pin
Guffa1-Oct-08 3:01
Guffa1-Oct-08 3:01 
AnswerRe: Conection to SQLExpress Server Pin
jzonthemtn1-Oct-08 1:07
jzonthemtn1-Oct-08 1:07 
AnswerRe: Conection to SQLExpress Server Pin
Anoop Brijmohun1-Oct-08 1:48
Anoop Brijmohun1-Oct-08 1:48 
GeneralRe: Conection to SQLExpress Server Pin
nitin_ion1-Oct-08 1:50
nitin_ion1-Oct-08 1:50 
QuestionChange back color of selected dates in Month calender control in vb.net Pin
~Khatri Mitesh~30-Sep-08 21:43
~Khatri Mitesh~30-Sep-08 21:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.