السلام عليكم و رحمة الله و بركاته الكلمة Await ترتبط مع Async تاكد من كتابتها مع بداية تعريف الدالة او الاجراء حيث الكود الضاهر في الصورة مقطوع و جسم الدالة غير مرئي
Public Async Sub SendToUrl stopProcess = False Try Dim _fullResult As String = Await.getContentsTask(New WebClient()).DownloadStringTaskAsync(globalLink(Setinfo.Days))
Dim rg As New Regex(_pastebinPattern, RegexOptions.Multiline) For Each matchString As Match In rg.Matches(_fullResult) concatResult.Add(matchString.Value.Replace(changeLink(0), changeLink(1))) Setinfo.CountLinks.Text = concatResult.Count.ToString()
If stopProcess Then Exit For End If Next matchString
For Each item In concatResult
Dim _secondResults As String = Await(New WebClient()).DownloadStringTaskAsync(item) Dim _info As New Regex(Setinfo.regexPattern, RegexOptions.Multiline)
For Each matchString As Match In _info.Matches(_secondResults) Application.DoEvents()
01-07-17, 02:03 AM (آخر تعديل لهذه المشاركة : 01-07-17, 02:10 AM {2} بواسطة ابو ليلى.)
حاول اعادة بناء المشروع لتقلص عدد الاخطاء لان اغلب الاخطاء غير صحيحة
وعمل Clean اذا ما نجح في التقليص
و بعدها نشوف باقي الاخطاء
اتوقع انك غير قادر على استخدام هذا الاسلوب مع النسخة 4.0