Click here to Skip to main content
15,899,937 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Get all sub directories names and each sub directory contained files path Pin
Imran Khan Pathan22-Jul-08 20:37
Imran Khan Pathan22-Jul-08 20:37 
GeneralRe: Get all sub directories names and each sub directory contained files path Pin
Member 387988122-Jul-08 20:42
Member 387988122-Jul-08 20:42 
JokeThis is a duplicate thread : check below Thread Different address mail sending at a time ..........."<</xml> Pin
Arindam Tewary22-Jul-08 21:07
professionalArindam Tewary22-Jul-08 21:07 
GeneralRe: Get all sub directories names and each sub directory contained files path Pin
Imran Khan Pathan22-Jul-08 21:09
Imran Khan Pathan22-Jul-08 21:09 
GeneralRe: Get all sub directories names and each sub directory contained files path Pin
Member 387988122-Jul-08 21:08
Member 387988122-Jul-08 21:08 
QuestionProblem with single sign on Pin
prashobkumar22-Jul-08 18:57
prashobkumar22-Jul-08 18:57 
QuestionDifferent address Mail sending at a time.................... Pin
Member 387988122-Jul-08 18:49
Member 387988122-Jul-08 18:49 
AnswerRe: Different address Mail sending at a time.................... Pin
Sherin Iranimose22-Jul-08 20:10
Sherin Iranimose22-Jul-08 20:10 
Ok
Suppose you have a directory named 'MailsToSend'.
This sub directory contains folders like " new@yahoo.com, man@rediff.com, mick@gmail.com ".

Using following code you can read the directories.
<br />
Dim MyDir As DirectoryInfo = New DirectoryInfo("C:\MailsToSend")<br />
Dim SubDirs() As DirectoryInfo = myDir.GetDirectories()<br />
<br />
For count As Integer = 0 To Mydirs.Length - 1<br />
   Response.Write(Mydirs(count).Name)'contains email address<br />
   Dim fileInfos() As FileInfo=Mydirs(count).GetFiles()<br />
   for fileCount as Integer = 0 To fileInfos.Length - 1<br />
       Response.Write(fileInfos(fileCount).FullName)'Contains file to attach<br />
   Next<br />
Next<br />

Hope this helps you Smile | :)

EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.

How to post a question

GeneralRe: Different address Mail sending at a time.................... Pin
Member 387988122-Jul-08 20:54
Member 387988122-Jul-08 20:54 
GeneralRe: Different address Mail sending at a time.................... Pin
Sherin Iranimose22-Jul-08 20:58
Sherin Iranimose22-Jul-08 20:58 
GeneralRe: Different address Mail sending at a time.................... Pin
Member 387988122-Jul-08 21:07
Member 387988122-Jul-08 21:07 
QuestionGet the Remote machine UserName using asp.net Pin
Karan_TN22-Jul-08 18:44
Karan_TN22-Jul-08 18:44 
AnswerRe: Get the Remote machine UserName using asp.net Pin
Sam Xavier22-Jul-08 20:58
Sam Xavier22-Jul-08 20:58 
GeneralRe: Get the Remote machine UserName using asp.net Pin
Karan_TN23-Jul-08 21:11
Karan_TN23-Jul-08 21:11 
QuestionGetting FullURL Pin
Tiger45622-Jul-08 18:28
Tiger45622-Jul-08 18:28 
AnswerRe: Getting FullURL Pin
AprNgp22-Jul-08 21:03
AprNgp22-Jul-08 21:03 
GeneralRe: Getting FullURL Pin
Tiger4563-Aug-08 18:48
Tiger4563-Aug-08 18:48 
AnswerRe: Getting FullURL Pin
Sam Xavier22-Jul-08 21:03
Sam Xavier22-Jul-08 21:03 
GeneralRe: Getting FullURL Pin
Tiger4563-Aug-08 18:52
Tiger4563-Aug-08 18:52 
QuestionHyperlink MouseOver text Pin
VenkataRamana.Gali22-Jul-08 18:23
VenkataRamana.Gali22-Jul-08 18:23 
AnswerRe: Hyperlink MouseOver text Pin
Imran Khan Pathan22-Jul-08 19:47
Imran Khan Pathan22-Jul-08 19:47 
Questiongridview control in asp.net 2.0 Pin
vijaylumar22-Jul-08 18:19
vijaylumar22-Jul-08 18:19 
AnswerRe: gridview control in asp.net 2.0 Pin
Imran Khan Pathan22-Jul-08 19:39
Imran Khan Pathan22-Jul-08 19:39 
AnswerRe: gridview control in asp.net 2.0 Pin
Sherin Iranimose22-Jul-08 19:46
Sherin Iranimose22-Jul-08 19:46 
Question[Message Deleted] Pin
amit.jha22-Jul-08 18:14
amit.jha22-Jul-08 18:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.