<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Clomosy | Forum : Ses kaydetme</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : Ses kaydetme]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 08:57:46 +0000</pubDate>
  <lastBuildDate>Tue, 10 Sep 2024 13:24:57 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=928</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Clomosy | Forum]]></title>
   <url>https://forum.clomosy.com.tr/forum_images/logo.png</url>
   <link>https://forum.clomosy.com.tr/</link>
  </image>
  <item>
   <title><![CDATA[Ses kaydetme : Merhaba Mustafa,audioPath de&#287;i&#351;keni...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=928&amp;PID=1803#1803</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=142">BilalCndn</a><br /><strong>Konu:</strong> 928<br /><strong>Gönderim Zamanı:</strong> 10&nbsp;Eylül&nbsp;2024 Saat 13:24<br /><br />Merhaba Mustafa,<div><br></div><div>audioPath değişkeni local olarak&nbsp;<span style=": rgb251, 251, 253;">ShowNotlarimScreen voidi içerisinde oluşturulmuş. Local bir değişkene farklı bir void içerisinden erişilemez. audioPath değişkenini global olarak tanımlayarak dener misin?</span></div><div><span style=": rgb251, 251, 253;">Ayrıca except bloğu içerisinde&nbsp;</span><span style=": rgb251, 251, 253;">&nbsp;</span><span style=": rgb251, 251, 253;">LastExceptionMessage kullanarak hatanın kaynağını tespit edebilirsin.</span></div><div><span style=": rgb251, 251, 253;"><br></span></div><div><span style=": rgb251, 251, 253;">İyi çalışmalar dilerim.</span></div>]]>
   </description>
   <pubDate>Tue, 10 Sep 2024 13:24:57 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=928&amp;PID=1803#1803</guid>
  </item> 
  <item>
   <title><![CDATA[Ses kaydetme : notlar&#305;m sayfas&#305;nda ses kayd&#305;n&#305;...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=928&amp;PID=1800#1800</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=222">MustafaCetin</a><br /><strong>Konu:</strong> 928<br /><strong>Gönderim Zamanı:</strong> 09&nbsp;Eylül&nbsp;2024 Saat 18:25<br /><br />notlarım sayfasında ses kaydını oynat butonuna basınca Ses dosyası oynatılamadı. Geçerli bir yol veya URL girin mesajı geliyor (veritabanına githuba yüklediğim ses kaydının linkini girdim)<br><div>void SaveNoteWithAudio;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp;</div><div>&nbsp; &nbsp; AudioFilePath = AudioFilePathEdit.Text;</div><div>&nbsp; &nbsp; if AudioFilePath &lt;&gt; ''</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp;Clomosy.DBSQLiteQuery.Sql.Text =&nbsp;</div><div>&nbsp; 'INSERT INTO Notes (note_title, note_content, audio_path, user_id) VALUES (' +</div><div>&nbsp; QuotedStr(notBasligiEdit.Text) + ', ' +&nbsp;</div><div>&nbsp; QuotedStr(notIcerigiEdit.Text) + ', ' +&nbsp;</div><div>&nbsp; QuotedStr(AudioFilePath) + ', ' + IntToStr(currentUserId) + ');';</div><div>Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Not ve ses dosyası başarıyla kaydedildi!');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Ses dosyası yolunu girmediniz!');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Not kaydı sırasında bir hata oluştu: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div>void ShowNotlarimScreen;</div><div>var</div><div>&nbsp; labelCounter, noteId: Integer;</div><div>&nbsp; YPosition: Integer;</div><div>&nbsp; titleLabel, audioLabel: TclProLabel;</div><div>&nbsp; noteTitle, noteContent, audioPath: string;</div><div>&nbsp; VScrollNotlarim: TCLVertScrollBox;</div><div>&nbsp; contentPanel: TclProPanel;</div><div>&nbsp; contentScrollBox: TCLVertScrollBox;&nbsp;</div><div>&nbsp; contentLabel: TclProLabel;</div><div>&nbsp; deleteButton,playAudioButton: TclProButton;&nbsp;</div><div>&nbsp; audioIcon: TclProImage;&nbsp;</div><div>{</div><div>&nbsp; notlarimForm = TclForm.Create(Self);</div><div><br></div><div>&nbsp; if Assigned(notlarimForm)</div><div>&nbsp; &nbsp; notlarimForm.SetFormBGImage('<a href="https://r.resimlink.com/csd_gl.png" target="_blank" rel="nofollow">https://r.resimlink.com/csd_gl.png</a>');</div><div><br></div><div>&nbsp; VScrollNotlarim = notlarimForm.AddNewVertScrollBox(notlarimForm, 'VScrollNotlarim');</div><div>&nbsp; VScrollNotlarim.Align = alClient;</div><div>&nbsp; VScrollNotlarim.Margins.Left = 25;</div><div>&nbsp; VScrollNotlarim.Margins.Right = 25;</div><div>&nbsp; VScrollNotlarim.Margins.Top = 10;</div><div>&nbsp; VScrollNotlarim.Width = 300;</div><div>&nbsp; VScrollNotlarim.Height = 450;&nbsp;&nbsp;</div><div>&nbsp; VScrollNotlarim.ShowScrollBars = True;</div><div><br></div><div>&nbsp; YPosition = 50;</div><div>&nbsp; labelCounter = 1;</div><div><br></div><div>&nbsp; try</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.Sql.Text = 'SELECT * FROM Notes WHERE user_id = ' + IntToStr(currentUserId);</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div><br></div><div>&nbsp; &nbsp; while (not Clomosy.DBSQLiteQuery.Eof)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; noteId = Clomosy.DBSQLiteQuery.FieldByName('note_id').AsInteger;</div><div>&nbsp; &nbsp; &nbsp; noteTitle = Clomosy.DBSQLiteQuery.FieldByName('note_title').AsString;</div><div>&nbsp; &nbsp; &nbsp; noteContent = Clomosy.DBSQLiteQuery.FieldByName('note_content').AsString;</div><div>&nbsp; &nbsp; &nbsp; audioPath = Clomosy.DBSQLiteQuery.FieldByName('audio_path').AsString;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; titleLabel = notlarimForm.AddNewProLabel(VScrollNotlarim, 'titleLabel' + IntToStr(labelCounter), noteTitle);</div><div>&nbsp; &nbsp; &nbsp; titleLabel.Align = alTop;</div><div>&nbsp; &nbsp; &nbsp; titleLabel.Margins.Left = 25;</div><div>&nbsp; &nbsp; &nbsp; titleLabel.Margins.Right = 25;</div><div>&nbsp; &nbsp; &nbsp; titleLabel.Margins.Top = 10;</div><div>&nbsp; &nbsp; &nbsp; titleLabel.Margins.Bottom = 10;</div><div>&nbsp; &nbsp; &nbsp; titleLabel.Width = 300;</div><div>&nbsp; &nbsp; &nbsp; titleLabel.Height = 40;</div><div>&nbsp; &nbsp; &nbsp; titleLabel.clProSettings.RoundWidth = 20;</div><div>&nbsp; &nbsp; &nbsp; titleLabel.clProSettings.RoundHeight = 20;</div><div>&nbsp; &nbsp; &nbsp; titleLabel.clProSettings.FontSize = 16;</div><div>&nbsp; &nbsp; &nbsp; titleLabel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#3F51B5');</div><div>&nbsp; &nbsp; &nbsp; titleLabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; &nbsp; &nbsp; titleLabel.clProSettings.WordWrap = True;</div><div>&nbsp; &nbsp; &nbsp; titleLabel.SetclProSettings(titleLabel.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; contentPanel = notlarimForm.AddNewProPanel(VScrollNotlarim, 'contentPanel' + IntToStr(labelCounter));</div><div>&nbsp; &nbsp; &nbsp; contentPanel.Align = alTop;</div><div>&nbsp; &nbsp; &nbsp; contentPanel.Margins.Left = 25;</div><div>&nbsp; &nbsp; &nbsp; contentPanel.Margins.Right = 25;</div><div>&nbsp; &nbsp; &nbsp; contentPanel.Margins.Top = 5;</div><div>&nbsp; &nbsp; &nbsp; contentPanel.Margins.Bottom = 15;</div><div>&nbsp; &nbsp; &nbsp; contentPanel.Width = 300;</div><div>&nbsp; &nbsp; &nbsp; contentPanel.Height = 250;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; contentPanel.clProSettings.RoundWidth = 15;</div><div>&nbsp; &nbsp; &nbsp; contentPanel.clProSettings.RoundHeight = 15;</div><div>&nbsp; &nbsp; &nbsp; contentPanel.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#E0E0E0');</div><div>&nbsp; &nbsp; &nbsp; contentPanel.SetclProSettings(contentPanel.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; contentScrollBox = notlarimForm.AddNewVertScrollBox(contentPanel, 'contentScrollBox' + IntToStr(labelCounter));</div><div>&nbsp; &nbsp; &nbsp; contentScrollBox.Align = alClient;</div><div>&nbsp; &nbsp; &nbsp; contentScrollBox.Margins.Left = 15;</div><div>&nbsp; &nbsp; &nbsp; contentScrollBox.Margins.Right = 15;</div><div>&nbsp; &nbsp; &nbsp; contentScrollBox.Margins.Top = 15;</div><div>&nbsp; &nbsp; &nbsp; contentScrollBox.Margins.Bottom = 15;</div><div>&nbsp; &nbsp; &nbsp; contentScrollBox.Width = contentPanel.Width - 30;</div><div>&nbsp; &nbsp; &nbsp; contentScrollBox.Height = 150;</div><div>&nbsp; &nbsp; &nbsp; contentScrollBox.ShowScrollBars = True;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; contentLabel = notlarimForm.AddNewProLabel(contentScrollBox, 'contentLabel' + IntToStr(labelCounter), noteContent);</div><div>&nbsp; &nbsp; &nbsp; contentLabel.Align = alTop;</div><div>&nbsp; &nbsp; &nbsp; contentLabel.Width = contentScrollBox.Width;</div><div>&nbsp; &nbsp; &nbsp; contentLabel.Height = contentScrollBox.Height;</div><div>&nbsp; &nbsp; &nbsp; contentLabel.clProSettings.FontSize = 14;</div><div>&nbsp; &nbsp; &nbsp; contentLabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#000000');</div><div>&nbsp; &nbsp; &nbsp; contentLabel.clProSettings.WordWrap = True;&nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; contentLabel.SetclProSettings(contentLabel.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; if (audioPath &lt;&gt; '')&nbsp;</div><div>{</div><div>&nbsp; audioIcon = notlarimForm.AddNewProImage(contentPanel, 'audioIcon' + IntToStr(labelCounter));</div><div>&nbsp; audioIcon.Align = alBottom;</div><div>&nbsp; audioIcon.Margins.Left = 15;</div><div>&nbsp; audioIcon.Margins.Right = 5;</div><div>&nbsp; audioIcon.Margins.Top = 5;</div><div>&nbsp; audioIcon.Margins.Bottom = 5;</div><div>&nbsp; audioIcon.Width = 20;&nbsp;&nbsp;</div><div>&nbsp; audioIcon.Height = 20;</div><div>&nbsp; audioIcon.clProSettings.PictureSource = '<a href="https://i.hizliresim.com/cfbj0dw.png" target="_blank" rel="nofollow">https://i.hizliresim.com/cfbj0dw.png</a>';&nbsp;&nbsp;</div><div>&nbsp; audioIcon.clProSettings.PictureAutoFit = True;</div><div>&nbsp; audioIcon.SetclProSettings(audioIcon.clProSettings);</div><div><br></div><div>&nbsp; audioLabel = notlarimForm.AddNewProLabel(contentPanel, 'audioLabel' + IntToStr(labelCounter), audioPath);</div><div>&nbsp; audioLabel.Align = alBottom;</div><div>&nbsp; audioLabel.Margins.Left = 40;&nbsp;&nbsp;</div><div>&nbsp; audioLabel.Margins.Right = 15;</div><div>&nbsp; audioLabel.Margins.Top = 5;</div><div>&nbsp; audioLabel.Margins.Bottom = 5;</div><div>&nbsp; audioLabel.Width = 200;</div><div>&nbsp; audioLabel.Height = 20;</div><div>&nbsp; audioLabel.clProSettings.FontSize = 12;</div><div>&nbsp; audioLabel.clProSettings.FontColor = clAlphaColor.clHexToColor('#FF5722');</div><div>&nbsp; audioLabel.SetclProSettings(audioLabel.clProSettings);</div><div><br></div><div>&nbsp; playAudioButton = notlarimForm.AddNewProButton(contentPanel, 'playAudioButton' + IntToStr(labelCounter), 'Oynat');</div><div>&nbsp; playAudioButton.Align = alBottom;</div><div>&nbsp; playAudioButton.Margins.Left = 0;</div><div>&nbsp; playAudioButton.Margins.Right = 15;</div><div>&nbsp; playAudioButton.Margins.Top = 5;</div><div>&nbsp; playAudioButton.Margins.Bottom = 5;</div><div>&nbsp; playAudioButton.Width = 50;</div><div>&nbsp; playAudioButton.Height = 25;</div><div>&nbsp; playAudioButton.clProSettings.RoundWidth = 10;</div><div>&nbsp; playAudioButton.clProSettings.RoundHeight = 10;</div><div>&nbsp; playAudioButton.clProSettings.BackgroundColor = clAlphaColor.clHexToColor('#4CAF50');</div><div>&nbsp; playAudioButton.clProSettings.FontColor = clAlphaColor.clHexToColor('#FFFFFF');</div><div>&nbsp; playAudioButton.SetclProSettings(playAudioButton.clProSettings);</div><div><br></div><div>&nbsp; notlarimForm.AddNewEvent(playAudioButton, tbeOnClick, 'PlayAudioFile');</div><div>}</div><div><br></div><div>&nbsp; &nbsp; &nbsp; deleteButton = notlarimForm.AddNewProButton(contentPanel, 'deleteButton' + IntToStr(labelCounter), 'Sil');</div><div>&nbsp; &nbsp; &nbsp; deleteButton.Align = alBottom;</div><div>&nbsp; &nbsp; &nbsp; deleteButton.Margins.Left = 0;</div><div>&nbsp; &nbsp; &nbsp; deleteButton.Margins.Right = 5;</div><div>&nbsp; &nbsp; &nbsp; deleteButton.Margins.Top = 5;</div><div>&nbsp; &nbsp; &nbsp; deleteButton.Margins.Bottom = 5;</div><div>&nbsp; &nbsp; &nbsp; deleteButton.Width = 50;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; deleteButton.Height = 25;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; deleteButton.clProSettings.RoundWidth = 10;</div><div>&nbsp; &nbsp; &nbsp; deleteButton.clProSettings.RoundHeight = 10;</div><div>&nbsp; &nbsp; &nbsp; deleteButton.clProSettings.PictureSource = '<a href="https://i.hizliresim.com/1kr3xb2.png" target="_blank" rel="nofollow">https://i.hizliresim.com/1kr3xb2.png</a>';</div><div>&nbsp; &nbsp; &nbsp; deleteButton.SetclProSettings(deleteButton.clProSettings);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; selectedNoteId = noteId;&nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; notlarimForm.AddNewEvent(deleteButton, tbeOnClick, 'DeleteSelectedNote');&nbsp;&nbsp;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; labelCounter = labelCounter + 1;</div><div>&nbsp; &nbsp; &nbsp; Clomosy.DBSQLiteQuery.Next;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Veritabanından notlar alınırken bir hata oluştu: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div><br></div><div>&nbsp; notlarimForm.Run;</div><div>}</div><div><br></div><div>void PlayAudioFile;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; {</div><div>&nbsp; &nbsp; if not Assigned(MediaPlayer1)&nbsp;</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; MediaPlayer1 = TclMediaPlayer.Create(Self);&nbsp;</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; if (audioPath &lt;&gt; '' )</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; try</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; MediaPlayer1.FileName = audioPath;&nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; MediaPlayer1.Play;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; except</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Ses dosyası oynatılamadı. Geçerli bir yol veya URL girin.');</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else&nbsp;</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Ses dosyası yolu boş!');</div><div>&nbsp; &nbsp; }</div><div>&nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Ses dosyası oynatılamadı: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div>&nbsp;]]>
   </description>
   <pubDate>Mon, 09 Sep 2024 18:25:14 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=928&amp;PID=1800#1800</guid>
  </item> 
 </channel>
</rss>