Click here to Skip to main content
15,883,940 members
Home / Discussions / C#
   

C#

 
GeneralRe: Quick Code Question Pin
DarkKitten10-Nov-09 10:21
DarkKitten10-Nov-09 10:21 
GeneralRe: Quick Code Question Pin
EliottA10-Nov-09 10:53
EliottA10-Nov-09 10:53 
GeneralRe: Quick Code Question Pin
Christian Graus10-Nov-09 11:25
protectorChristian Graus10-Nov-09 11:25 
Questioncreate form Pin
farokhian10-Nov-09 9:05
farokhian10-Nov-09 9:05 
AnswerRe: create form Pin
Not Active10-Nov-09 9:14
mentorNot Active10-Nov-09 9:14 
AnswerRe: create form [modified] Pin
EliottA10-Nov-09 9:31
EliottA10-Nov-09 9:31 
AnswerRe: create form Pin
Christian Graus10-Nov-09 10:17
protectorChristian Graus10-Nov-09 10:17 
Questionprocess problem Pin
E_Gold10-Nov-09 8:39
E_Gold10-Nov-09 8:39 
hi
after i unzip file and try to copy him, i get error process is used
by another program

what can be the problem ? (work on WinForm - C#)

ZipInputStream sampleInputStream = new ZipInputStream(File.OpenRead(UnZIP_ZipFile)); 
            ZipEntry sampleFile = null;
            string sampleOutputDirectoy = UnZIP_RegFile; 
            int sampleSize = 2048;
            sampleInputStream.Password = "12345";
            while ((sampleFile = sampleInputStream.GetNextEntry()) != null)
            {
                sampleSize = 2048;
                if (Path.GetFileName(sampleFile.Name) != string.Empty)
                {
                    string sampleFilePath = sampleOutputDirectoy + @"\" + sampleFile.Name;
                    FileStream sampleFileStream = File.Create(sampleFilePath);
                    byte[] sampleFileData = new byte[sampleSize];
                    while (true)
                    {
                        sampleSize = sampleInputStream.Read(sampleFileData, 0, sampleFileData.Length);
                        if (sampleSize > 0)
                            sampleFileStream.Write(sampleFileData, 0, sampleSize);
                        else
                            break;
                    }
                    sampleFileStream.Close();
                    sampleFileStream.Dispose();
                }
                
            }
            sampleInputStream.Close();
            sampleInputStream.Dispose();
            MessageBox.Show(" ");

AnswerRe: process problem Pin
Luc Pattyn10-Nov-09 13:22
sitebuilderLuc Pattyn10-Nov-09 13:22 
QuestionOutlook 2007 Addin install problem.. Pin
Jacob Dixon10-Nov-09 8:20
Jacob Dixon10-Nov-09 8:20 
AnswerRe: Outlook 2007 Addin install problem.. Pin
Jacob Dixon10-Nov-09 13:29
Jacob Dixon10-Nov-09 13:29 
QuestionTFTP application in C# Pin
KSR2410-Nov-09 8:10
KSR2410-Nov-09 8:10 
JokeRe: TFTP application in C# Pin
Not Active10-Nov-09 9:06
mentorNot Active10-Nov-09 9:06 
GeneralRe: TFTP application in C# Pin
EliottA10-Nov-09 9:33
EliottA10-Nov-09 9:33 
GeneralRe: TFTP application in C# Pin
Luc Pattyn10-Nov-09 13:25
sitebuilderLuc Pattyn10-Nov-09 13:25 
QuestionSend Keys from keyboard Pin
shaina223110-Nov-09 6:50
shaina223110-Nov-09 6:50 
AnswerRe: Send Keys from keyboard Pin
dan!sh 10-Nov-09 6:54
professional dan!sh 10-Nov-09 6:54 
AnswerRe: Send Keys from keyboard Pin
The Man from U.N.C.L.E.10-Nov-09 7:04
The Man from U.N.C.L.E.10-Nov-09 7:04 
AnswerRe: Send Keys from keyboard Pin
Xelalem11-Nov-09 8:27
Xelalem11-Nov-09 8:27 
QuestionHow to pass variables to a new form? Pin
Emmet_Brown10-Nov-09 5:44
Emmet_Brown10-Nov-09 5:44 
AnswerRe: How to pass variables to a new form? Pin
Not Active10-Nov-09 5:55
mentorNot Active10-Nov-09 5:55 
GeneralRe: How to pass variables to a new form? Pin
Emmet_Brown10-Nov-09 6:03
Emmet_Brown10-Nov-09 6:03 
GeneralRe: How to pass variables to a new form? Pin
Not Active10-Nov-09 6:14
mentorNot Active10-Nov-09 6:14 
GeneralRe: How to pass variables to a new form? Pin
Emmet_Brown10-Nov-09 6:18
Emmet_Brown10-Nov-09 6:18 
GeneralRe: How to pass variables to a new form? Pin
Not Active10-Nov-09 7:03
mentorNot Active10-Nov-09 7:03 

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.