التنبيهات التالية ظهرت :
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 864 - File: showthread.php PHP 7.4.33 (Linux)
File Line Function
/showthread.php 864 errorHandler->error



تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
رسالة خطأ Attempted to read or write protected memory
#1
بسم الله الرحمن الرحيم
الاخوة الافاضل ظهرت لي الرسالة التالية

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

بعد تنفيذ الكود التالي بعد المرة الثانية
كود :
Try
            My.Application.DoEvents()
            Me.PictureBox4.Image = Nothing
            Me.PictureBox4.ImageLocation = ""
            filename1 = Nothing
            OpenFileDialog1.RestoreDirectory = True
            OpenFileDialog1.InitialDirectory = (Application.StartupPath & "\DOCUMENTS")
            OpenFileDialog1.Filter = "Photo Files (*.jpg)|*.jpg|AllFiles (*.*)|*.*" '
            OpenFileDialog1.Title = "حدد مسار الصورة"
            OpenFileDialog1.FileName = ""
            OpenFileDialog1.ShowDialog()
            filename1 = OpenFileDialog1.FileName
        Catch ex As Exception
            MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
        End Try
وخاصة تظهر رسالة الخطأ في السطر التالي
كود :
OpenFileDialog1.ShowDialog()
مع الرغم بحثت عن حلول ولن نصل الى حل لذا نرجو من الاخوة الافاضل ان لا يبخلوا علينا في حل هذه المشكلة
الرد }}}
تم الشكر بواسطة:


الردود في هذا الموضوع
رسالة خطأ Attempted to read or write protected memory - بواسطة البراء - 29-05-13, 03:49 AM


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


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