T
tshad
I have an email class that I was adding an array list to and it is giving me
a "not defined" error.
Here is my Make file:
vbc /t:library email.vb /r:system.web.dll /r:system.data.dll /r:system.dll
/r:Microsoft.VisualBasic.dll
copy email.dll bin\*.*
These are all my imports.
Imports System
Imports System.Web
Imports System.IO
Imports System.Web.UI
Imports System.Web.SessionState
Imports System.Web.Mail
Imports System.Data
Imports System.Data.SqlClient
Imports System.Web.HttpCookie
Imports System.Web.HttpCookieCollection
Imports System.Web.HttpResponse
Imports System.Web.HttpRequest
imports System.Web.HttpContext
Imports System.Web.HttpApplication
Imports System.Web.HttpApplicationState
Imports Microsoft.VisualBasic
And this is the definition of the ArrayList being passed:
Public Shared sub sendEmail (SendTo as String, Subject as String, body as
string, emailType as string, emailTitle as String, parameters as ArrayList)
as well as the usage:
strInput = strInput.replace(parameters(0),parameters(1))
What am I missing?
Thanks,
Tom
a "not defined" error.
Here is my Make file:
vbc /t:library email.vb /r:system.web.dll /r:system.data.dll /r:system.dll
/r:Microsoft.VisualBasic.dll
copy email.dll bin\*.*
These are all my imports.
Imports System
Imports System.Web
Imports System.IO
Imports System.Web.UI
Imports System.Web.SessionState
Imports System.Web.Mail
Imports System.Data
Imports System.Data.SqlClient
Imports System.Web.HttpCookie
Imports System.Web.HttpCookieCollection
Imports System.Web.HttpResponse
Imports System.Web.HttpRequest
imports System.Web.HttpContext
Imports System.Web.HttpApplication
Imports System.Web.HttpApplicationState
Imports Microsoft.VisualBasic
And this is the definition of the ArrayList being passed:
Public Shared sub sendEmail (SendTo as String, Subject as String, body as
string, emailType as string, emailTitle as String, parameters as ArrayList)
as well as the usage:
strInput = strInput.replace(parameters(0),parameters(1))
What am I missing?
Thanks,
Tom