ArrayList

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey guys

public sub Filess (ByVal FilesCollection As ArrayList = Nothing

end su

how do i fill the FilesCollection and how do i pass it as a parameter in the Filess sub
 
Will said:
public sub Filess (ByVal FilesCollection As ArrayList = Nothing)

Why "= Nothing"? Default values only work with optional args.
end sub

how do i fill the FilesCollection
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemCollectionsArrayListClassTopic.asp

and how do i pass it as a parameter
in the Filess sub ?


dim al as new arraylist

filess(al)


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
* "=?Utf-8?B?V2lsbA==?= said:
public sub Filess (ByVal FilesCollection As ArrayList = Nothing)

end sub

how do i fill the FilesCollection and how do i pass it as a parameter in the Filess sub ?

Please be more specific. It's impossible to understand what you want to
do.
 
Sorry about the confusion guys

what i'm trying to do is send multiple attachments in an email. and i think the only way to do it , is to put them in an array

can you guys tell me how ?

TNANX IN ADVANC
 
Back
Top