<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Windows Form arşivleri - Yunus Emre Araç</title>
	<atom:link href="https://www.yunusemrearac.com/tag/windows-form/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.yunusemrearac.com/tag/windows-form/</link>
	<description>SharePoint Consultant &#124; Microsoft 365 &#124; SharePoint Server &#38; Online</description>
	<lastBuildDate>Mon, 03 Dec 2018 08:57:26 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://www.yunusemrearac.com/wp-content/uploads/2014/11/MetroUI_VisualStudio_2012-545c8860_site_icon-32x32.png</url>
	<title>Windows Form arşivleri - Yunus Emre Araç</title>
	<link>https://www.yunusemrearac.com/tag/windows-form/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">67294213</site>	<item>
		<title>C# ile Text Dosyası Oluşturarak Veya Var Olan Dosyaya Yazı Yazdırmak</title>
		<link>https://www.yunusemrearac.com/2017/02/16/c-ile-text-dosyasi-olusturarak-veya-var-olan-dosyaya-yazi-yazdirmak/</link>
					<comments>https://www.yunusemrearac.com/2017/02/16/c-ile-text-dosyasi-olusturarak-veya-var-olan-dosyaya-yazi-yazdirmak/#comments</comments>
		
		<dc:creator><![CDATA[yunusemrearac]]></dc:creator>
		<pubDate>Thu, 16 Feb 2017 10:08:59 +0000</pubDate>
				<category><![CDATA[Windows Form - C#]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Console]]></category>
		<category><![CDATA[Log]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Text]]></category>
		<category><![CDATA[Windows Form]]></category>
		<category><![CDATA[Write Text]]></category>
		<guid isPermaLink="false">http://yunusemrearac.com/?p=1305</guid>

					<description><![CDATA[<p>Merhaba arkadaşlar bugün sizlere C#kodu kullanarak Windows Form ya da Console uygulamalarında bir text dosyası oluşturarak ya da var olan text dosyasına nasıl yazı yazabileceğimizi&#8230;</p>
<p>The post <a href="https://www.yunusemrearac.com/2017/02/16/c-ile-text-dosyasi-olusturarak-veya-var-olan-dosyaya-yazi-yazdirmak/">C# ile Text Dosyası Oluşturarak Veya Var Olan Dosyaya Yazı Yazdırmak</a> appeared first on <a href="https://www.yunusemrearac.com">Yunus Emre Araç</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Merhaba arkadaşlar bugün sizlere C#kodu kullanarak Windows Form ya da Console uygulamalarında bir text dosyası oluşturarak ya da var olan text dosyasına nasıl yazı yazabileceğimizi göstereceğim.</p>
<p>Bu kısmı genellikle ben uygulamalarıma hata loglarını veya durumları yazdırmak için kullanmaktayım.</p><pre class="urvanov-syntax-highlighter-plain-tag">string fileName = @"C:\Logs.txt";

string writeText = "Log";

FileStream fs = new FileStream(fileName, FileMode.OpenOrCreate, FileAccess.Write);
fs.Close();
File.AppendAllText(fileName, Environment.NewLine + writeText);</pre><p>Yukarıdaki kod parçacığında <strong>&#8220;fileName&#8221;</strong> değişkeninde dosyanın konumunu dosya adı ve uzantısı bilgisiniyle yazıyoruz. Diğer değişkenimiz olan <strong>&#8220;writeText&#8221;</strong> e ise text dosyasına yazdıracağımız string değerini tutuyoruz.</p>
<p>Eğer verdiğimiz dosya konumunda yazılan dosya adı ve uzantısında bir dosya yok ise oluşturup, eğer dosya varsa var olan dosyaya belirlediğimiz değişkeni yazarak kaydedecektir.</p>
<p>The post <a href="https://www.yunusemrearac.com/2017/02/16/c-ile-text-dosyasi-olusturarak-veya-var-olan-dosyaya-yazi-yazdirmak/">C# ile Text Dosyası Oluşturarak Veya Var Olan Dosyaya Yazı Yazdırmak</a> appeared first on <a href="https://www.yunusemrearac.com">Yunus Emre Araç</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.yunusemrearac.com/2017/02/16/c-ile-text-dosyasi-olusturarak-veya-var-olan-dosyaya-yazi-yazdirmak/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1305</post-id>	</item>
		<item>
		<title>C# ile Dosya Ekleyerek Mail Gönderme İşlemi</title>
		<link>https://www.yunusemrearac.com/2015/10/12/c-ile-dosya-ekleyerek-mail-gonderme-islemi/</link>
					<comments>https://www.yunusemrearac.com/2015/10/12/c-ile-dosya-ekleyerek-mail-gonderme-islemi/#comments</comments>
		
		<dc:creator><![CDATA[yunusemrearac]]></dc:creator>
		<pubDate>Mon, 12 Oct 2015 14:24:43 +0000</pubDate>
				<category><![CDATA[Windows Form - C#]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Mail Gönderme]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Send Email]]></category>
		<category><![CDATA[Teknoloji]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows Form]]></category>
		<guid isPermaLink="false">http://yunusemrearac.com/?p=704</guid>

					<description><![CDATA[<p>Merhaba arkadaşlar, diyelim siz programınızda mail gönderme işlemi yapmak istiyorsunuz ve birde bu maile bilgisayarınızda ki herhangi bir dosyayı da ek olarak eklemeniz gerekmektedir. Bunun&#8230;</p>
<p>The post <a href="https://www.yunusemrearac.com/2015/10/12/c-ile-dosya-ekleyerek-mail-gonderme-islemi/">C# ile Dosya Ekleyerek Mail Gönderme İşlemi</a> appeared first on <a href="https://www.yunusemrearac.com">Yunus Emre Araç</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Merhaba arkadaşlar, diyelim siz programınızda mail gönderme işlemi yapmak istiyorsunuz ve birde bu maile bilgisayarınızda ki herhangi bir dosyayı da ek olarak eklemeniz gerekmektedir. Bunun için aşağıdaki kod parçacığını kullanabilirsiniz.</p><pre class="urvanov-syntax-highlighter-plain-tag">SmtpClient SmtpServer = new SmtpClient("smtp.live.com");
var mail = new MailMessage();
mail.From = new MailAddress("FromMailAddress");
mail.To.Add("SendMailAddress");
mail.Subject = "MailSubject";
mail.IsBodyHtml = true;
string htmlBody;
htmlBody = "MailBody";
mail.Body = htmlBody;
Attachment attachment;
attachment = new Attachment(@"MailAttachmentPath");
mail.Attachments.Add(attachment);
SmtpServer.Port = 587;
SmtpServer.UseDefaultCredentials = false;
SmtpServer.Credentials = new System.Net.NetworkCredential("FromMailAddress","FromMailPassword");
SmtpServer.EnableSsl = true;
SmtpServer.Timeout = int.MaxValue;
SmtpServer.Send(mail);</pre><p>Yukarıdaki kod kısmında aşağıda yer alan kısımlar şu şekildedir :</p>
<p><strong>FromMailAddress : </strong>Gönderen mail adresi.</p>
<p><strong>SendMailAddress : </strong>Gönderilen mail adresi . (İsteğe göre arttırılabilir.)</p>
<p><strong>MailSubject : </strong>Mail başlığı.</p>
<p><strong>MailBody :</strong> Mail içeriği.</p>
<p><strong>MailAttachmentPath : </strong>Ek olarak eklenecek dosyanın adresi. (ÖR: D:\Test.txt)</p>
<p><strong>FromMailPassword : </strong>Mail gönderen e-mail adresinin şifresi.</p>
<p>Bu alanları doğru ve eksiksiz bir şekilde girdiğiniz zaman sorunsuz bir şekilde ekiniz ile mail gönderme işlemini yapıyor olacaksınız.</p>
<p>The post <a href="https://www.yunusemrearac.com/2015/10/12/c-ile-dosya-ekleyerek-mail-gonderme-islemi/">C# ile Dosya Ekleyerek Mail Gönderme İşlemi</a> appeared first on <a href="https://www.yunusemrearac.com">Yunus Emre Araç</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.yunusemrearac.com/2015/10/12/c-ile-dosya-ekleyerek-mail-gonderme-islemi/feed/</wfw:commentRss>
			<slash:comments>15</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">704</post-id>	</item>
		<item>
		<title>Windows Form No Exports Were Found That Match The Constraint Hatası</title>
		<link>https://www.yunusemrearac.com/2015/05/18/windows-form-no-exports-were-found-that-match-the-constraint-hatasi/</link>
					<comments>https://www.yunusemrearac.com/2015/05/18/windows-form-no-exports-were-found-that-match-the-constraint-hatasi/#comments</comments>
		
		<dc:creator><![CDATA[yunusemrearac]]></dc:creator>
		<pubDate>Mon, 18 May 2015 14:51:36 +0000</pubDate>
				<category><![CDATA[Windows Form - C#]]></category>
		<category><![CDATA[Application]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Form]]></category>
		<guid isPermaLink="false">http://yunusemrearac.com/?p=657</guid>

					<description><![CDATA[<p>Merhaba arkadaşlar bugün sizlere Windows Form da karşılaştığım &#8220;Settings&#8221; ve &#8220;App.config&#8221; gibi dosyaları açtığımız ya da yeni oluşturduğumuz zaman karşımıza çıkan &#8220;No exports were found&#8230;</p>
<p>The post <a href="https://www.yunusemrearac.com/2015/05/18/windows-form-no-exports-were-found-that-match-the-constraint-hatasi/">Windows Form No Exports Were Found That Match The Constraint Hatası</a> appeared first on <a href="https://www.yunusemrearac.com">Yunus Emre Araç</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Merhaba arkadaşlar bugün sizlere Windows Form da karşılaştığım <strong>&#8220;Settings&#8221;</strong> ve <strong>&#8220;App.config&#8221;</strong> gibi dosyaları açtığımız ya da yeni oluşturduğumuz zaman karşımıza çıkan<strong> &#8220;No exports were found that match the constraint: ContractName Microsoft.VisualStudio.Text.ITextDocumentFactoryService RequiredTypeIdentity Microsoft.VisualStudio.Text.ITextDocumentFactoryService&#8221;</strong> hatasının çözümünden bahsedeceğim.</p>
<p style="text-align: center;"><a href="http://yunusemrearac.com/wp-content/uploads/2015/05/1.png"><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-658" src="https://yunusemrearac.com/wp-content/uploads/2015/05/1.png" alt="1" width="437" height="218" srcset="https://www.yunusemrearac.com/wp-content/uploads/2015/05/1.png 437w, https://www.yunusemrearac.com/wp-content/uploads/2015/05/1-300x150.png 300w" sizes="(max-width: 437px) 100vw, 437px" /></a></p>
<p>   Karşımıza yukarıdaki gibi bir hata çıktığı zaman visual studio muz kapalı iken C:\Users\yunusemrearac\AppData\Local\Microsoft\VisualStudio\11.0<strong> </strong>dizinine ulaşıp <strong>ComponentModelCache </strong>dizinini siliniz.</p>
<p><strong>Not :</strong> Burada &#8220;C:/&#8221;, &#8220;yunusemrearac&#8221; , &#8220;11.0&#8221; kısımları visual studio yu kurduğunuz alan, kullanıcı adı ve visual studio sürümüne göre değişiklik gösterebilir.</p>
<p>The post <a href="https://www.yunusemrearac.com/2015/05/18/windows-form-no-exports-were-found-that-match-the-constraint-hatasi/">Windows Form No Exports Were Found That Match The Constraint Hatası</a> appeared first on <a href="https://www.yunusemrearac.com">Yunus Emre Araç</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.yunusemrearac.com/2015/05/18/windows-form-no-exports-were-found-that-match-the-constraint-hatasi/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">657</post-id>	</item>
	</channel>
</rss>
