Click here to Skip to main content
15,906,569 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionpopup window Pin
trilokharry11-Jun-08 2:26
trilokharry11-Jun-08 2:26 
AnswerRe: popup window Pin
eyeseetee11-Jun-08 2:32
eyeseetee11-Jun-08 2:32 
GeneralRe: popup window Pin
trilokharry11-Jun-08 2:38
trilokharry11-Jun-08 2:38 
AnswerRe: popup window Pin
SomeGuyThatIsMe11-Jun-08 2:35
SomeGuyThatIsMe11-Jun-08 2:35 
GeneralRe: popup window Pin
trilokharry11-Jun-08 2:41
trilokharry11-Jun-08 2:41 
GeneralRe: popup window Pin
SomeGuyThatIsMe11-Jun-08 2:49
SomeGuyThatIsMe11-Jun-08 2:49 
GeneralRe: popup window Pin
eyeseetee11-Jun-08 3:57
eyeseetee11-Jun-08 3:57 
Questionproblem in file accessing in asp.net 2.0 Pin
vijaylumar11-Jun-08 2:05
vijaylumar11-Jun-08 2:05 
hai friends

i added a rtf file(text file with extension rtf) to my website
i performed two tasks on it 1)read 2)write to the same

for first time it is working
but for writing it is giving error like this

The process cannot access the file 'D:\PrintPage\temp2.rtf' because it is being used by another process.

my code is....

to read file ..

Dim fs2 As New FileStream(strFilePath, FileMode.Open, FileAccess.Read)
Dim d As New StreamReader(fs2)
Dim swrtarget As String
d.BaseStream.Seek(0, SeekOrigin.Begin)
swrtarget = d.ReadToEnd
d.Close()
fs2.Close()


to write ..
Dim fs1 As New FileStream(strFilePath, FileMode.Open, FileAccess.ReadWrite)
Dim s As New StreamWriter(fs1)

here i m getting error...

the process cannot access the file 'D:\PrintPage\temp2.rtf' because it is being used by another process.

plz help me....

note : file is only one.

thanks in advance
vijay
AnswerRe: problem in file accessing in asp.net 2.0 Pin
eyeseetee11-Jun-08 2:31
eyeseetee11-Jun-08 2:31 
AnswerRe: problem in file accessing in asp.net 2.0 Pin
SomeGuyThatIsMe11-Jun-08 2:32
SomeGuyThatIsMe11-Jun-08 2:32 
QuestionAdding control to parent placeholder Pin
markymark8211-Jun-08 1:59
markymark8211-Jun-08 1:59 
QuestionDynamic repeater Pin
Senthil S11-Jun-08 1:23
Senthil S11-Jun-08 1:23 
AnswerRe: Dynamic repeater Pin
eyeseetee11-Jun-08 2:30
eyeseetee11-Jun-08 2:30 
GeneralRe: Dynamic repeater Pin
Senthil S11-Jun-08 3:34
Senthil S11-Jun-08 3:34 
GeneralRe: Dynamic repeater Pin
eyeseetee11-Jun-08 3:50
eyeseetee11-Jun-08 3:50 
AnswerRe: Dynamic repeater Pin
meghamaharshi11-Jun-08 2:34
meghamaharshi11-Jun-08 2:34 
QuestionWebservice binding [Method Error 500] Pin
Member 387988111-Jun-08 0:44
Member 387988111-Jun-08 0:44 
Question[Message Deleted] Pin
nithydurai11-Jun-08 0:41
nithydurai11-Jun-08 0:41 
JokeRe: Ques Pin
Vasudevan Deepak Kumar11-Jun-08 0:42
Vasudevan Deepak Kumar11-Jun-08 0:42 
AnswerRe: Ques - Please Ignore Pin
J4amieC11-Jun-08 0:44
J4amieC11-Jun-08 0:44 
JokeRe: Ques - Please Ignore Pin
Vasudevan Deepak Kumar11-Jun-08 0:46
Vasudevan Deepak Kumar11-Jun-08 0:46 
AnswerRe: Ques Pin
eyeseetee11-Jun-08 0:49
eyeseetee11-Jun-08 0:49 
JokeRe: Ques Pin
Vasudevan Deepak Kumar11-Jun-08 0:53
Vasudevan Deepak Kumar11-Jun-08 0:53 
Questiondocument.getElementById("") javascript ASP.NET. Pin
Pranav Thakur11-Jun-08 0:39
Pranav Thakur11-Jun-08 0:39 
AnswerRe: document.getElementById("") javascript ASP.NET. Pin
Vasudevan Deepak Kumar11-Jun-08 0:44
Vasudevan Deepak Kumar11-Jun-08 0:44 

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.