Click here to Skip to main content
15,899,026 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Auto generate Uniqueidentifier / GUID in Select statement Pin
Dave Kreskowiak31-Oct-07 9:42
mveDave Kreskowiak31-Oct-07 9:42 
Questionlist in report Pin
di3.ny2830-Oct-07 16:09
di3.ny2830-Oct-07 16:09 
AnswerRe: list in report Pin
svanwass31-Oct-07 5:32
svanwass31-Oct-07 5:32 
AnswerRe: list in report Pin
Dave Kreskowiak31-Oct-07 5:51
mveDave Kreskowiak31-Oct-07 5:51 
GeneralRe: list in report Pin
di3.ny2831-Oct-07 16:29
di3.ny2831-Oct-07 16:29 
Questionhelp programming button click event Pin
SilentCodingOne30-Oct-07 10:30
SilentCodingOne30-Oct-07 10:30 
AnswerRe: help programming button click event Pin
Christian Graus30-Oct-07 11:26
protectorChristian Graus30-Oct-07 11:26 
QuestionHow can I define table of an existed Excel file? Pin
ATC30-Oct-07 10:08
ATC30-Oct-07 10:08 
I have an existed Excel file (My_Excel.xls) with pure data, when I try to open it as database ... following SQL define requires a table name (what_table?) in order to access it:
<br />
        conn = "Provider= Microsoft.Jet.OLEDB.4.0; Data Source=" & Environment.CurrentDirectory & "\My_Excel.xls; Extended Properties=Excel 8.0;"<br />
<br />
        Dim SQLString As String = "SELECT * FROM what_table"<br />
<br />
        DBCon = New OleDbConnection(conn)<br />
        DBDat = New OleDbDataAdapter(SQLString, DBCon)<br />
        DBCom = New OleDbCommandBuilder(DBDat)<br />
        DatT = New DataTable<br />
<br />
        DBCon.Open()<br />
        DBDat.Fill(DatT)<br />
        DBCon.Close()<br />


How can I define My_Excel.xls the table "what_table" in order to use the above code? D'Oh! | :doh:

Thanks to any help
AnswerRe: How can I define table of an existed Excel file? Pin
pmarfleet30-Oct-07 12:45
pmarfleet30-Oct-07 12:45 
GeneralRe: How can I define table of an existed Excel file? Pin
ATC31-Oct-07 3:43
ATC31-Oct-07 3:43 
GeneralRe: How can I define table of an existed Excel file? Pin
pmarfleet31-Oct-07 3:48
pmarfleet31-Oct-07 3:48 
QuestionWrapper for VB6 error - "The system cannot find the file specified." Pin
Marcus J. Smith30-Oct-07 7:05
professionalMarcus J. Smith30-Oct-07 7:05 
GeneralRe: Wrapper for VB6 error - "The system cannot find the file specified." Pin
chrispo_m31-Oct-07 3:13
chrispo_m31-Oct-07 3:13 
GeneralRe: Wrapper for VB6 error - "The system cannot find the file specified." Pin
Marcus J. Smith31-Oct-07 4:07
professionalMarcus J. Smith31-Oct-07 4:07 
GeneralRe: Wrapper for VB6 error - "The system cannot find the file specified." Pin
Member 811728129-Mar-12 1:28
Member 811728129-Mar-12 1:28 
AnswerRe: Wrapper for VB6 error - "The system cannot find the file specified." Pin
Dave Kreskowiak31-Oct-07 5:49
mveDave Kreskowiak31-Oct-07 5:49 
GeneralRe: Wrapper for VB6 error - &quot;The system cannot find the file specified.&quot; Pin
Marcus J. Smith31-Oct-07 8:14
professionalMarcus J. Smith31-Oct-07 8:14 
Questioncrystal reports labels Pin
Tom Deketelaere30-Oct-07 6:16
professionalTom Deketelaere30-Oct-07 6:16 
QuestionHELP Create web service step by step tutorial Pin
kendo1730-Oct-07 5:55
kendo1730-Oct-07 5:55 
AnswerRe: HELP Create web service step by step tutorial Pin
Dave Kreskowiak31-Oct-07 5:25
mveDave Kreskowiak31-Oct-07 5:25 
GeneralRe: HELP Create web service step by step tutorial Pin
kendo1731-Oct-07 10:19
kendo1731-Oct-07 10:19 
QuestionOpening A Text File InTo A DataGrid Pin
FreakNikon30-Oct-07 5:04
FreakNikon30-Oct-07 5:04 
AnswerRe: Opening A Text File InTo A DataGrid Pin
Dave Kreskowiak30-Oct-07 5:48
mveDave Kreskowiak30-Oct-07 5:48 
AnswerRe: Opening A Text File InTo A DataGrid Pin
C1AllenS30-Oct-07 5:51
C1AllenS30-Oct-07 5:51 
Questionhow to use double buffer in vb 2005? Pin
jiuhu30-Oct-07 4:40
jiuhu30-Oct-07 4:40 

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.