CreateObject("Excel.Application") problem



I'm trying to create an Excel file using a VB program. I have added the
reference to Excel Object Library yet when I try to compile it, I get
an error at the line exc_app = CreateObject("Excel.Application")

System.Exception was unhandled
Message="The remote server machine does not exist or is unavailable."
Source="Microsoft.VisualBasic"
StackTrace:

Do I need to turn on some kind of service in order to get this working?
What exactly does this error message mean?

.



Relevant Pages

  • Re: Return to form if query unmatched
    ... following error message upon opening the form: ... Set Myrst = .OpenRecordset ... These reference can add from Code Windows> Tools Menu> Reference ... Check Marks to following and compile it. ...
    (microsoft.public.access.queries)
  • Microsoft Visual Basic - File not found [PLEASE HELP!!]
    ... trying to reference another excel file which has been ... >When I try and open up an Excel workbook (that I really ... >line atop the error message). ...
    (microsoft.public.excel.misc)
  • Re: How to share VB code across multiple pages?
    ... but got an error message as follows: ... But MSVCR71.dll is actually right there under the folder ... > If you're using ASP.NET 1.1, you should command-line compile ... >>> or .cs file) and then reference the function that way. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: CreateObject("Excel.Application") problem
    ... reference to Excel Object Library yet when I try to compile it, ... Message="The remote server machine does not exist or is unavailable." ... What exactly does this error message mean? ...
    (microsoft.public.dotnet.languages.vb)
  • Sun MQ 3.5 example
    ... I'm not able to compile a SUN's MQ3.5 example, ... this error message ... : HelloWorldMessageJNDI.java:89: reference to Queue is ambiguous, ...
    (comp.lang.java.help)