Question : vbscript to vb.net

how do i write this vbscript in vb.net?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
Dim objexcel, objworkbook

        objexcel = CreateObject("Excel.Application")

        objexcel.Visible = True

        objworkbook = objexcel.Workbooks.Open _
        ("Y:\North America\Scorecarding\APD\APD_Template0910.xlsm")

        objworkbook.Run("APD_Template0910.xlsm!Macro2")
		Dts.TaskResult = Dts.Results.Success

Answer : vbscript to vb.net

Okay - looking healthier now in terms of receiving.  I can run a domain report and can interrogate your server : )  I would imagine sending is a little happier, but some issues to address.

Your server FQDN is exchange.yourdomain.local.  This needs to be changed to mail.yourdomain.org and ths is done on the SMTP Virtual Server properties, Delivery Tab, Advanced Button.

Then call SBC Global and ask them to setup Reverse DNS on your fixed IP address with mail.yourdomain.org and then you should be much healthier.

Random Solutions  
 
programming4us programming4us