Click here to Skip to main content
15,886,567 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: dynamically generated custom class datagridview cellmousedoubleclick event Pin
Eddy Vluggen19-Jan-17 8:45
professionalEddy Vluggen19-Jan-17 8:45 
Question7 zip the folder part by part using vbscript Pin
Member 126754616-Jan-17 20:14
Member 126754616-Jan-17 20:14 
AnswerRe: 7 zip the folder part by part using vbscript Pin
Eddy Vluggen17-Jan-17 4:30
professionalEddy Vluggen17-Jan-17 4:30 
QuestionHow to embed Excel in web browser in vb .net Pin
Member 887818616-Jan-17 2:27
Member 887818616-Jan-17 2:27 
AnswerRe: How to embed Excel in web browser in vb .net Pin
Eddy Vluggen16-Jan-17 2:31
professionalEddy Vluggen16-Jan-17 2:31 
QuestionMessage Closed Pin
15-Jan-17 4:41
Live for Coding15-Jan-17 4:41 
AnswerRe: How to get JSON data into array Pin
Richard MacCutchan15-Jan-17 22:59
mveRichard MacCutchan15-Jan-17 22:59 
QuestionExcel open as ADODB.Connection Pin
hansoctantan12-Jan-17 2:24
professionalhansoctantan12-Jan-17 2:24 
Hello Everyone,

Can you please advice on why I cant connect to excel file without saving it on my machine.
I tried using these to connection string but still got an error External table is not in the expected format.
VB
conn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & path & ";Extended Properties=Excel 12.0;"
VB
conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & path & ";Extended Properties=Excel 8.0;"

When I try to open and save as the spreadsheet I can successfully connect. The file is on FTP and will be downloaded by automation and get information. I cannot make it automatic if I need to open the excel file and save it.

The terminal I will deploy the program dont have office installed so I need to use a different tool to get data. Any suggestion appreciated thanks in advance.
- Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.
- Most of the problem in your life are due to two reasons: you act without thinking, or think without acting.

AnswerRe: Excel open as ADODB.Connection Pin
Dave Kreskowiak12-Jan-17 2:45
mveDave Kreskowiak12-Jan-17 2:45 
GeneralRe: Excel open as ADODB.Connection Pin
hansoctantan12-Jan-17 2:57
professionalhansoctantan12-Jan-17 2:57 
GeneralRe: Excel open as ADODB.Connection Pin
Dave Kreskowiak12-Jan-17 6:33
mveDave Kreskowiak12-Jan-17 6:33 
GeneralRe: Excel open as ADODB.Connection Pin
hansoctantan13-Jan-17 2:24
professionalhansoctantan13-Jan-17 2:24 
GeneralRe: Excel open as ADODB.Connection Pin
Eddy Vluggen13-Jan-17 2:51
professionalEddy Vluggen13-Jan-17 2:51 
GeneralRe: Excel open as ADODB.Connection Pin
hansoctantan13-Jan-17 3:01
professionalhansoctantan13-Jan-17 3:01 
GeneralRe: Excel open as ADODB.Connection Pin
Eddy Vluggen13-Jan-17 3:21
professionalEddy Vluggen13-Jan-17 3:21 
GeneralRe: Excel open as ADODB.Connection Pin
Dave Kreskowiak13-Jan-17 5:04
mveDave Kreskowiak13-Jan-17 5:04 
GeneralRe: Excel open as ADODB.Connection Pin
hansoctantan17-Jan-17 3:31
professionalhansoctantan17-Jan-17 3:31 
QuestionLosing lines when writing to RichTextBox Pin
jkirkerx6-Jan-17 11:25
professionaljkirkerx6-Jan-17 11:25 
AnswerRe: Losing lines when writing to RichTextBox Pin
Eddy Vluggen8-Jan-17 2:58
professionalEddy Vluggen8-Jan-17 2:58 
GeneralRe: Losing lines when writing to RichTextBox Pin
jkirkerx9-Jan-17 7:22
professionaljkirkerx9-Jan-17 7:22 
AnswerRe: Losing lines when writing to RichTextBox [Solved] Pin
jkirkerx9-Jan-17 8:29
professionaljkirkerx9-Jan-17 8:29 
QuestionLosing Linefeeds when writing text from RichTextBox Pin
jkirkerx6-Jan-17 8:24
professionaljkirkerx6-Jan-17 8:24 
AnswerRe: Losing Linefeeds when writing text from RichTextBox [solved] Pin
jkirkerx6-Jan-17 9:45
professionaljkirkerx6-Jan-17 9:45 
QuestionPaste Action on ContextMenu using RichTextBox Pin
jkirkerx6-Jan-17 7:26
professionaljkirkerx6-Jan-17 7:26 
QuestionVisual Basic Pin
DrBones695-Jan-17 16:21
professionalDrBones695-Jan-17 16:21 

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.