"Bruce Barker" <brubar_nospamplease_@safeco.com> wrote in message
news:(E-Mail Removed)...
> if you look in the docs at the ArayList overview, you will see it is in
> the System.Collections namespace, so you need to add an import or fully
> qualify the name. the overview of any class lists the namespace.
That was it.
Which docs do I look at?
Thanks,
Tom
>
> -- bruce (sqlwork.com)
>
>
> "tshad" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>>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
>>
>>
>>
>
>
|