Click here to Skip to main content
15,887,267 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Exporting Access db to Excel Pin
Richard Deeming19-Mar-19 2:08
mveRichard Deeming19-Mar-19 2:08 
GeneralRe: Exporting Access db to Excel Pin
RedPandinus20-Mar-19 5:20
RedPandinus20-Mar-19 5:20 
GeneralRe: Exporting Access db to Excel Pin
Richard MacCutchan20-Mar-19 5:36
mveRichard MacCutchan20-Mar-19 5:36 
GeneralRe: Exporting Access db to Excel Pin
RedPandinus20-Mar-19 5:51
RedPandinus20-Mar-19 5:51 
GeneralRe: Exporting Access db to Excel Pin
Richard MacCutchan20-Mar-19 6:07
mveRichard MacCutchan20-Mar-19 6:07 
GeneralRe: Exporting Access db to Excel Pin
Dave Kreskowiak20-Mar-19 8:46
mveDave Kreskowiak20-Mar-19 8:46 
GeneralRe: Exporting Access db to Excel Pin
RedPandinus20-Mar-19 20:08
RedPandinus20-Mar-19 20:08 
GeneralRe: Exporting Access db to Excel Pin
Richard Deeming20-Mar-19 12:35
mveRichard Deeming20-Mar-19 12:35 
As I said, use EPPlus[^] instead of Office Interop.

EPPlus will work even if Excel isn't installed. Or if you run into the problem of trying to automate 32-bit Excel from a 64-bit application (or vice-versa).

It will also work in an unattended application like ASP.NET or a Windows service - unlike Office Interop:
Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.


Free programs like LibreOffice will happily open .xlsx files, but won't work with Office Interop. By using EPPlus, you could save the cost of an Office license. Smile | :)



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Exporting Access db to Excel Pin
RedPandinus20-Mar-19 20:18
RedPandinus20-Mar-19 20:18 
GeneralRe: Exporting Access db to Excel Pin
Richard MacCutchan20-Mar-19 22:52
mveRichard MacCutchan20-Mar-19 22:52 
GeneralRe: Exporting Access db to Excel Pin
RedPandinus20-Mar-19 23:24
RedPandinus20-Mar-19 23:24 
Questiontextbox allowance Pin
Member 1418376915-Mar-19 4:27
Member 1418376915-Mar-19 4:27 
AnswerRe: textbox allowance Pin
Dave Kreskowiak15-Mar-19 4:29
mveDave Kreskowiak15-Mar-19 4:29 
QuestionTyping into 2 different Textbox at same time Pin
RedPandinus13-Mar-19 22:23
RedPandinus13-Mar-19 22:23 
AnswerRe: Typing into 2 different Textbox at same time Pin
Ralf Meier13-Mar-19 22:35
mveRalf Meier13-Mar-19 22:35 
QuestionGetType of variable before deserialization possible? Pin
Sam Marrocco12-Mar-19 15:07
Sam Marrocco12-Mar-19 15:07 
AnswerRe: GetType of variable before deserialization possible? Pin
Ralf Meier12-Mar-19 22:15
mveRalf Meier12-Mar-19 22:15 
AnswerRe: GetType of variable before deserialization possible? Pin
Eddy Vluggen13-Mar-19 0:24
professionalEddy Vluggen13-Mar-19 0:24 
AnswerRe: GetType of variable before deserialization possible? Pin
Dave Kreskowiak13-Mar-19 4:36
mveDave Kreskowiak13-Mar-19 4:36 
QuestionSum data from datagridview with same criteria Pin
Member 1417921111-Mar-19 22:29
Member 1417921111-Mar-19 22:29 
AnswerRe: Sum data from datagridview with same criteria Pin
Richard MacCutchan11-Mar-19 23:40
mveRichard MacCutchan11-Mar-19 23:40 
QuestionHow to add 3 IF conditions at VB Pin
RedPandinus10-Mar-19 22:48
RedPandinus10-Mar-19 22:48 
AnswerRe: How to add 3 IF conditions at VB Pin
Richard MacCutchan10-Mar-19 22:55
mveRichard MacCutchan10-Mar-19 22:55 
GeneralRe: How to add 3 IF conditions at VB Pin
RedPandinus10-Mar-19 23:07
RedPandinus10-Mar-19 23:07 
GeneralRe: How to add 3 IF conditions at VB Pin
Richard MacCutchan10-Mar-19 23:38
mveRichard MacCutchan10-Mar-19 23:38 

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.