منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب
مسعده فى صنع برنامج نحميل - نسخة قابلة للطباعة

+- منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب (http://vb4arb.com/vb)
+-- قسم : قسم لغة السي شارب C#.NET (http://vb4arb.com/vb/forumdisplay.php?fid=175)
+--- قسم : قسم اسئلة C#.NET (http://vb4arb.com/vb/forumdisplay.php?fid=176)
+--- الموضوع : مسعده فى صنع برنامج نحميل (/showthread.php?tid=7700)



مسعده فى صنع برنامج نحميل - مبتدئ - 21-02-13

ارجه المساعده ضرورى
كيف يمكن عمل برنامج تحميل الملفات سهل
لاكن كيف جعلة لو البرنامج اتقفل مثلآ التحميل كان 40% لو اتفتح تنى يفضل التحميل 40% وى عند الضغط على زر Resume يكمل منغير مشاكل


مسعده فى صنع برنامج نحميل - smss - 22-02-13

PHP كود :
Create a New 'HttpWebRequest' object .
HttpWebRequest myHttpWebRequest=(HttpWebRequest)WebRequest.Create("http://www.contoso.com");
myHttpWebRequest.AddRange(50,150);    
// Assign the response object of 'HttpWebRequest' to a 'HttpWebResponse' variable.
HttpWebResponse myHttpWebResponse=(HttpWebResponse)myHttpWebRequest.GetResponse();
// Display the contents of the page to the console.
Stream streamResponse=myHttpWebResponse.GetResponseStream();
StreamReader streamRead = new StreamReaderstreamResponse );
Char[] readBuffer = new Char[256];
int count streamRead.ReadreadBuffer0256 );
Console.WriteLine("\nThe HTML contents of the page from 50th to 150 charaters are :\n  ");    
while (
count 0
{
    
String outputData = new String(readBuffer0count);
    
Console.WriteLine(outputData);
    
count streamRead.Read(readBuffer0256);
}
// Release the response object resources.
streamRead.Close();
streamResponse.Close();
myHttpWebResponse.Close() 
جرب هذا الكود فأنا لم اجربه فقط احتفظت به


مسعده فى صنع برنامج نحميل - مبتدئ - 22-02-13

smss كتب :
PHP كود :
Create a New 'HttpWebRequest' object .
HttpWebRequest myHttpWebRequest=(HttpWebRequest)WebRequest.Create("http://www.contoso.com");
myHttpWebRequest.AddRange(50,150);    
// Assign the response object of 'HttpWebRequest' to a 'HttpWebResponse' variable.
HttpWebResponse myHttpWebResponse=(HttpWebResponse)myHttpWebRequest.GetResponse();
// Display the contents of the page to the console.
Stream streamResponse=myHttpWebResponse.GetResponseStream();
StreamReader streamRead = new StreamReaderstreamResponse );
Char[] readBuffer = new Char[256];
int count streamRead.ReadreadBuffer0256 );
Console.WriteLine("\nThe HTML contents of the page from 50th to 150 charaters are :\n  ");    
while (
count 0
{
    
String outputData = new String(readBuffer0count);
    
Console.WriteLine(outputData);
    
count streamRead.Read(readBuffer0256);
}
// Release the response object resources.
streamRead.Close();
streamResponse.Close();
myHttpWebResponse.Close() 
جرب هذا الكود فأنا لم اجربه فقط احتفظت به
لم يعمل Sad