mutlku_1991 Posted June 29, 2009 Share Posted June 29, 2009 arkadaşlar ben visual basicte not defteri yaptım bu programı denediğimde kaydete bastığımda "kayıt türü" yeri bomboş ben burada sadece .txt uzantılıyla kadetmesini istiyorum arkadaşlar takıldım kaldım ne yaazmam gerek alttakide kaydet butonunun kodu Private Sub Command2_Click() CommonDialog1.Action = 2 End Sub Arkadaşar bi yardım edin cvplarını bekliyorum Link to comment Share on other sites More sharing options...
BeyazEylem Posted June 29, 2009 Share Posted June 29, 2009 CommonDialog1.Filter="Text Dosyaları(*.txt)|*.txt" CommonDialog1.FilterIndex = 1 CommonDialog1.InitDir = App.Path CommonDialog1.ShowSave Dene bakalım visual basic yüklü değil tam hatırlamıyorum. Link to comment Share on other sites More sharing options...
mutlku_1991 Posted June 29, 2009 Author Share Posted June 29, 2009 CommonDialog1.Filter="Text Dosyaları(*.txt)|*.txt"CommonDialog1.FilterIndex = 1 CommonDialog1.InitDir = App.Path CommonDialog1.ShowSave Dene bakalım visual basic yüklü değil tam hatırlamıyorum. verdiğin oldu senden birşey daha istesem ben açtığım dosyaların içeriği yüklenmiyor text1 içine onun kodunu nasıl yapacağız peki? Link to comment Share on other sites More sharing options...
BeyazEylem Posted June 29, 2009 Share Posted June 29, 2009 'istersen yukarıdaki filterleri bunada ekleyebilirsin.. CommanDialog1.ShowOpen 'RichTextBox kullanman gerek .. internette bulursun dosyasını RichTextBox1.LoadFile CommonDialog1.Filename Bu siteyi dolaş .. tavsiye ederim www.planet-source-code.com[/CODE] Link to comment Share on other sites More sharing options...
mutlku_1991 Posted June 29, 2009 Author Share Posted June 29, 2009 diğerinin yerine koydum ama olmadı text1. kullanıyordum sonra sen deyince RichTextBox kullanıyorum ama hala olmuyor Link to comment Share on other sites More sharing options...
BeyazEylem Posted June 29, 2009 Share Posted June 29, 2009 yanlış hatırlıyor olabilirim http://www.planet-source-code.com/vb/scripts/ShowZip.asp?lngWId=1&lngCodeId=39610&strZipAccessCode=tp%2FH396100010[/CODE] bu adresteki dosyayı indir menü kodlarını incele.. Link to comment Share on other sites More sharing options...
mutlku_1991 Posted June 29, 2009 Author Share Posted June 29, 2009 sağol bir göz atarım Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.