
System.Diagnostics.StackTrace st = new System.Diagnostics.StackTrace(ex, true); System.Diagnostics.StackFrame[] frames = st.GetFrames(); // Iterate over the frames extracting the information you need foreach (System.Diagnostics.StackFrame frame in frames) { msg += string.Format("n Method Path : {0} n Method Name : {1}n Method Line : {2} n Mehtod StatIndex In Line : {3}", frame.GetFileName(), frame.GetMethod().Name, frame.GetFileLineNumber(), frame.GetFileColumnNumber()) + "n-----------------------------------n"; }...
ادامه مطلب
برای تست Webservice در محیط ویندوز می تونید وارد برنامه زیر در VS بشین(یعنی شرط قابلیت تست Webservice در ویندوز باید حتما VS نصب داشته باشین)توسط ابزار WcfTestClient.exe می توان تست انجام داد :C:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEWcfTestClient.exe|+| نوشته شده توسط علی نعیم آبادی در یکشنبه هشتم بهمن ۱۳۹۶ | Let's block ads! بخوانید...
ادامه مطلب
وقتی تو VS توسط thread همزمان 10 درخواست از سمت سرور داشته باشیم با مشکل مواجه خواهیم شد. برای رفع این محدودیت : باید این خط کد را ابتدای برنامه تنظیم کرد : System.Net.ServicePointManager.DefaultCoectionLimit = 100;...
ادامه مطلب
I have a short way that will delete all of your telegram contacts at once: 1- you must sign in to your account with web version of Telegram: 2- open contacts from menu and then scroll it to end of your contacts (in order to load them all) 3- click "Edit" On the top bar of contacts window. 4- Open Console by (right click on the page > Inspect element > console tab) for Mozilla Firefox and something like this in other browsers. 5- type this jquery code in Console and then press enter to run:$('.contacts_modal_contact').click(); wait! wait until all of your contacts being selected. Your browser may become "not responsible" during this step. if your browser ask you to continue or stop s...
ادامه مطلب
برای کپی کردن فرمت (مثلا می خواهیم همه ردیف ها از ستون قبلیش کپی کنه) 1) Ctrl + Shift + Down 2) Ctrl + D Insert Formula استخراج A که در F موجود نمیباشه =VLOOKUP(A2,F:F,1,0) 3) F2 --->control-shift-homewill select all the text 4)=TEXT(C2,"hh:mm:ss")|+| نوشته شده توسط علی نعیم آبادی در چهارشنبه هشتم شهریور ۱۳۹۶ | ...
ادامه مطلب
جهت ویرایش کردن خروجی Select در SQL Server باید به شیوه زیر عمل کنید : حتما باید بر روی یکی از جداول(مهم نیست) راست کلیک کرد و Edit را بزنید و بعد در نوار بالا Show Sql Pane یا Ctrl + 3 یا در منو Query Designer بعد Pane و نهایتا SQL را انتخاب کنید ...
ادامه مطلب
If copy paste is enabled both in the server and the remote desktop coection but still doesn't work, the following works for me (taken from here):Do the following on the remote machine:Load up task manager (right click taskbar and select Task Manager)Go to the Processes TabSelect rdpclip.exeClick End ProcessGo to the Application TabClick New ProcessType rdpclipClick Ok...
ادامه مطلب
هنگام استفاده از Progruard با خطای زیر اگه مواجه شدید : C:Program Files (Access is denied) دلیل این خطا : مسیرandroid-sdk دارای space می باشد .مثلا :"I:Program Files (x86)Androidandroid-sdk" راه حل : دستور زیر را در CMD در حالت Run as Administrator اجرا نمایید : mklink /j C:android-sdk "I:Pr...
ادامه مطلب
System.Diagnostics.StackTrace st = new System.Diagnostics.StackTrace(ex, true);System.Diagnostics.StackFrame[] frames = st.GetFrames(); // Iterate over the frames extracting the information you need foreach (System.Diagnostics.StackFrame frame in frames){msg += string.Format("n Method Path : {0} n Method Name : {1}n Method Line : {2} n Mehtod StatIndex In Line : {3}", frame.GetFileName(), frame.GetMethod().Name, frame.GetFileLineNumber(), frame.GetFileColumnNumber()) + "n-----------------------------------n";} |+| نوشته شده توسط علی نعیم آبادی در سه شنبه دهم اسفند ۱۳۹۵ | ...
ادامه مطلب
وقتی تو VS توسط thread همزمان 10 درخواست از سمت سرور داشته باشیم با مشکل مواجه خواهیم شد. برای رفع این محدودیت : باید این خط کد را ابتدای برنامه تنظیم کرد : System.Net.ServicePointManager.DefaultCoectionLimit = 100; |+| نوشته شده توسط علی نعیم آبادی در سه شنبه بیست و نهم فروردین ۱۳۹۶ | ...
ادامه مطلب
SQL Server 2016 C:WindowsSysWOW64SQLServerManager13.msc SQL Server 2014 C:WindowsSysWOW64SQLServerManager12.msc SQL Server 2012 C:WindowsSysWOW64SQLServerManager11.msc SQL Server 2008 C:WindowsSysWOW64SQLServerManager10.msc...
ادامه مطلب
دستور زیر را در CMD در حالت Run as Administrator اجرا نمایید. mklink /j C:android-sdk "I:Program Files (x86)Androidandroid-sdk"...
ادامه مطلب
1.http://www.viralandroid.com/2015/09/android-button-style-examples.html 2.https://github.com/xamarin/monodroid-samples/blob/master/MonoIO/UI/WhatsOnFragment.cs (About Handler and PostDelay) ...
ادامه مطلب
https://www.mobizen.com/...
ادامه مطلب
http://v-consult.be/2011/05/26/recover-sa-password-microsoft-sql-server-2008-r2/ How to recover SA password on Microsoft SQL Server 2008 R2 When you are using MS SQL Server in mixed mode, it is very important that you know your SA password. There can be different reasons you lost the password Person who installed the SQL Server knows the password but has left the building. You did not write down the password in your password file Password file is lost … Steps to recover the SA password Start SQL Server Configuration Manager Stop the SQL services Edit the properties of the SQL Service Change the startup parameters of the SQL service by adding a–m;in front of the existing parame...
ادامه مطلب
باید از روش زیر عمل کنید.مثلا زمان افزودن cardview It sounds like you might have a corrupt download. Please try deleting thezipsfolderinsideC:UsersuseameAppDataLocalXamarin. Then, delete the obj/folder from your solution's project folders, restart Xamarin Studio, and rebuild. error that can happen ... Error 11 Please install package: 'Android Support Library' available in SDK installer. Android resource directory C:UsersdevAppDataLocalXamarinAndroid.Support.v421.0.3embedded./ doesn't exist. MyProject.Droid Error 5 Please install package: 'Android Support Library' available in SDK installer. Java library file C:UsersdevAppDataLocalXamarinAndroid.Support.v421.0.3embeddedclasses.jar...
ادامه مطلب
خطایtimely fashionدر هنگام start کردن Sql Server : "The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details."Solution :This really Works .. i had verified lot of sites and finally got the answer This may occurs when the master.mdf or the mastlog.ldf gets corrupt . In order to solve the issue goto the following path C:Program FilesMicrosoft SQL ServerMSSQL10_50.MSSQLSERVERMSSQL, there you will find a folder ” Template Data ” , copy the master.mdf and mastlog.ldf and replace it in C:Program FilesMicrosoft SQL ServerMSSQL10_50.MSSQLSERVERMSSQLDATAfolder . Thats it . Now start the MS SQL service and you are done . ...
ادامه مطلب
EaseUS | Data Recovery, Backup, Partition Manager & PC Utility www.easeus.com...
ادامه مطلب
اول باید پرینتر را از printer and devices حذف کرد بعد وارد CMD ( با Administrator) بشین و دستور Printui /s /t2 را اجرا کنید تا لیست تمام درایور های مربوط به پرینتر باز شود . بعد هر کدوم که می خواهید Remove کنید....
ادامه مطلب
با سلام در Java : mPaintPageStroke.setColor(circleBorderColor); در xamarin : mPaintPageStroke.Color = new Android.Graphics.Color(circleBorderColor);...
ادامه مطلب