تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
مسعده فى صنع برنامج نحميل
#1
ارجه المساعده ضرورى
كيف يمكن عمل برنامج تحميل الملفات سهل
لاكن كيف جعلة لو البرنامج اتقفل مثلآ التحميل كان 40% لو اتفتح تنى يفضل التحميل 40% وى عند الضغط على زر Resume يكمل منغير مشاكل
الرد }}}
تم الشكر بواسطة:
#2
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() 
جرب هذا الكود فأنا لم اجربه فقط احتفظت به
microsoft partner
Team administrator
MCPD,MCITP,OCP,MP,MCC
Xprema Systems
الرد }}}
تم الشكر بواسطة:
#3
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
الرد }}}
تم الشكر بواسطة:


المواضيع المحتمل أن تكون متشابهة .
الموضوع : الكاتب الردود : المشاهدات : آخر رد
  [C#.NET] مشكل يخص قراءة التقارير في برنامج aziz-ouali 0 261 08-12-23, 06:25 AM
آخر رد: aziz-ouali
  المساعده فى التعديل على سورس كود برنامج Mezoman 4 564 27-10-23, 08:25 PM
آخر رد: Mezoman
  مشكلة في نشر برنامج يعتمد على ملف txt osama623 2 754 17-11-22, 08:53 PM
آخر رد: osama623
  مشكلة في نشر برنامج يعتمد على الـ Selenium osama623 0 591 21-09-22, 11:26 PM
آخر رد: osama623
  مساعدة في برنامج سكنر عدنان الشمري 4 3,286 18-02-22, 03:40 AM
آخر رد: adminh1
  [C#.NET] برنامج احتساب سرعة الكتابة على الكيبورد aboghanema 10 2,212 02-10-21, 05:25 PM
آخر رد: aboghanema
  [سؤال] كيف يمكنني استعادة فتح form في برنامج microsoft visual studio aabir 2 1,716 22-09-21, 12:05 PM
آخر رد: aabir
  تشغيل برنامج ببرنامج اخر anes 10 4,605 24-08-21, 11:54 AM
آخر رد: Miloud
  طلب برنامج Code Builder v4.2 maxruined 0 1,347 27-07-21, 11:33 AM
آخر رد: maxruined
  ما هي الطريقة التي تربط أجهزة متعددة Desktop او صفحة انترنت لعمل برنامج تفاعلي ؟ خليل إبراهيم 0 1,295 16-07-21, 11:49 PM
آخر رد: خليل إبراهيم

التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم