|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
CreateObject("Excel.Application") problemI'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? if you have set a reference , then you do not need create object at all
you just declare a object pointer as new dim foo as new Excel.Application Create object is used in the scenario of late binding however both methods fail if the target computer does not have office installed regards Michel Show quoteHide quote "Ultima" wrote: > 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? > > Did you ever get this to work?
Robin S. -------------------- Show quoteHide quote "Ultima" <ultima_***@hotmail.com> wrote in message news:1165782564.052450.200610@j44g2000cwa.googlegroups.com... > 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? >
Retrieving info out of a MDB
Commercial copy protection? Merging Java and VB for alert box ERROR: The state information is invalid for this page and might be corrupted Settings in VB.NET/WinForms How to Add *AND* Process Checkbox Column in a DataGridView? WebBrowser BeforeNavigate2 - What is pDisp? How to create an IDE? Creating A Movie Player? How to get the registry key permission using RegistryRight in NET2.0? |
|||||||||||||||||||||||