Click here to Skip to main content
15,918,211 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionTreeview with Listbox Pin
digicd16-Mar-06 11:13
digicd16-Mar-06 11:13 
AnswerRe: Treeview with Listbox Pin
digicd121-Mar-06 7:59
digicd121-Mar-06 7:59 
QuestionProblem running exe from a network location Pin
penguin50006-Mar-06 11:08
penguin50006-Mar-06 11:08 
AnswerRe: Problem running exe from a network location Pin
H@is@here6-Mar-06 11:27
H@is@here6-Mar-06 11:27 
QuestionVBScript String Formatting Pin
Justin Cooke6-Mar-06 8:38
Justin Cooke6-Mar-06 8:38 
AnswerRe: VBScript String Formatting Pin
Dave Kreskowiak6-Mar-06 9:25
mveDave Kreskowiak6-Mar-06 9:25 
GeneralRe: VBScript String Formatting Pin
Justin Cooke6-Mar-06 10:58
Justin Cooke6-Mar-06 10:58 
QuestionReferences Pin
KreativeKai6-Mar-06 8:13
professionalKreativeKai6-Mar-06 8:13 
I have a windows form application written in VB.NET 2005 which opens Excel, imports a text file into a worksheet and e-mails it to the end-user.

Everything works fine when it is on my own system, but when I put the executable file on the server along with all the other files in the bin\release folder, I get the following error:

HPtoExcel has encountered a problem and needs to close. We are sorry for the inconvenience.

I had the following references in my program and it ran fine on my system:
Microsoft Excel 11.0 Object Library
Microsoft Office 11.0 Object Library
Microsoft Visual Basic for Applications Extensibility

I added the following references and still receive the error:
Microsoft.Office.Tools.Common
Microsoft.Office.Tools.Excel
Microsoft.VisualStudio.Tools.Applications.Runtime
OLE Automation

The server does not have Excel on it, but my system does. I'm double clicking on a shortcut on my desktop to the exe on the server. Is there a way to get around loading Excel on the server?

Any help is appreciated. Confused | :confused:
Lost in the vast sea of References Confused | :confused:

Lost in the vast sea of .NET

-- modified at 14:14 Monday 6th March, 2006
AnswerRe: References Pin
Dave Kreskowiak6-Mar-06 9:11
mveDave Kreskowiak6-Mar-06 9:11 
GeneralRe: References Pin
KreativeKai20-Mar-06 7:13
professionalKreativeKai20-Mar-06 7:13 
Questionmultithreading Pin
DoubleD_6-Mar-06 7:15
DoubleD_6-Mar-06 7:15 
AnswerRe: multithreading Pin
CWIZO6-Mar-06 7:31
CWIZO6-Mar-06 7:31 
AnswerRe: multithreading Pin
Dave Kreskowiak6-Mar-06 9:09
mveDave Kreskowiak6-Mar-06 9:09 
GeneralRe: multithreading Pin
DoubleD_7-Mar-06 5:02
DoubleD_7-Mar-06 5:02 
QuestionSending Info to Login Box Pin
jdjd11186-Mar-06 6:37
jdjd11186-Mar-06 6:37 
AnswerRe: Sending Info to Login Box Pin
Dave Kreskowiak6-Mar-06 8:52
mveDave Kreskowiak6-Mar-06 8:52 
QuestionuiRich Text Box - Hell Pin
EvolutionSoftware6-Mar-06 5:11
EvolutionSoftware6-Mar-06 5:11 
AnswerRe: uiRich Text Box - Hell Pin
Dave Kreskowiak6-Mar-06 8:50
mveDave Kreskowiak6-Mar-06 8:50 
GeneralRe: uiRich Text Box - Hell Pin
EvolutionSoftware6-Mar-06 9:22
EvolutionSoftware6-Mar-06 9:22 
GeneralRe: uiRich Text Box - Hell Pin
Dave Kreskowiak6-Mar-06 9:37
mveDave Kreskowiak6-Mar-06 9:37 
GeneralRe: uiRich Text Box - Hell Pin
EvolutionSoftware6-Mar-06 9:52
EvolutionSoftware6-Mar-06 9:52 
Questionlinking forms together Pin
madchanic6-Mar-06 4:33
madchanic6-Mar-06 4:33 
AnswerRe: linking forms together Pin
Christian Graus6-Mar-06 4:38
protectorChristian Graus6-Mar-06 4:38 
GeneralRe: linking forms together Pin
madchanic6-Mar-06 4:56
madchanic6-Mar-06 4:56 
GeneralRe: linking forms together Pin
Christian Graus6-Mar-06 5:11
protectorChristian Graus6-Mar-06 5:11 

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.