Click here to Skip to main content
15,925,895 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Timed online course program - Is it possible with ASP.NET - AJAX? Pin
AbhishekBK26-Dec-07 23:19
AbhishekBK26-Dec-07 23:19 
GeneralRe: Timed online course program - Is it possible with ASP.NET - AJAX? Pin
Abhijit Jana26-Dec-07 23:35
professionalAbhijit Jana26-Dec-07 23:35 
GeneralRe: Timed online course program - Is it possible with ASP.NET - AJAX? Pin
AbhishekBK27-Dec-07 0:09
AbhishekBK27-Dec-07 0:09 
AnswerRe: Timed online course program - Is it possible with ASP.NET - AJAX? Pin
UsmanMunier27-Dec-07 0:57
UsmanMunier27-Dec-07 0:57 
Generalproblem in filling dropdownlist inside a updatepanel Pin
sanjubaba26-Dec-07 22:06
sanjubaba26-Dec-07 22:06 
NewsDuplicate Post Pin
Sun Rays26-Dec-07 23:07
Sun Rays26-Dec-07 23:07 
GeneralRe: problem in filling dropdownlist inside a updatepanel Pin
gates0927-Dec-07 4:31
gates0927-Dec-07 4:31 
QuestionProblem with unzip Pin
AnhTin26-Dec-07 20:14
AnhTin26-Dec-07 20:14 
hi all
I read article
http://www.codeproject.com/KB/cs/Zip_UnZip.aspx[^]

But I have problem when i run function unzip

My file zip containt six file and two folder and in there folder containt some file

When i run Fuction
< code>
public void UnZip(string SrcFile, string DstDir)
{
FileStream fileStreamIn = new FileStream(SrcFile, FileMode.Open, FileAccess.Read);
ZipInputStream zipInStream = new ZipInputStream(fileStreamIn);

ZipEntry entry;
int size;
byte[] buffer = new byte[BUFFERSIZE];
while ((entry = zipInStream.GetNextEntry()) != null)
{
FileStream fileStreamOut = new FileStream(DstDir + @"\" + entry.Name, FileMode.Create, FileAccess.Write);
while((size = zipInStream.Read(buffer, 0, buffer.Length)) > 0)
{
fileStreamOut.Write(buffer, 0, size);
}
fileStreamOut.Close();
}
zipInStream.Close();
fileStreamIn.Close();
}
< /code>

But have exception when it unzip to folder name "folderdemo".
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Inetpub\wwwroot\DacNong\Atlas\Data\folderdemo\'.

Some body help me.
How could i unzip when in file zip contain file and folder ???
GeneralRe: Problem with unzip Pin
sulabh202027-Dec-07 0:49
sulabh202027-Dec-07 0:49 
General[Message Deleted] Pin
sanjubaba26-Dec-07 20:13
sanjubaba26-Dec-07 20:13 
GeneralRe: problem while calling a function from a js file from a usercontrol Pin
Abhijit Jana26-Dec-07 20:16
professionalAbhijit Jana26-Dec-07 20:16 
GeneralRe: [Message Deleted] Pin
Abhijit Jana26-Dec-07 21:02
professionalAbhijit Jana26-Dec-07 21:02 
GeneralRe: [Message Deleted] Pin
Colin Angus Mackay27-Dec-07 0:06
Colin Angus Mackay27-Dec-07 0:06 
GeneralRe: [Message Deleted] Pin
Paul Conrad27-Dec-07 15:05
professionalPaul Conrad27-Dec-07 15:05 
Questioncan use timestamp in asp.net? Pin
sathyan_829426-Dec-07 20:05
sathyan_829426-Dec-07 20:05 
AnswerRe: can use timestamp in asp.net? Pin
Abhijit Jana26-Dec-07 20:06
professionalAbhijit Jana26-Dec-07 20:06 
QuestionRegional languages (Hindi, Telugu, Tamil etc) in aspx pages Pin
RaMo26-Dec-07 19:55
RaMo26-Dec-07 19:55 
GeneralRe: Regional languages (Hindi, Telugu, Tamil etc) in aspx pages Pin
Abhijit Jana26-Dec-07 20:03
professionalAbhijit Jana26-Dec-07 20:03 
GeneralRe: Regional languages (Hindi, Telugu, Tamil etc) in aspx pages Pin
RaMo26-Dec-07 20:12
RaMo26-Dec-07 20:12 
GeneralRe: Regional languages (Hindi, Telugu, Tamil etc) in aspx pages Pin
Abhijit Jana26-Dec-07 20:24
professionalAbhijit Jana26-Dec-07 20:24 
GeneralProblem in showing multiple Images in datalist in one column Pin
Ravi_2126-Dec-07 19:48
Ravi_2126-Dec-07 19:48 
GeneralAccess denied error Pin
hogan.john26-Dec-07 19:29
hogan.john26-Dec-07 19:29 
GeneralRe: Access denied error Pin
N a v a n e e t h26-Dec-07 19:49
N a v a n e e t h26-Dec-07 19:49 
Generalencrypt webconfig value of appsetting in asp.net Pin
Piyush Vardhan Singh26-Dec-07 19:27
Piyush Vardhan Singh26-Dec-07 19:27 
Questionhow this is working will any body says plz Pin
jagan12326-Dec-07 19:10
jagan12326-Dec-07 19:10 

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.