<?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 : Runtime Error</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Genel &#304;&#351;lemler : Runtime Error]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 04 May 2026 10:53:30 +0000</pubDate>
  <lastBuildDate>Thu, 11 Jul 2024 10:02:26 +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=631</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[Runtime Error : Merhaba Ahmet, noteMemo.Lines.Text...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=631&amp;PID=944#944</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=142">BilalCndn</a><br /><strong>Konu:</strong> 631<br /><strong>Gönderim Zamanı:</strong> 11&nbsp;Temmuz&nbsp;2024 Saat 10:02<br /><br />Merhaba Ahmet,<div><br></div><div><table width="99%"><tr><td><pre class="BBcode">&nbsp;<span style=": rgb251, 251, 253;">noteMemo.Lines.Text = Clomosy.FileToBase64(clPathCombine('ClomosyDatabase.db3',Clomosy.AppFilesPath));</span>&nbsp;</pre></td></tr></table></div><div><br></div><div>Bu satırdaki koddan dolayı runtime hatası alıyorsun. Veritabanı dosyasını kullanırken aynı zamanda dosyayı base64 formatına çevirmeye çalıştığın için bu hatayı alıyorsun.</div>]]>
   </description>
   <pubDate>Thu, 11 Jul 2024 10:02:26 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=631&amp;PID=944#944</guid>
  </item> 
  <item>
   <title><![CDATA[Runtime Error : //var MyForm: TclForm; GetImageBaseBtn,...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=631&amp;PID=937#937</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=195">ahmet</a><br /><strong>Konu:</strong> 631<br /><strong>Gönderim Zamanı:</strong> 10&nbsp;Temmuz&nbsp;2024 Saat 17:55<br /><br />//&nbsp;<div><div>var</div><div>&nbsp; MyForm: TclForm;</div><div>&nbsp; GetImageBaseBtn, ImageAddBtn, Controlbtn: TClProButton;</div><div>&nbsp; NoteLabel: TClProLabel;</div><div>&nbsp; noteMemo: TCLMemo;</div><div>&nbsp; CameraImg , SourceImg: TClImage;</div><div>&nbsp; LMemStream: TCLMemoryStream;</div><div>&nbsp; Qry: TClSQLiteQuery;</div><div>database , password : String;</div><div><br></div><div><br></div><div><br></div><div>void InsertToDatabase;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.SQL.Text = 'INSERT INTO Categories (GetImageBase64, Description) VALUES (' + QuotedStr(noteMemo.Text) + ', ' + QuotedStr(noteMemo.Text) + ')';</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div>&nbsp; &nbsp; GetData;</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception class');</div><div>&nbsp; }</div><div>}</div><div>void GetData;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Qry = Clomosy.DBSQLiteQueryWith('SELECT CategoryName as MAIN_TEXT, Description as SUB_TEXT FROM Categories');</div><div>&nbsp; &nbsp; Qry.OpenOrExecute;</div><div>&nbsp; &nbsp; noteMemo.clLoadnoteMemoFromDataset(Qry);</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('Exception class:1');</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void addImageClick;</div><div>{</div><div>&nbsp; Clomosy.ImageChooser(MyForm, CameraImg);</div><div>}</div><div><br></div><div>void getImageBase64;</div><div>{</div><div>&nbsp; CameraImg.Bitmap.SaveToStream(LMemStream);</div><div>&nbsp; noteMemo.Lines.Text = LMemStream.AsBase64;</div><div>}</div><div>void memoBase64ToStreamClick;&nbsp;</div><div>&nbsp;var</div><div>&nbsp;LMemStream:TCLMemoryStream;</div><div>&nbsp;{</div><div>&nbsp; &nbsp;noteMemo.Lines.Text = Clomosy.FileToBase64(clPathCombine('ClomosyDatabase.db3',Clomosy.AppFilesPath));</div><div>&nbsp; &nbsp;LMemStream = Clomosy.Base64ToStream(GetData);</div><div>&nbsp; &nbsp;SourceImg.Bitmap.LoadFromStream(LMemStream);</div><div>&nbsp;}</div><div>&nbsp;</div><div><br></div><div>////&nbsp;</div><div>{</div><div>&nbsp; MyForm = TclForm.Create(nil);</div><div>&nbsp; LMemStream = TCLMemoryStream.Create;</div><div><br></div><div>&nbsp; CameraImg = MyForm.AddNewImage(MyForm, 'CameraImg');</div><div>&nbsp; CameraImg.Align = alTop;</div><div>&nbsp; CameraImg.Height = 80;</div><div>&nbsp; CameraImg.Width = 220;</div><div>&nbsp; CameraImg.Margins.Top = 12;</div><div>&nbsp; CameraImg.Margins.Right = 12;</div><div>&nbsp; CameraImg.Margins.Bottom = 12;</div><div>&nbsp; CameraImg.Margins.Left = 12;</div><div><br></div><div>&nbsp; ImageAddBtn = MyForm.AddNewProButton(MyForm, 'ImageAddBtn', 'Görsel Ekle');</div><div>&nbsp; clComponent.SetupComponent(ImageAddBtn, '{"Align" : "Bottom", "TextSize":16, "TextBold":"yes", "BackgroundColor":"#00b282", "RoundWidth":8, "RoundHeight":8, "TextColor":"#ffffff", "Height":42, "MarginBottom":16}');</div><div>&nbsp; MyForm.AddNewEvent(ImageAddBtn, tbeOnClick, 'addImageClick');</div><div><br></div><div>&nbsp; GetImageBaseBtn = MyForm.AddNewProButton(MyForm, 'GetImageBaseBtn', 'InsertToDatabase');</div><div>&nbsp; clComponent.SetupComponent(GetImageBaseBtn, '{"Align" : "Bottom", "TextSize":16, "TextBold":"yes", "BackgroundColor":"#2465ff", "RoundWidth":8, "RoundHeight":8, "TextColor":"#ffffff", "Height":42, "MarginBottom":16, "MarginTop":16}');</div><div>&nbsp; MyForm.AddNewEvent(GetImageBaseBtn, tbeOnClick, 'getImageBase64');</div><div>&nbsp;&nbsp;</div><div>&nbsp; Controlbtn = MyForm.AddNewProButton(MyForm,'Controlbtn','Controlbtn');</div><div>&nbsp; clComponent.SetupComponent(Controlbtn,'{"Align" : "Bottom", "TextSize":16, "TextBold":"yes", "BackgroundColor":"#00fac8", "RoundWidth":8, "RoundHeight":8, "TextColor":"#ffffff", "Height":42, "MarginBottom":16}');</div><div>&nbsp; MyForm.AddNewEvent(Controlbtn,tbeOnClick, 'memoBase64ToStreamClick');</div><div>&nbsp;&nbsp;</div><div>&nbsp;&nbsp;</div><div>&nbsp; noteMemo = MyForm.AddNewMemo(MyForm, 'noteMemo', 'Bir Not Giriniz');</div><div>&nbsp; noteMemo.StyledSettings = ssFamily;</div><div>&nbsp; noteMemo.TextSettings.WordWrap = True;</div><div>&nbsp; noteMemo.Height = 80;</div><div>&nbsp; noteMemo.Align = alBottom;</div><div>&nbsp; MyForm.AddNewEvent(noteMemo, tbeOnClick, 'InsertToDatabase');</div><div><br></div><div>&nbsp; Clomosy.DBSQLiteConnect(Clomosy.AppFilesPath + 'ClomosyDatabase.db3', '');</div><div><br></div><div><div>database = Clomosy.AppFilesPath + 'ClomosyDatabase.db3'&nbsp; &nbsp; &nbsp;</div><div>&nbsp; password = '';</div><div>&nbsp;&nbsp;</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteConnect(database , password);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.Sql.Text = 'CREATE TABLE Categories(UrunAdi Text, Aciklamasi Text,UrunStok Text,BarkodOkut Text,UrunFiyat Text)';</div><div>&nbsp; &nbsp; Clomosy.DBSQLiteQuery.OpenOrExecute;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; ShowMessage('Veri tabanına tablo ekleme işlemi başarılı!');</div><div>&nbsp;&nbsp;</div><div>&nbsp; except</div><div>&nbsp; &nbsp;ShowMessage('Exception Class: '+LastExceptionClassName+' Exception Message: '+LastExceptionMessage);</div><div>&nbsp; }</div><div>&nbsp;&nbsp;</div></div><div><br></div><div>&nbsp; GetData;</div><div><br></div><div>&nbsp; MyForm.Run;</div><div>}</div></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 10 Jul 2024 17:55:25 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=631&amp;PID=937#937</guid>
  </item> 
  <item>
   <title><![CDATA[Runtime Error : Merhaba Ahmet,kodlar&#305;n&#305; payla&#351;mal&#305;s&#305;n....]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=631&amp;PID=930#930</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=132">Atiker01</a><br /><strong>Konu:</strong> 631<br /><strong>Gönderim Zamanı:</strong> 10&nbsp;Temmuz&nbsp;2024 Saat 17:41<br /><br />Merhaba Ahmet,<div><br></div><div>kodlarını paylaşmalısın.</div>]]>
   </description>
   <pubDate>Wed, 10 Jul 2024 17:41:52 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=631&amp;PID=930#930</guid>
  </item> 
  <item>
   <title><![CDATA[Runtime Error :   ]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=631&amp;PID=924#924</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=195">ahmet</a><br /><strong>Konu:</strong> 631<br /><strong>Gönderim Zamanı:</strong> 10&nbsp;Temmuz&nbsp;2024 Saat 17:36<br /><br /><img src="uploads/195/Ekran_görüntüsü_2024-07-10_173122.png" height="402" width="543" border="0" />]]>
   </description>
   <pubDate>Wed, 10 Jul 2024 17:36:56 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=631&amp;PID=924#924</guid>
  </item> 
 </channel>
</rss>