C
CR
To prepare a PC for my .NET apps I have to run dotnetfx.exe,
mdac_typ.exe and .NET setup programs for every single application. I
don't mind the dotnetfx.exe and mdac_typ.exe intalls because you only
have to do it once. What is annoying is having to run the setups for
each individual app. Is there an easier way to do this? In VB6 I was
able to run 1 setup program and that covered everything.
My apps "almost" work without running individual setup programs,
except when I try to call an excel macro. Then I get this error: "File
or assembly name Interop.Excel, or one of its dependencies was not
found."
Could I be calling my excel macro incorrectly?
Here is my code for calling a macro:
Dim objExcel As Excel.Application
objExcel = New Excel.Application
objExcel.Workbooks.Open(FileName:="c:\test.xls", ReadOnly:=True)
objExcel.Run("test.xls!test.test")
objExcel.Quit()
objExcel = Nothing
Chuck.
mdac_typ.exe and .NET setup programs for every single application. I
don't mind the dotnetfx.exe and mdac_typ.exe intalls because you only
have to do it once. What is annoying is having to run the setups for
each individual app. Is there an easier way to do this? In VB6 I was
able to run 1 setup program and that covered everything.
My apps "almost" work without running individual setup programs,
except when I try to call an excel macro. Then I get this error: "File
or assembly name Interop.Excel, or one of its dependencies was not
found."
Could I be calling my excel macro incorrectly?
Here is my code for calling a macro:
Dim objExcel As Excel.Application
objExcel = New Excel.Application
objExcel.Workbooks.Open(FileName:="c:\test.xls", ReadOnly:=True)
objExcel.Run("test.xls!test.test")
objExcel.Quit()
objExcel = Nothing
Chuck.