<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by stfu</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Mon, 15 Jun 2026 22:15:13 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>[WTB] Faulty Samsung Note 3</title>
            <link>http://forum.lowyat.net/topic/4757762</link>
            <description>&lt;b&gt;Item(s):&lt;/b&gt; Samsung Note 3&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Price:&lt;/b&gt;  Offer me&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warranty:&lt;/b&gt; N/A&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Dealing method:&lt;/b&gt; COD only&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Location:&lt;/b&gt; Bandar Seri Putra (Kajang) or Jalan Kilang (PJ)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Contact method/details:&lt;/b&gt; PM&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Item(s) conditions:&lt;/b&gt; Faulty phone, but LCD must be working (need the LCD as spare part)</description>
            <author>stfu</author>
            <category>Mobile Phones Garage Sales</category>
            <pubDate>Wed, 27 Mar 2019 10:59:54 +0800</pubDate>
        </item>
        <item>
            <title>Visual Basic 2012 Layout &amp;amp; Navigation</title>
            <link>http://forum.lowyat.net/topic/4326424</link>
            <description>Hi all,&lt;br /&gt;&lt;br /&gt;I am in the process of creating a POC desktop system using VB 2012. Honestly I am quite a beginner with .NET technology, so there&amp;#39;s a lot to catch up here. I would like to have suggestion from fellow coders on how to design the layout of a common VB 2012 program and the controls needed to develop it.&lt;br /&gt;&lt;br /&gt;Since the system is intended for normal (basic computer knowledge) users, I would like to avoid doing system navigation &amp;amp; layout using normal drop-down menu (those File &amp;gt; New/Open/Save/Save As thingy). Instead, I prefer to develop something that is GUI-friendly (big buttons with image for navigation etc).&lt;br /&gt;&lt;br /&gt;At the moment, I&amp;#39;m experimenting with MenuStrip to dynamically load the menu from database. If you guys have any easier/more feasible way, do share with me.&lt;br /&gt;&lt;br /&gt;TIA.</description>
            <author>stfu</author>
            <category>Codemasters</category>
            <pubDate>Wed, 14 Jun 2017 10:58:09 +0800</pubDate>
        </item>
        <item>
            <title>Question with Regards to Offer to Purchase</title>
            <link>http://forum.lowyat.net/topic/3723476</link>
            <description>Hello all,&lt;br /&gt;&lt;br /&gt;I would like to seek opinions from fellow friends here (and would be best if you can provide your professional ones).&lt;br /&gt;&lt;br /&gt;I engaged an agent for the purpose of buying a property. I have signed the Letter of Offer to Purchase for a property on 29 June 2015, and the seller signed the same agreement on 30 June 2015. Both signing process was witness by the same person (the agent). Booking fee of 3% was paid on 29 June 2015. Below are the clauses in the agreement.&lt;br /&gt;&lt;br /&gt;1. 10% of the total price should be paid upon signing of S&amp;amp;P&lt;br /&gt;2. Balance 90% to be paid within 90 days from the date of signing of S&amp;amp;P&lt;br /&gt;3. S&amp;amp;P must be signed within 21 days from the date of acceptance of seller. In default of signing the S&amp;amp;P:&lt;br /&gt;a) by buyer (provided there is no delay from the vendor/vendor&amp;#39;s solicitor), deposit will be forfeited&lt;br /&gt;b) by seller, deposit will be refunded (and will have performance cost shared between agent &amp;amp; buyer)&lt;br /&gt;4. Stamp duty clauses&lt;br /&gt;5. Handling over property clauses&lt;br /&gt;6. GST clauses&lt;br /&gt;7. Offer of Purchase is subject to acceptance of seller. If not agreed, deposit shall be fully refunded without any additional cost&lt;br /&gt;8. The offer letter is a binding contract until S&amp;amp;P is signed&lt;br /&gt;9. Deposit receipt clauses&lt;br /&gt;10. If loan is not approved or approved less than 90%, deposit shall be fully refunded&lt;br /&gt;&lt;br /&gt;For the info, I did not manage to secure any loan until the date of 31 Aug 2015 (21 working days after signed acceptance of buyer). The agent and seller agreed to wait for me to secure another loan (no written agreement for this). I managed to secure a loan last Monday but have yet to sign (or even see) the loan agreement. The loan approval was conveyed by phone call &amp;amp; WhatsApp message only.&lt;br /&gt;&lt;br /&gt;My question is, if I would like to cancel the purchase now (25 Sept 2015) on the ground that I am no longer interested with this property, do the seller and agent have the rights to forfeit my deposit?&lt;br /&gt;&lt;br /&gt;Thank you in advance for the input.&lt;br /&gt;&lt;br /&gt;----------------&lt;br /&gt;Added info:&lt;br /&gt;- I do keep all WhatsApp conversation and e-mail for my reference</description>
            <author>stfu</author>
            <category>Property Q&amp;amp;A</category>
            <pubDate>Fri, 25 Sep 2015 11:34:52 +0800</pubDate>
        </item>
        <item>
            <title>Framework for Data Entry</title>
            <link>http://forum.lowyat.net/topic/3699119</link>
            <description>Hi all,&lt;br /&gt;&lt;br /&gt;I need opinion on which framework (PHP/Java) that is suitable for creating data entry form. What I&amp;#39;m trying to achieve is to convert manual paper form into electronic format (imagine the form used for job application/register in JPN/etc). In addition to that, user should be able to upload supporting documents as well (PDF/DOC, less than 10MB in size). Once this is complete, I would then need to host this with any webhosting company, so need to take into consideration of whether the company supports the framework/language used or not. Also, since this is just only a few forms (less than 10), I don&amp;#39;t think so it is feasible for me to go full-fledged on a very complicated framework. The framework suggested should be able to do minor modification on the UI (put logo, change font, etc).&lt;br /&gt;&lt;br /&gt;I have tried to search in Google, but none seems to be helping enough. So far I have narrowed down the search to Laravel (PHP), ATK (PHP) and also ZK (Java). All comes with their pros and cons, but none really gives me the nudge yet. I would like to know opinion from fellow coders as you guys have your first hand experience in doing the actual development.&lt;br /&gt;&lt;br /&gt;Thanks in advance.</description>
            <author>stfu</author>
            <category>Codemasters</category>
            <pubDate>Thu, 03 Sep 2015 17:07:53 +0800</pubDate>
        </item>
        <item>
            <title>[WTB] Seagate Backup Plus Portable Hard Drive</title>
            <link>http://forum.lowyat.net/topic/3388194</link>
            <description>&lt;b&gt;Item(s):&lt;/b&gt; Functioning Seagate Backup Plus Portable Hard Drive&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Package includes:&lt;/b&gt; Hard Drive&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Price:&lt;/b&gt; Offer me&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warranty:&lt;/b&gt; Offer me&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Dealing method:&lt;/b&gt; Strictly COD&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Location of seller:&lt;/b&gt; Cyberjaya (Office Hour), Jalan Ipoh/Batu Caves (After Office Hour)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Contact method/details:&lt;/b&gt; PM/Reply here&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Age of item:&lt;/b&gt; As long as it is working fine&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Item(s) conditions:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Picture:&lt;/b&gt; &lt;img src='http://oscarmagno.hr/media/catalog/product/cache/4/image/265x/9df78eab33525d08d6e5fb8d27136e95/3/_/3_5.JPG' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reason for sale:&lt;/b&gt; Kindly refer to the picture above (&lt;a href='http://oscarmagno.hr/media/catalog/product/cache/4/image/265x/9df78eab33525d08d6e5fb8d27136e95/3/_/3_5.JPG' target='_blank'&gt;Link to Image&lt;/a&gt;) . I have the same kind of hard drive but my power connector (the thing on the right side of the picture) is believed to have been spoilt. I want to buy the exact hard drive model as in the picture (size from 500MB above) or if you are able to sell to me the power connector alone, that is even better.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update:&lt;/b&gt; The hard drive itself is damaged, not the connector.</description>
            <author>stfu</author>
            <category>Garage Sales Archive</category>
            <pubDate>Fri, 24 Oct 2014 12:23:33 +0800</pubDate>
        </item>
        <item>
            <title>Eclipselink Join Query</title>
            <link>http://forum.lowyat.net/topic/2812636</link>
            <description>Hi all,&lt;br /&gt;&lt;br /&gt;I wanted to do a JOIN query between 2 tables using Eclipselink. I managed to do it if I use createNativeQuery method, but I need assistance on how to do this using JPQL. There are some tutorials on the web that I&amp;#39;ve looked through, but for each example given does not work. What I want to achieve is to list district names and their respective state name. Need help from fellow Java sifus here for some hint/help. Thanks in advance.&lt;br /&gt;&lt;br /&gt;DB Structure&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;ref_state&lt;br /&gt;----------&lt;br /&gt;ID_STATE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INT&lt;br /&gt;STATE_CODE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;VARCHAR&lt;br /&gt;STATE_NAME &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;VARCHAR&lt;br /&gt;STATUS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INT&lt;br /&gt;&lt;br /&gt;ref_district&lt;br /&gt;------------&lt;br /&gt;ID_DISTRICT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; INT&lt;br /&gt;ID_STATE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INT&lt;br /&gt;DISTRICT_CODE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; VARCHAR&lt;br /&gt;DISTRICT_NAME &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; VARCHAR&lt;br /&gt;STATUS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INT&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;persistence.xml&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;&amp;#60;?xml version=&amp;#34;1.0&amp;#34; encoding=&amp;#34;UTF-8&amp;#34; ?&amp;#62;&lt;br /&gt;&amp;#60;persistence xmlns&amp;#58;xsi=&amp;#34;http&amp;#58;//www.w3.org/2001/XMLSchema-instance&amp;#34;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xsi&amp;#58;schemaLocation=&amp;#34;http&amp;#58;//java.sun.com/xml/ns/persistence http&amp;#58;//java.sun.com/xml/ns/persistence/persistence_2_0.xsd&amp;#34;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;version=&amp;#34;2.0&amp;#34; xmlns=&amp;#34;http&amp;#58;//java.sun.com/xml/ns/persistence&amp;#34;&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;persistence-unit name=&amp;#34;todos&amp;#34; transaction-type=&amp;#34;RESOURCE_LOCAL&amp;#34;&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;class&amp;#62;com.test.entity.State&amp;#60;/class&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;class&amp;#62;com.test.entity.District&amp;#60;/class&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;properties&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;property name=&amp;#34;javax.persistence.jdbc.driver&amp;#34; value=&amp;#34;com.mysql.jdbc.Driver&amp;#34; /&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;property name=&amp;#34;javax.persistence.jdbc.url&amp;#34; value=&amp;#34;jdbc&amp;#58;mysql&amp;#58;//localhost&amp;#58;3306/testdb&amp;#34; /&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;property name=&amp;#34;javax.persistence.jdbc.user&amp;#34; value=&amp;#34;root&amp;#34; /&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;property name=&amp;#34;javax.persistence.jdbc.password&amp;#34; value=&amp;#34;qwerty&amp;#34; /&amp;#62;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[bad html removed] EclipseLink should create the database schema automatically --&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[bad html removed] &amp;#60;property name=&amp;#34;eclipselink.ddl-generation&amp;#34; value=&amp;#34;create-tables&amp;#34; /&amp;#62; --&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;property name=&amp;#34;eclipselink.ddl-generation.output-mode&amp;#34; value=&amp;#34;database&amp;#34; /&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;/properties&amp;#62;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;#60;/persistence-unit&amp;#62;&lt;br /&gt;&amp;#60;/persistence&amp;#62;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;Entity - State&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;package com.test.entity;&lt;br /&gt;&lt;br /&gt;import javax.persistence.Column;&lt;br /&gt;import javax.persistence.Entity;&lt;br /&gt;import javax.persistence.GeneratedValue;&lt;br /&gt;import javax.persistence.GenerationType;&lt;br /&gt;import javax.persistence.Id;&lt;br /&gt;import javax.persistence.Table;&lt;br /&gt;&lt;br /&gt;@Entity&lt;br /&gt;@Table&amp;#40;name=&amp;#34;ref_state&amp;#34;&amp;#41;&lt;br /&gt;public class State {&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@Id&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@GeneratedValue&amp;#40;strategy=GenerationType.IDENTITY&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@Column&amp;#40;name=&amp;#34;ID_STATE&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private int stateId;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@Column&amp;#40;name=&amp;#34;STATE_CODE&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private String stateCode;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@Column&amp;#40;name=&amp;#34;STATE_NAME&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private String stateName;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@Column&amp;#40;name=&amp;#34;STATUS&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private int stateStatus;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- getter/setter after this --&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;Entity - District&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;package com.test.entity;&lt;br /&gt;&lt;br /&gt;import javax.persistence.Column;&lt;br /&gt;import javax.persistence.Entity;&lt;br /&gt;import javax.persistence.GeneratedValue;&lt;br /&gt;import javax.persistence.GenerationType;&lt;br /&gt;import javax.persistence.Id;&lt;br /&gt;import javax.persistence.Table;&lt;br /&gt;&lt;br /&gt;@Entity&lt;br /&gt;@Table&amp;#40;name=&amp;#34;ref_district&amp;#34;&amp;#41;&lt;br /&gt;public class District {&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@Id&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@GeneratedValue&amp;#40;strategy=GenerationType.IDENTITY&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@Column&amp;#40;name=&amp;#34;ID_DISTRICT&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private int districtId;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@Column&amp;#40;name=&amp;#34;ID_STATE&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private int stateId;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@Column&amp;#40;name=&amp;#34;DISTRICT_CODE&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private String districtCode;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@Column&amp;#40;name=&amp;#34;DISTRICT_NAME&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private String districtName;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@Column&amp;#40;name=&amp;#34;STATUS&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private int districtStatus;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- getter/setter after this --&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;App&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;package com.test.app;&lt;br /&gt;&lt;br /&gt;import java.util.List;&lt;br /&gt;&lt;br /&gt;import javax.persistence.EntityManager;&lt;br /&gt;import javax.persistence.EntityManagerFactory;&lt;br /&gt;import javax.persistence.Persistence;&lt;br /&gt;import javax.persistence.Query;&lt;br /&gt;&lt;br /&gt;import com.test.entity.District;&lt;br /&gt;import com.test.entity.State;&lt;br /&gt;import com.test.model.DistrictService;&lt;br /&gt;import com.test.model.PersonServiceFactory;&lt;br /&gt;&lt;br /&gt;public class OpenJPARelationTest {&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;private static EntityManagerFactory factory;&lt;br /&gt;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@SuppressWarnings&amp;#40;&amp;#34;unchecked&amp;#34;&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public static void main&amp;#40;String&amp;#91;&amp;#93; args&amp;#41; {&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println&amp;#40;&amp;#34;*********&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;factory = Persistence.createEntityManagerFactory&amp;#40;&amp;#34;todos&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EntityManager em = factory.createEntityManager&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Query q = null;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String query = &amp;#34;select d from District d where d.stateId = 10&amp;#34;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;q = em.createQuery&amp;#40;query&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;List&amp;#60;District&amp;#62; todoList = q.getResultList&amp;#40;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for &amp;#40;District todo &amp;#58; todoList&amp;#41; {&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println&amp;#40;todo.getDistrictName&amp;#40;&amp;#41;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println&amp;#40;&amp;#34;Size&amp;#58; &amp;#34; + todoList.size&amp;#40;&amp;#41;&amp;#41;; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println&amp;#40;&amp;#34;*********&amp;#34;&amp;#41;;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;Output of current code&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;*********&lt;br /&gt;&amp;#91;EL Info&amp;#93;&amp;#58; 2013-05-15 09&amp;#58;33&amp;#58;23.415--ServerSession&amp;#40;1112466&amp;#41;--EclipseLink, version&amp;#58; Eclipse Persistence Services - 2.4.1.v20121003-ad44345&lt;br /&gt;&amp;#91;EL Info&amp;#93;&amp;#58; connection&amp;#58; 2013-05-15 09&amp;#58;33&amp;#58;23.646--ServerSession&amp;#40;1112466&amp;#41;--file&amp;#58;/C&amp;#58;/stfu/Workspace/openjpa-test/bin/_todos login successful&lt;br /&gt;SHAH ALAM&lt;br /&gt;PETALING JAYA&lt;br /&gt;SABAK BERNAM&lt;br /&gt;AMPANG&lt;br /&gt;HULU SELANGOR&lt;br /&gt;KELANG&lt;br /&gt;SEPANG&lt;br /&gt;KAJANG&lt;br /&gt;KUALA LANGAT&lt;br /&gt;KUALA SELANGOR&lt;br /&gt;SELAYANG&lt;br /&gt;HULU LANGAT&lt;br /&gt;GOMBAK&lt;br /&gt;Size&amp;#58; 13&lt;br /&gt;*********&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;</description>
            <author>stfu</author>
            <category>Codemasters</category>
            <pubDate>Wed, 15 May 2013 09:51:59 +0800</pubDate>
        </item>
        <item>
            <title>[STOLEN CAR] Grey Nissan Skyline R-35</title>
            <link>http://forum.lowyat.net/topic/2248867</link>
            <description>Location: Around Wangsa Maju Section 5 (office area near Wangsa Walk)&lt;br /&gt;&lt;br /&gt;Time: Yesterday evening (1 March 2012)&lt;br /&gt;&lt;br /&gt;Kindly notify or alert the police if you happen to find a grey-colored Nissan Skyline R-35 (reg no WQU 19). It is my boss&amp;#39;s car and had just been robbed. Would like to request for mods to pin this. Thank you.</description>
            <author>stfu</author>
            <category>The Museum Of Kopitiam</category>
            <pubDate>Fri, 02 Mar 2012 07:51:29 +0800</pubDate>
        </item>
        <item>
            <title>[STOLEN CAR] Grey Nissan Skyline R-35</title>
            <link>http://forum.lowyat.net/topic/2248287</link>
            <description>Location: Around Wangsa Maju Section 5 (near Wangsa Walk)&lt;br /&gt;&lt;br /&gt;Time: Just now (1 March 2012)&lt;br /&gt;&lt;br /&gt;Kindly notify or alert the police if you happen to find a grey-colored Nissan Skyline R-35 (reg no WQU 19). It is my boss&amp;#39;s car and had just been robbed. Thank you.&lt;br /&gt;&lt;br /&gt;Closed. Please refer to &lt;a href='http://forum.lowyat.net/index.php?showtopic=2248867' target='_blank'&gt;here.&lt;/a&gt;</description>
            <author>stfu</author>
            <category>Serious Kopitiam</category>
            <pubDate>Thu, 01 Mar 2012 19:07:16 +0800</pubDate>
        </item>
        <item>
            <title>CADD Training Centre (M) Sdn Bhd</title>
            <link>http://forum.lowyat.net/topic/1333606</link>
            <description>Hi all,&lt;br /&gt;&lt;br /&gt;I received interview request from CADD Training Centre (M) Sdn Bhd for the position of IT Trainee. However a quick check with Google reveals that the company is also known as City Labs. This is a bit alarming as they use different name in Jobstreet and in real company website, as this is one of the tactics used by companies that say they provide training but end up asking candidates to do sales. Would like to know if any of you guys have or currently working with this company or have undergone such training with this company before. If yes, how is the environment looks like and whether I should proceed with the interview. Thanks in advance.&lt;br /&gt;&lt;br /&gt;Update: I didn&amp;#39;t go to the training &lt;!--emo&amp;:)--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>stfu</author>
            <category>Jobs &amp;amp; Careers</category>
            <pubDate>Mon, 22 Feb 2010 14:38:35 +0800</pubDate>
        </item>
        <item>
            <title>MySQL Convert Returns Empty Recordset</title>
            <link>http://forum.lowyat.net/topic/742135</link>
            <description>&lt;b&gt;Table struct:&lt;/b&gt;&lt;br /&gt;- id INT PRIMARY KEY, name VARCHAR(50), win VARCHAR(50), draw VARCHAR(50), lose VARCHAR(50)&lt;br /&gt;- column win, draw and lose will always have numeric values. I just don&amp;#39;t get why the db creator put VARCHAR(50) there and I don&amp;#39;t have the authorization to change it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SQL:&lt;/b&gt;&lt;br /&gt;SELECT `name`, CONVERT(win, UNSIGNED) FROM table&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Problem:&lt;/b&gt;&lt;br /&gt;This SQL is run from ASP script and it works fine in localhost environment. However, once transferred to the web server the recordset will return empty data, meaning nothing will be returned at all. There is also no error produced, which giving queue that the SQL passes the recordset. Recordset status is open and not EOF for localhost, but status is open and EOF in web server. Both localhost and web server databases running MySQL 4.0.13. On localhost server is running on MyISAM, I think the same goes to web server (I can and will check if that is necessary). Is there any setting that causes this to happen?</description>
            <author>stfu</author>
            <category>Codemasters</category>
            <pubDate>Mon, 14 Jul 2008 16:37:24 +0800</pubDate>
        </item>
        <item>
            <title>Reset Windows Password Through Network</title>
            <link>http://forum.lowyat.net/topic/627305</link>
            <description>One of my client&amp;#39;s servers  (let&amp;#39;s call it server A) had its passwd changed last night by a staff. Sadly the staff is kinda not very tech-savvy, he didn&amp;#39;t even know he had accidentally changed the passwd (and he forgot the passwd). I&amp;#39;m at home right now and if possible, I don&amp;#39;t want to go down just to reset the passwd. Had been finding ways to reset the passwd through LAN, because I still can access other servers (me at home &amp;gt; LogMeIn &amp;gt; server B &amp;gt; server A).&lt;br /&gt;&lt;br /&gt;Tried to dump the SAM file with pwdump3 and read its content with JTR or rainbow table crack, but since I don&amp;#39;t have the admin passwd I can&amp;#39;t dump the SAM file. Worst is, there&amp;#39;s only 1 admin account (administrator) and that is the account that the passwd is changed. That leaves pwdump3 and pspasswd out of question, since both tools need admin access to change passwd/generate SAM dump. Can&amp;#39;t get SAM dump, so JTR, lophtcrack and rainbow table are also useless.&lt;br /&gt;&lt;br /&gt;So would like to ask if anyone has any idea so that I don&amp;#39;t have to go down at client&amp;#39;s site tonight. Basically what I&amp;#39;m trying to achieve is I want to reset the passwd through network. I have LogMeIn access to the other servers, from there I can access server A. If there is still no solution until 9pm, I&amp;#39;ll be going down just to reset it. TIA.&lt;br /&gt;&lt;br /&gt;Btw, I&amp;#39;m not breaking in the server or something. I know all those &amp;#39;pop in Knoppix cd&amp;#39; and stuffs, but those are useful if I&amp;#39;m physically at the server. I&amp;#39;m just lazy to go down there.</description>
            <author>stfu</author>
            <category>Technical Support</category>
            <pubDate>Wed, 06 Feb 2008 19:47:37 +0800</pubDate>
        </item>
        <item>
            <title>Person&amp;#39;s Digital Signature</title>
            <link>http://forum.lowyat.net/topic/480164</link>
            <description>Hi,&lt;br /&gt;&lt;br /&gt;My company is doing system for a client which allows customers to sign on a tablet and that signature will be padded to a digital form. Based on the tablet&amp;#39;s API, the signature file is exportable but it is not reversible, meaning one cannot simply take the exported file and add the signature to another form for mischievous use. Furthermore, the signature is fixed with date and time of signing, which make the process of counterfeiting difficult. I would not say impossible, because I believe sooner or later someone will find a way to decrypt the file, but that&amp;#39;s out of question as of now.&lt;br /&gt;&lt;br /&gt;Now, the client is a bit concerned about whether the digital signature is applicable to be used in court cases should anything happens. In simple terms, will the digital form with the signature a valid proof or evidence should it be taken to court? I&amp;#39;ve been googling about digital signature act, but what I found is the digital certificate act which talks about public cert and private cert. However, I found this one clause that might be applicable to my scenario here.&lt;br /&gt;&lt;br /&gt;&lt;!--QuoteBegin--&gt;&lt;div class='quotetop'&gt;QUOTE&lt;/div&gt;&lt;div class='quotemain'&gt;&lt;!--QuoteEBegin--&gt;&amp;quot;Digital Signature&amp;quot; is defined by the Act as a transformation of a message using an asymmetric cryptosystem such that a person having the initial message and the signer&amp;#39;s public key can accurately determine whether the transformation was created using the private key that corresponds to the signer&amp;#39;s public key and whether the message has been altered since the transformation was made.&lt;br /&gt;&lt;br /&gt;taken from &lt;a href='http://www.lawyerment.com.my/intellectual/computer2.shtml' target='_blank'&gt;http://www.lawyerment.com.my/intellectual/computer2.shtml&lt;/a&gt;&lt;!--QuoteEnd--&gt;&lt;/div&gt;&lt;!--QuoteEEnd--&gt;&lt;br /&gt;&lt;br /&gt;Any of you guys ever happen to be in this situation before? The client is really concern in this matter and if my company can&amp;#39;t prove that digital signature can be used in court, they are forced to print the form and have the customers to manually signed it. But by doing that, it&amp;#39;ll beat the purpose of having a digital form altogether. Advice/Opinion is much appreciated.&lt;br /&gt;&lt;br /&gt;Thanks in advance &lt;!--emo&amp;:)--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>stfu</author>
            <category>Codemasters</category>
            <pubDate>Thu, 28 Jun 2007 18:44:26 +0800</pubDate>
        </item>
        <item>
            <title>VB6 MSCOMM and Hyperterminal</title>
            <link>http://forum.lowyat.net/topic/460846</link>
            <description>I have 2 COM ports connected together through RS232 serial-to-RJ45 cable. The converters and cable are tested using hyperterminal and are working perfectly. I set up 2 hyperterminals with the same baud rate etc and send one character from one port to the other, and it receives nicely. Then I send a 24-character string, also the other one receives corrently.&lt;br /&gt;&lt;br /&gt;Then, I setup a test code using VB6 to capture data received from COM2 and to send through COM1. Both sending and listening COM use 9600,n,8,1 setting. When I use VB6 COM1 to send, hyperterminal on COM2 will pick up the string nicely. Problem is, when I set VB6 to listen to COM2, the string received is truncated into three 8-character strings. See example below for more understanding.&lt;br /&gt;&lt;br /&gt;Hyperterminal listening:&lt;br /&gt;VB6 sends AAAAAAAAAAAAAAAAAAAAAAAA&lt;br /&gt;Hyperterminal receives AAAAAAAAAAAAAAAAAAAAAAAA&lt;br /&gt;&lt;br /&gt;VB6 listening:&lt;br /&gt;VB6 sends AAAAAAAAAAAAAAAAAAAAAAAA&lt;br /&gt;VB6 receives&lt;br /&gt;AAAAAAAA&lt;br /&gt;AAAAAAAA&lt;br /&gt;AAAAAAAA&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Any reason for this weird behaviour? Explanation/Pointer for any explanation is fine. My code is as follows. TIA.&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;Select Case commReceive.CommEvent&lt;br /&gt; &amp;nbsp;Case comEvReceive&amp;#58;&lt;br /&gt; &amp;nbsp; &amp;nbsp;sRecv = commReceive.Input&lt;br /&gt; &amp;nbsp; &amp;nbsp;txtRecv.Text = txtRcv.Text &amp;amp; sRecv &amp;amp; vbCrLf&lt;br /&gt;End Select&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;</description>
            <author>stfu</author>
            <category>Codemasters</category>
            <pubDate>Tue, 22 May 2007 14:21:20 +0800</pubDate>
        </item>
        <item>
            <title># Sign in VB6</title>
            <link>http://forum.lowyat.net/topic/439409</link>
            <description>&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;#If SomeConditionHere Then&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;I want to know the purpose of the # sign in this code (VB6). I guess it does something with debug purpose or what, but I&amp;#39;m not sure. And I can&amp;#39;t do searching with # sign in Google (or I don&amp;#39;t know how, maybe), so I didn&amp;#39;t get any helpful result either from Google. Can someone give the pointer to this. Thanks in advance.</description>
            <author>stfu</author>
            <category>Codemasters</category>
            <pubDate>Mon, 09 Apr 2007 16:15:30 +0800</pubDate>
        </item>
        <item>
            <title>SQLDMO Backup Using VB6.0</title>
            <link>http://forum.lowyat.net/topic/334818</link>
            <description>Hi all..&lt;br /&gt;&lt;br /&gt;I&amp;#39;m doing this code to backup SQL Server database. The only thing I don&amp;#39;t understand is the code fails if I define SQLDMO events to it, but works perfectly if I comment the event declaration. I&amp;#39;m not quite sure which part goes wrong and Google doesn&amp;#39;t return workable/useful results either. I can live without the events, just that it&amp;#39;s a lot nicer to be able to give the user some indication that the backup process is currently running. The error message returned is &lt;b&gt;-2147221499 - [SQL-DMO]Code execution exception:  EXCEPTION_ACCESS_VIOLATION&lt;/b&gt;. Thanks in advance.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Environment&lt;/b&gt;&lt;br /&gt;OS - Win2k Server with SP3&lt;br /&gt;DBMS - SQL Server 2000 Enterprise with SP4&lt;br /&gt;Language - VB6.0 without SP&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;Option Explicit&lt;br /&gt;Private oSQLServer As SQLDMO.SQLServer2, strMsgBox As String, strCmd As String&lt;br /&gt;Private oBackup As SQLDMO.Backup2, oRestore As SQLDMO.Restore2&lt;br /&gt;Dim WithEvents oBackupEvent As SQLDMO.Backup2&lt;br /&gt;Dim WithEvents oRestoreEvent As SQLDMO.Restore2&lt;br /&gt;Dim oFso As New Scripting.FileSystemObject&lt;br /&gt;&lt;br /&gt;Private Sub BackupDatabase&amp;#40;&amp;#41;&lt;br /&gt;On Error GoTo ErrHandler&lt;br /&gt; &amp;nbsp; &amp;nbsp;If oBackup Is Nothing Then Set oBackup = New SQLDMO.Backup2&lt;br /&gt; &amp;nbsp; &amp;nbsp;If oBackupEvent Is Nothing Then Set oBackupEvent = oBackup &amp;#60;-- if I comment this line, code works fine&lt;br /&gt; &amp;nbsp; &amp;nbsp;Me.MousePointer = vbHourglass&lt;br /&gt; &amp;nbsp; &amp;nbsp;If Connect_SQLDB&amp;#40;DBServer, DBUser, DBPass&amp;#41; Then&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If oFso.FileExists&amp;#40;DBFile&amp;#41; Then oFso.DeleteFile &amp;#40;DBFile&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Label1&amp;#40;6&amp;#41;.Caption = &amp;#34;0%&amp;#34;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Label1&amp;#40;6&amp;#41;.Refresh&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;With oBackup&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.Database = DBName&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.Files = IIf&amp;#40;InStr&amp;#40;1, DBFile, &amp;#34; &amp;#34;&amp;#41; &amp;#62; 0, &amp;#34;&amp;#91;&amp;#34; &amp;amp; DBFile &amp;amp; &amp;#34;&amp;#93;&amp;#34;, DBFile&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.SQLBackup oSQLServer&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End With&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Call oSQLServer.Disconnect&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me.MousePointer = vbDefault&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Debug.Print &amp;#34;Database backup process has been completed.&amp;#34;&lt;br /&gt; &amp;nbsp; &amp;nbsp;Else&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Me.MousePointer = vbDefault&lt;br /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Debug.Print &amp;#34;Database connection cannot be made. Please check your network settings.&amp;#34;&lt;br /&gt; &amp;nbsp; &amp;nbsp;End If&lt;br /&gt; &amp;nbsp; &amp;nbsp;Set oBackup = Nothing&lt;br /&gt; &amp;nbsp; &amp;nbsp;Set oBackupEvent = Nothing&lt;br /&gt; &amp;nbsp; &amp;nbsp;Exit Sub&lt;br /&gt;&lt;br /&gt;ErrHandler&amp;#58;&lt;br /&gt; &amp;nbsp; &amp;nbsp;Me.MousePointer = vbDefault&lt;br /&gt; &amp;nbsp; &amp;nbsp;Debug.Print Err.Number &amp;amp; &amp;#34; - &amp;#34; &amp;amp; Err.Description&lt;br /&gt; &amp;nbsp; &amp;nbsp;Call oSQLServer.Disconnect&lt;br /&gt; &amp;nbsp; &amp;nbsp;Set oBackup = Nothing&lt;br /&gt; &amp;nbsp; &amp;nbsp;Set oBackupEvent = Nothing&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub oBackupEvent_PercentComplete&amp;#40;ByVal Message As String, ByVal Percent As Long&amp;#41;&lt;br /&gt; &amp;nbsp; &amp;nbsp;pBarBackup.Value = Percent&lt;br /&gt; &amp;nbsp; &amp;nbsp;pBarBackup.Refresh&lt;br /&gt; &amp;nbsp; &amp;nbsp;Label1&amp;#40;6&amp;#41;.Caption = Percent &amp;amp; &amp;#34;%&amp;#34;&lt;br /&gt; &amp;nbsp; &amp;nbsp;Label1&amp;#40;6&amp;#41;.Refresh&lt;br /&gt;End Sub&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;</description>
            <author>stfu</author>
            <category>Codemasters</category>
            <pubDate>Fri, 01 Sep 2006 16:59:39 +0800</pubDate>
        </item>
    </channel>
</rss>
