Hello,
I created a winform project that uses the following imports:
In one routine I try adding the following line that is used in my other winform app and I get the error startup.path is not a member of microsoft.vbe.interop.application.Code:Imports Office = Microsoft.Office.Core Imports Microsoft.Office.Interop Imports Microsoft.Vbe.Interop Imports System.Data.OleDb Imports System.Data Imports System.IO Imports System.Net
I am also trying to run the exe on the windows server scheduler but it is hanging and not doing what it is supposed to. It will run fine when I run it myself manually. All my other apps runs fine on the scheduler but none of them uses the imports like this one and uses the Excel.Application in it.Code:Dim Path7 As String = Application.StartupPath
Thanks,
Warren




Reply With Quote