Click here to Skip to main content
15,910,980 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
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 
Hohohoho, thanks, finally I can import it well using DTS. I am using Microsoft DTS Custom Task Object Library reference in my source code and create DTS Package with a global variable named gvDataSource in the SQL Server. Then here is my new code.

Private Function frmUploader_upload() As Boolean
    Dim pkg As DTS.Package2

    pkg = New DTS.Package
    pkg.LoadFromSQLServer(mDBSERVER, mDBUSER, mDBPASSWORD, DTS.DTSSQLServerStorageFlags.DTSSQLStgFlag_Default, , , , "APLIKASI3:E_START.Sl_Logproof_200311")

    For Each gv As DTS.GlobalVariable In pkg.GlobalVariables
        pkg.GlobalVariables.Remove(gv.Name)
    Next

    pkg.GlobalVariables.AddGlobalVariable("gvDataSource", Me.tbFile.Text)

    Me.Cursor = Cursors.WaitCursor
    Try
        pkg.Execute()
    Catch ex As Exception
        MsgBox(ex.Message)
        Return False
    Finally
        pkg.UnInitialize()
        pkg = Nothing
    End Try

    Me.Cursor = Cursors.Default

    Return True
End Function



Best Regard,
Indra Permana Rusli

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 
AnswerRe: Change back color of selected dates in Month calender control in vb.net Pin
HemJoshi1-Oct-08 1:18
HemJoshi1-Oct-08 1:18 
QuestionCreate database table directly from a dataset which has many no. of data table [modified] Pin
snehasish30-Sep-08 21:39
snehasish30-Sep-08 21:39 
AnswerRe: Create database table from a dataset which has no of data table Pin
C1AllenS30-Sep-08 23:10
C1AllenS30-Sep-08 23:10 
GeneralRe: Create database table from a dataset which has many no. of data table Pin
snehasish1-Oct-08 0:57
snehasish1-Oct-08 0:57 
GeneralRe: Create database table from a dataset which has many no. of data table Pin
Paddy Boyd2-Oct-08 2:32
Paddy Boyd2-Oct-08 2:32 
GeneralRe: Create database table from a dataset which has no of data table Pin
rprateek1-Oct-08 14:09
rprateek1-Oct-08 14:09 

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.