Jump to content

Ams Günlük Hazırladım Kayıt Yapmıyor


asil123123
 Share

Recommended Posts

İni'ye kayıt ettirebilirsin en kolay yöntem olarak

Mesela

AutoPlay\\Docs içine bir ini oluştur

Projene bir input ve bir buton oluştuır.

Butona basıldığı zaman iniye ini.setvalue ile kaydettirirsin.

Başlangıçtada istedeiğin bir valueden input a yazdırısın.

Edited by nightmare3519
Link to comment
Share on other sites

Şöyle anlatayım

Projende bir butonun iki tanede input objen var

butondaki kodların şöyle olacak iniye kayıt etmesi için




INIFile.SetValue(_WindowsFolder.."\\My Settings.ini", [color="#ff0000"]"My Section"[/color], [color="#0000ff"]"My Value"[/color],[color="#00ff00"] "My Data"[/color]);

Kırmızılı olan yer İnide "[]" köşeli parantez içine alınan yer

Mavili olan yer sana göre "gün"

Yeşilli olan yer ise günlüğün içeriği

Şimdi senin butona yazacaın kodların şöyle olacak

gun = Input.GetText("Input1")
icerik = Input.GetText("Input2")
INIFile.SetValue(_WindowsFolder.."\\My Settings.ini", "My Section", gun, icerik);

Bu şekilde kaydettirirsin eğer yanlış yazdığım bir yer varsa üstadlarım uyarsınlar :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...