Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
'this is the code for the page that is run: Imports System.Reflection Imports System.Runtime.InteropServices Imports Excel = Microsoft.Office.Interop.Excel Partial Class Report_Forecasting_Excel_1 Inherits System.Web.UI.Page 'Create Excel Objects Dim thisExcel As Excel.Application Dim thisWorkbook As Excel.Workbook Dim thisWorksheet As Excel.Worksheet Private Sub CreateSpreadsheet() thisExcel = New Excel.Application thisWorkbook = New Excel.Workbook thisExcel.Workbooks.Add("D:\INTERNET\test\Test\Excel_Templates\Forecasting_Template_1.xls") 'thisWorkbook = thisExcel.Workbooks.Open(, ) thisExcel.Visible = True thisWorkbook.Activate() thisExcel.Workbooks.Add(thisWorkbook) thisWorksheet = New Excel.Worksheet thisWorkbook.Worksheets.Add(thisWorksheet) thisWorkbook.Application.Visible = True thisWorksheet.Cells(1, 1) = "hello there" End Sub Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load CreateSpreadsheet() End Sub End Class
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.