Jump to content

Visual Basicte Kaydet Butonu Işlevi


mutlku_1991

Recommended Posts

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

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

'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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...