<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by efarhan</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Fri, 05 Jun 2026 02:05:05 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>(WTS) NEXUS 7 1st gen 32GB cellular(used)</title>
            <link>http://forum.lowyat.net/topic/3263751</link>
            <description>&lt;b&gt;Item(s):Nexus 7 32GB + SimCard&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Package includes:Box + Charger&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Price:RM 650 (negotiable)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warranty:1 Week&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Dealing method:COD&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Location of seller:Seremban/KL&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Contact method/details:Edy 017-6628540&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Age of item:1 Year plus..&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Item(s) conditions:Extremely good condition, rarely used. Behind protected with nillkin case since bought..and front has screen protector&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Picture:will upload later..upon request also...  &lt;!--emo&amp;:lol:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/laugh.gif' border='0' style='vertical-align:middle' alt='laugh.gif' /&gt;&lt;!--endemo--&gt; &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reason for sale:Want to buy Ipad.&lt;/b&gt;</description>
            <author>efarhan</author>
            <category>Garage Sales Archive</category>
            <pubDate>Thu, 19 Jun 2014 19:18:57 +0800</pubDate>
        </item>
        <item>
            <title>ALIENWARE 14</title>
            <link>http://forum.lowyat.net/topic/2980625</link>
            <description>&lt;b&gt;Item(s):ALIENWARE 14&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Package includes:BACKPACK&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Price:ORIGINAL RETAIL PRICE : RM 4999 IM SELLING RM 4.5k (non-nego as its brand new)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Warranty:1 YEAR FROM DELL&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Dealing method:COD&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Location of seller:SEREMBAN/KL&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Contact method/details: Handphone : 017-6628540&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Age of item:Not even a day on the date of posting, just got it&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Item(s) conditions:BRAND NEW&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Picture:HAD TO OPEN THE BOX TO BE SURE OF THE MODEL ALL. You can check on dell website. Its the RM 4999 spec. Deployed : August 15,2013. (guess my best buddy has been keeping it for me till now&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Reason for sale:GOT AS A GIFT, NEED CASH INSTEAD, ALREADY HAVE A DESKTOP GAMING RIG&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;P/S : Re-edited. Its the RM 4999 model. Sorry guys.</description>
            <author>efarhan</author>
            <category>Garage Sales Archive</category>
            <pubDate>Wed, 02 Oct 2013 21:41:34 +0800</pubDate>
        </item>
        <item>
            <title>[WTA] Cannot access DaLnet</title>
            <link>http://forum.lowyat.net/topic/0</link>
            <description></description>
            <category>Technical Support</category>
            <pubDate>Thu, 01 Jan 1970 07:30:00 +0800</pubDate>
        </item>
        <item>
            <title>DHCP not giving address</title>
            <link>http://forum.lowyat.net/topic/2553460</link>
            <description>Hi All,&lt;br /&gt;&lt;br /&gt;I have an issue with my organizations wireless connection. Recently, I have changed all the switches and firewalls. Then the problem starts where some of my colleagues laptop when is connected to a wifi connection, they will be able to connect to it, but there&amp;#39;s no IP address given to them. Im using a sonicwall nsa220 and edge-core switches. The DHCP is given out from the sonicwall itself. However, this only happens to certain laptop users at random times but it happens occasionally. The only way temporary solution is I restart the Access Point. Then it is ok. But somehow later on it comes back. I cant be restarting the AP all the time right when that happens ? Previously it is not happening like that. &lt;br /&gt;&lt;br /&gt;Anyone have encountered this before ? I tried even removing the problematic laptops &amp;#39;original wireless profile&amp;#39; just to make sure but the wifi problem persists even after re-connecting back. No address was given. Just the 169.254.-.- .... &lt;br /&gt;&lt;br /&gt;Any ideas would be very much appreciated guys. Im going blank already.</description>
            <author>efarhan</author>
            <category>Technical Support</category>
            <pubDate>Thu, 18 Oct 2012 19:06:06 +0800</pubDate>
        </item>
        <item>
            <title>[WTA] Cannot access DaLnet</title>
            <link>http://forum.lowyat.net/topic/2552884</link>
            <description>Hi All,&lt;br /&gt;&lt;br /&gt;Im not sure if this is the correct section, correct me if im wrong. &lt;br /&gt;&lt;br /&gt;I just want to ask whether do any of you have any issues connecting to DaLnet ? I cant seem to go in for the last 2 months or so. Any ideas what happened ?&lt;br /&gt;&lt;br /&gt;Thanks. Cheers.</description>
            <author>efarhan</author>
            <category>Networks and Broadband</category>
            <pubDate>Thu, 18 Oct 2012 12:04:03 +0800</pubDate>
        </item>
        <item>
            <title>Printing problem</title>
            <link>http://forum.lowyat.net/topic/2505915</link>
            <description>Hi Bros,&lt;br /&gt;&lt;br /&gt;Im using a HP Officejet K8600 printer...complete together with a CISS kit...and my print server is HP Jetdirect ew2500 wifi based....Im having trouble to print to the printer most of the time... i have a few of these units and im suspecting its the print server causing the problem...any other suggestions as i have no choice but to use wireless instead of wired since i dont have enuf network plug points... &lt;br /&gt;&lt;br /&gt;Printer : HP OfficeJet K8600&lt;br /&gt;&lt;br /&gt;Print Server : HP Jetdirect ew2500&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks man. Your feedbacks are much appreciated.</description>
            <author>efarhan</author>
            <category>Technical Support</category>
            <pubDate>Wed, 12 Sep 2012 12:15:30 +0800</pubDate>
        </item>
        <item>
            <title>Browse pictures in folder</title>
            <link>http://forum.lowyat.net/topic/2456890</link>
            <description>Hi sifus,&lt;br /&gt;&lt;br /&gt;I managed to get &amp;quot;A PICTURE&amp;quot; to display from the folder, but the photo wouldnt loop. Im not sure what went wrong here.. Im sure i got the timer correct. Please advise guys. Do check out my code below.&lt;br /&gt;&lt;br /&gt;Imports System.IO&lt;br /&gt;Imports System.Collections&lt;br /&gt;&lt;br /&gt;Public Class Form1&lt;br /&gt;    Private images As New List(Of Image)&lt;br /&gt;    Private index As Integer&lt;br /&gt;&lt;br /&gt;    &amp;#39; private member variables&lt;br /&gt;    Private mFolder As String&lt;br /&gt;    Private mImageList As ArrayList&lt;br /&gt;    Private mImagePosition As Integer&lt;br /&gt;    Private mPreviousImage As Image&lt;br /&gt;    Private mCurrentImage As Image&lt;br /&gt;    Private mNextImage As Image&lt;br /&gt;&lt;br /&gt;    Public Sub New()&lt;br /&gt;        InitializeComponent()&lt;br /&gt;&lt;br /&gt;        Timer1.Interval = 1000&lt;br /&gt;        Timer1.Start()&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As EventArgs) Handles Timer1.Tick&lt;br /&gt;        If images.Count &amp;gt; 0 Then&lt;br /&gt;            If index &amp;gt;= images.Count Then&lt;br /&gt;                index = 0&lt;br /&gt;            End If&lt;br /&gt;            PicCurrentImage.Image = images(index)&lt;br /&gt;            index += 1&lt;br /&gt;        End If&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Function CreateImage(ByVal whichColor As Color) As Image&lt;br /&gt;        Dim bmp As New Bitmap(64, 64)&lt;br /&gt;        Using g As Graphics = Graphics.FromImage(bmp), _&lt;br /&gt;              br As New SolidBrush(whichColor)&lt;br /&gt;            g.Clear(Color.White)&lt;br /&gt;            g.FillEllipse(br, New Rectangle(1, 1, 61, 61))&lt;br /&gt;        End Using&lt;br /&gt;        Return bmp&lt;br /&gt;    End Function&lt;br /&gt;&lt;br /&gt;    Private Sub Browse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Browse.Click&lt;br /&gt;        &amp;#39; Label the folder browser dialog&lt;br /&gt;        Me.folderBrowserDialog1.Description = &amp;quot;Select the image directory.&amp;quot;&lt;br /&gt;&lt;br /&gt;        &amp;#39; disable create folder feature of folder browser&lt;br /&gt;        Me.folderBrowserDialog1.ShowNewFolderButton = False&lt;br /&gt;&lt;br /&gt;        &amp;#39; display the folder browser&lt;br /&gt;        Dim result As DialogResult = folderBrowserDialog1.ShowDialog()&lt;br /&gt;&lt;br /&gt;        If result = DialogResult.OK Then&lt;br /&gt;&lt;br /&gt;            &amp;#39; on okay, set the image folder to the&lt;br /&gt;            &amp;#39; folder browser&amp;#39;s selected path&lt;br /&gt;            mFolder = folderBrowserDialog1.SelectedPath&lt;br /&gt;            If (Not String.IsNullOrEmpty(mFolder)) Then&lt;br /&gt;                txtImageDirectory.Text = mFolder&lt;br /&gt;            Else&lt;br /&gt;                &amp;#39; exit if the user cancels&lt;br /&gt;                Return&lt;br /&gt;            End If&lt;br /&gt;&lt;br /&gt;            &amp;#39; initialize the image arraylist&lt;br /&gt;            mImageList = New ArrayList()&lt;br /&gt;&lt;br /&gt;            &amp;#39; loop through the image directory&lt;br /&gt;            &amp;#39; and find all of the image files&lt;br /&gt;            &amp;#39; add the found files to the image&lt;br /&gt;            &amp;#39; list - add other image types if&lt;br /&gt;            &amp;#39; necessary&lt;br /&gt;            Dim Dir As New DirectoryInfo(mFolder)&lt;br /&gt;            Dim f As FileInfo&lt;br /&gt;            For Each f In Dir.GetFiles(&amp;quot;*.*&amp;quot;)&lt;br /&gt;                Select Case (f.Extension.ToUpper())&lt;br /&gt;                    Case &amp;quot;.JPG&amp;quot;&lt;br /&gt;                        mImageList.Add(f.FullName)&lt;br /&gt;                    Case &amp;quot;.BMP&amp;quot;&lt;br /&gt;                        mImageList.Add(f.FullName)&lt;br /&gt;                    Case &amp;quot;.GIF&amp;quot;&lt;br /&gt;                        mImageList.Add(f.FullName)&lt;br /&gt;                    Case Else&lt;br /&gt;                        &amp;#39; skip file&lt;br /&gt;                End Select&lt;br /&gt;            Next&lt;br /&gt;&lt;br /&gt;            &amp;#39; set the starting position to 0&lt;br /&gt;            &amp;#39; and call the set images method&lt;br /&gt;            &amp;#39; to load the pictures&lt;br /&gt;            mImagePosition = 0&lt;br /&gt;            SetImages()&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        End If&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    &amp;#39;&amp;#39;&amp;#39; &amp;lt;summary&amp;gt;&lt;br /&gt;    &amp;#39;&amp;#39;&amp;#39; This function is used to set the previous,&lt;br /&gt;    &amp;#39;&amp;#39;&amp;#39; current, and next images into the &lt;br /&gt;    &amp;#39;&amp;#39;&amp;#39; correct picture boxes&lt;br /&gt;    &amp;#39;&amp;#39;&amp;#39; &amp;lt;/summary&amp;gt;&lt;br /&gt;    &amp;#39;&amp;#39;&amp;#39; &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;br /&gt;    Private Sub SetImages()&lt;br /&gt;&lt;br /&gt;        &amp;#39; clear any existing images&lt;br /&gt;        &amp;#39; memory will be an issue if&lt;br /&gt;        &amp;#39; cycling through a large&lt;br /&gt;        &amp;#39; number of images&lt;br /&gt;&lt;br /&gt;        &amp;#39;mCurrentImage = Nothing&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        &amp;#39; set current image&lt;br /&gt;        If mImagePosition &amp;lt; mImageList.Count Then&lt;br /&gt;&lt;br /&gt;            Try&lt;br /&gt;&lt;br /&gt;                &amp;#39; set delegate&lt;br /&gt;                Dim currentCallback = _&lt;br /&gt;                        New Image.GetThumbnailImageAbort(AddressOf ThumbnailCallback)&lt;br /&gt;&lt;br /&gt;                &amp;#39; get the current image&lt;br /&gt;                Dim currentBmp As _&lt;br /&gt;                        New Bitmap(mImageList(mImagePosition).ToString())&lt;br /&gt;&lt;br /&gt;                &amp;#39; thumbnail the image to the size&lt;br /&gt;                &amp;#39; of the picture box&lt;br /&gt;                mCurrentImage = _&lt;br /&gt;                currentBmp.GetThumbnailImage(320, 320, currentCallback, IntPtr.Zero)&lt;br /&gt;&lt;br /&gt;                &amp;#39; set the picture box image&lt;br /&gt;                picCurrentImage.Image = mCurrentImage&lt;br /&gt;&lt;br /&gt;                &amp;#39; clear everything out&lt;br /&gt;                currentBmp = Nothing&lt;br /&gt;                mCurrentImage = Nothing&lt;br /&gt;                currentCallback = Nothing&lt;br /&gt;&lt;br /&gt;            Catch&lt;br /&gt;&lt;br /&gt;                &amp;#39;stall if it hangs, the user can retry&lt;br /&gt;&lt;br /&gt;            End Try&lt;br /&gt;&lt;br /&gt;        End If&lt;br /&gt;&lt;br /&gt;        GC.Collect()&lt;br /&gt;&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Public Function ThumbnailCallback() As Boolean&lt;br /&gt;&lt;br /&gt;        Return False&lt;br /&gt;&lt;br /&gt;    End Function&lt;br /&gt;End Class</description>
            <author>efarhan</author>
            <category>Codemasters</category>
            <pubDate>Sun, 05 Aug 2012 00:42:50 +0800</pubDate>
        </item>
        <item>
            <title>Display picture in folder</title>
            <link>http://forum.lowyat.net/topic/2448254</link>
            <description>Hi sifus,&lt;br /&gt;&lt;br /&gt;Was just wondering how do I make the codes below to display the image files in the folder instead of specific image files like below :- ? And how do I make it re-size according to the picturebox size automatically ? Thanks a lot guys.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Public Class Form1&lt;br /&gt;  Private images As New List(Of Image)&lt;br /&gt;  Private index As Integer&lt;br /&gt; &lt;br /&gt; Public Sub New()&lt;br /&gt;    InitializeComponent()&lt;br /&gt;&lt;br /&gt;    images.Add(CreateImage(Color.Blue))&lt;br /&gt;    images.Add(CreateImage(Color.Red))&lt;br /&gt;    &amp;#39;// images.Add(Image.FromFile(&amp;quot;c:&amp;#092;myimage.png&amp;quot;)          &amp;lt;- make it display the image files in folder only..not by image..&lt;br /&gt;&lt;br /&gt;    Timer1.Interval = 1000&lt;br /&gt;    Timer1.Start()&lt;br /&gt;  End Sub&lt;br /&gt;&lt;br /&gt;  Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As EventArgs) Handles Timer1.Tick&lt;br /&gt;    If images.Count &amp;gt; 0 Then&lt;br /&gt;      If index &amp;gt;= images.Count Then&lt;br /&gt;        index = 0&lt;br /&gt;      End If&lt;br /&gt;      PictureBox1.Image = images(index)&lt;br /&gt;      index += 1&lt;br /&gt;    End If&lt;br /&gt;  End Sub&lt;br /&gt;&lt;br /&gt;  Private Function CreateImage(ByVal whichColor As Color) As Image&lt;br /&gt;    Dim bmp As New Bitmap(64, 64)&lt;br /&gt;    Using g As Graphics = Graphics.FromImage(bmp), _&lt;br /&gt;          br As New SolidBrush(whichColor)&lt;br /&gt;      g.Clear(Color.White)&lt;br /&gt;      g.FillEllipse(br, New Rectangle(1, 1, 61, 61))&lt;br /&gt;    End Using&lt;br /&gt;    Return bmp&lt;br /&gt;  End Function&lt;br /&gt;&lt;br /&gt;End Class</description>
            <author>efarhan</author>
            <category>Codemasters</category>
            <pubDate>Sun, 29 Jul 2012 22:52:22 +0800</pubDate>
        </item>
        <item>
            <title>Use Vb.net to add node to my xml file</title>
            <link>http://forum.lowyat.net/topic/2440150</link>
            <description>Hi Bros,&lt;br /&gt;&lt;br /&gt;Ive been trying to add to my xml file...the file goes like this...&lt;br /&gt;&lt;br /&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; standalone=&amp;quot;yes&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;ticker&amp;gt;&lt;br /&gt;  &amp;lt;news&amp;gt;this is my test&amp;lt;/news&amp;gt;&lt;br /&gt;  &amp;lt;news&amp;gt;this is my test&amp;lt;/news&amp;gt;&lt;br /&gt;  &amp;lt;news&amp;gt; &amp;lt;/news&amp;gt;&lt;br /&gt;&amp;lt;/ticker&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How do I use VB.net to add to my &lt;br /&gt;&lt;br /&gt;&amp;lt;news&amp;gt; &amp;quot;news here&amp;quot; &amp;lt;/news&amp;gt;         &lt;br /&gt;&lt;br /&gt;ive tried using this pair of code.. but nothing seems to be happening... i code it to a button..just for test sake...as below..:-&lt;br /&gt;&lt;br /&gt;Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click&lt;br /&gt;        &amp;#39; Create xml dom&lt;br /&gt;        Dim XMLDom As New XmlDocument()&lt;br /&gt;        &amp;#39;load your xml file&lt;br /&gt;        XMLDom.Load(&amp;quot;../debug/news.xml&amp;quot;)&lt;br /&gt;        &amp;#39;Select main node&lt;br /&gt;        Dim newXMLNode As XmlNode = XMLDom.SelectSingleNode(&amp;quot;/ticker&amp;quot;)&lt;br /&gt;        &amp;#39;get the node where you want to insert the data&lt;br /&gt;        Dim childNode As XmlNode = XMLDom.CreateNode(XmlNodeType.Element, &amp;quot;news&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;        &amp;#39;In the below step &amp;quot;name&amp;quot; is your node name and &amp;quot;sree&amp;quot; is your data to insert&lt;br /&gt;        Dim newAttribute As XmlAttribute = XMLDom.CreateAttribute(&amp;quot;news&amp;quot;, &amp;quot;hoorey&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;        childNode.Attributes.Append(newAttribute)&lt;br /&gt;        newXMLNode.AppendChild(childNode)&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;Any ideas guys ??&lt;br /&gt;&lt;br /&gt;Thanks in advance. &lt;br /&gt;</description>
            <author>efarhan</author>
            <category>Codemasters</category>
            <pubDate>Mon, 23 Jul 2012 22:40:13 +0800</pubDate>
        </item>
        <item>
            <title>&amp;#39;Bring to Front&amp;#39; news ticker</title>
            <link>http://forum.lowyat.net/topic/2437144</link>
            <description>Hi Sifus,&lt;br /&gt;&lt;br /&gt;How do I &amp;#39;bring to front&amp;#39; in code form for this code below ? Its a news ticker and ive tried a backway instead of trying to make the scrolling ticker move along with a background, i have decided to put a colored panel behind it..and let it scroll..but because of this particular line...it keeps clearing the background color i put on the form. but when i remove it...the ticker becomes messed up.....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick&lt;br /&gt;        &amp;#39;Debug.Write(vbCr &amp;amp; strwidth.Width &amp;amp; vbCr)&lt;br /&gt;        &amp;#39;Debug.Write(String.Format(&amp;quot;widthX = {0}&amp;quot;, CStr(widthX) &amp;amp; vbCr))&lt;br /&gt;        g.Clear(me.backcolor)                                                                        &amp;lt;- this is the problem area. &lt;br /&gt;        g.DrawString(str, fo, Brushes.Black, widthX, heightY)&lt;br /&gt;        &amp;#39;widthX, heightY&lt;br /&gt;        Timer1.Enabled = False &amp;#39;Added by RK&lt;br /&gt;        System.Threading.Thread.Sleep(50) &amp;#39;Addedd by RK&lt;br /&gt;        &amp;#39; Debug.Write(String.Format(&amp;quot;the string width is {0}&amp;quot;, CStr(strwidth.Width)))&lt;br /&gt;        If widthX &amp;lt;= (0 - douX) Then&lt;br /&gt;            widthX = Me.Width&lt;br /&gt;        Else&lt;br /&gt;            widthX -= 5&lt;br /&gt;        End If&lt;br /&gt;        Timer1.Enabled = True &amp;#39;Added by RK&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;Really appreciate if you guys can help me out..im already on the deadline bro to deliver this.. &lt;!--emo&amp;:(--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /&gt;&lt;!--endemo--&gt;&lt;br /&gt;&lt;br /&gt;[addedon]July 22, 2012, 11:47 am[/addedon]anybody ?</description>
            <author>efarhan</author>
            <category>Codemasters</category>
            <pubDate>Sat, 21 Jul 2012 16:37:56 +0800</pubDate>
        </item>
        <item>
            <title>Set location of news ticker and color it.</title>
            <link>http://forum.lowyat.net/topic/2429380</link>
            <description>Hi Sifus,&lt;br /&gt;&lt;br /&gt;Im trying to set the location of my newsticker that the codes i found from the net. I tried doing the modifications but to no avail. Below are the codes. I tried to make the newsticker to be highlighted as well, just like the tv3 ones. with the blue background and so on, but I cant seem to find the way as when I change the g.Clear..it changes the entire backgrounds colors of the form. Currently the news ticker is at the top of the form. I dont know how to move it to my &amp;#39;desired&amp;#39; location. &lt;!--emo&amp;:(--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /&gt;&lt;!--endemo--&gt; &lt;br /&gt;&lt;br /&gt;Imports System.Text    &amp;#39;used for string manipulations&lt;br /&gt;Imports System.Xml     &amp;#39; used for XML reading&lt;br /&gt;Public Class Form1&lt;br /&gt;    Inherits System.Windows.Forms.Form&lt;br /&gt;&lt;br /&gt;    Dim widthX As Single&lt;br /&gt;    Dim heightY As Single = 0&lt;br /&gt;    Dim g As Graphics&lt;br /&gt;    Dim xmlst As String      &amp;#39;string from the xml file&lt;br /&gt;    Dim fo As Font&lt;br /&gt;    Dim str As String&lt;br /&gt;    Dim strwidth As SizeF    &amp;#39;gets the xml string&amp;#39;s width and height &lt;br /&gt;    Dim douX As Double       &amp;#39;stores the xmlstring&amp;#39;s width     &lt;br /&gt;    Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click&lt;br /&gt;        Me.Dispose()&lt;br /&gt;    End Sub&lt;br /&gt;    Private Sub loadthenews()&lt;br /&gt;        Dim readXML As New XmlTextReader(&amp;quot;c:&amp;#092;users&amp;#092;admin&amp;#092;documents&amp;#092;visual studio 2010&amp;#092;Projects&amp;#092;NewsTicker&amp;#092;NewsTicker&amp;#092;news.xml&amp;quot;)&lt;br /&gt;        While readXML.Read()&lt;br /&gt;            If readXML.NodeType = XmlNodeType.Text Then&lt;br /&gt;                str += &amp;quot;   &amp;quot; &amp;amp; readXML.Value&lt;br /&gt;            End If&lt;br /&gt;        End While&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Sub AxWindowsMediaPlayer1_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AxWindowsMediaPlayer1.Enter&lt;br /&gt;        Me.AxWindowsMediaPlayer1.settings.setMode(&amp;quot;loop&amp;quot;, True)&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click&lt;br /&gt;        Me.Dispose()&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;        g = Me.CreateGraphics()  &amp;#39;get the graphics object of the form&lt;br /&gt;        widthX = Me.Width       &amp;#39; x co- ordinate or width                                                -&amp;gt; Tried here with New Point (x,y) but it says cannot convert to &lt;br /&gt;        &amp;#39; Debug.Write(String.Format(&amp;quot;The width is {0}&amp;quot;, ‘CStr(Me.Width)))                          single value.  &lt;!--emo&amp;:(--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /&gt;&lt;!--endemo--&gt; &lt;br /&gt;        Me.loadthenews()&lt;br /&gt;        Dim gr As Graphics&lt;br /&gt;        Timer1.Interval = 100&lt;br /&gt;        Timer1.Start()&lt;br /&gt;        fo = New Font(&amp;quot;Times New Roman&amp;quot;, 14, FontStyle.Bold, GraphicsUnit.Point)&lt;br /&gt;        strwidth = g.MeasureString(Str, fo)&lt;br /&gt;        douX = strwidth.Width&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Sub NewsTicker_hover(ByVal sender As System.Object, ByVal e As System.EventArgs)&lt;br /&gt;        Timer1.Stop()&lt;br /&gt;        Debug.Write(String.Format(&amp;quot;The string width is {0}&amp;quot;, CStr(douX)))&lt;br /&gt;    End Sub&lt;br /&gt;    Private Sub NewsTicker_leave(ByVal sender As System.Object, ByVal e As System.EventArgs)&lt;br /&gt;        Timer1.Start()&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick&lt;br /&gt;        &amp;#39;Debug.Write(vbCr &amp;amp; strwidth.Width &amp;amp; vbCr)&lt;br /&gt;        &amp;#39;Debug.Write(String.Format(&amp;quot;widthX = {0}&amp;quot;, CStr(widthX) &amp;amp; vbCr))&lt;br /&gt;        g.Clear(Me.BackColor)                                                                                              - tried playing with the colors here, but it changes the &lt;br /&gt;        g.DrawString(str, fo, Brushes.Black, widthX, heightY)                                                     entire forms color. &lt;!--emo&amp;:(--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /&gt;&lt;!--endemo--&gt; &lt;br /&gt;        &amp;#39;widthX, heightY&lt;br /&gt;        Timer1.Enabled = False &amp;#39;Added by RK&lt;br /&gt;        System.Threading.Thread.Sleep(50) &amp;#39;Addedd by RK&lt;br /&gt;        &amp;#39; Debug.Write(String.Format(&amp;quot;the string width is {0}&amp;quot;, CStr(strwidth.Width)))&lt;br /&gt;        If widthX &amp;lt;= (0 - douX) Then&lt;br /&gt;            widthX = Me.Width&lt;br /&gt;        Else&lt;br /&gt;            widthX -= 5&lt;br /&gt;        End If&lt;br /&gt;        Timer1.Enabled = True &amp;#39;Added by RK&lt;br /&gt;    End Sub&lt;br /&gt;End Class&lt;br /&gt;&lt;br /&gt;[addedon]July 15, 2012, 11:52 pm[/addedon]Ok, i managed to change the height by changing the &amp;#39;0&amp;#39; value at the top at declaration for &amp;#39;heightY&amp;#39; but I still need assistance on the &amp;#39;highlighting&amp;#39; of the background of the newsticker. Any ideas ?&lt;br /&gt;&lt;br /&gt;[addedon]July 17, 2012, 6:24 pm[/addedon]anyone ?</description>
            <author>efarhan</author>
            <category>Codemasters</category>
            <pubDate>Sun, 15 Jul 2012 23:40:20 +0800</pubDate>
        </item>
        <item>
            <title>Newsticker scroller highlighting</title>
            <link>http://forum.lowyat.net/topic/2424338</link>
            <description>Hi sifus/masters,&lt;br /&gt;&lt;br /&gt;I have this code from the web that I found that can actually manage to get a news ticker going from an xml file. I tried it out on my visual studio and I got the thing working, but the next question is, how do I highlight it ? Just like the TV3 newsticker below going from left to right. What I want is the blue background and a white font for example. Just sufficient to cover the font. Any ideas guys ? Below is the code I got.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Imports System.Text    &amp;#39;used for string manipulations&lt;br /&gt;Imports System.Xml     &amp;#39; used for XML reading&lt;br /&gt;Public Class NewsTicker&lt;br /&gt;    Inherits System.Windows.Forms.Form&lt;br /&gt;&lt;br /&gt;    Dim widthX As Single&lt;br /&gt;    Dim heightY As Single = 0&lt;br /&gt;    Dim g As Graphics&lt;br /&gt;    Dim xmlst As String      &amp;#39;string from the xml file&lt;br /&gt;    Dim fo As Font&lt;br /&gt;    Dim str As String&lt;br /&gt;    Dim strwidth As SizeF    &amp;#39;gets the xml string&amp;#39;s width and height &lt;br /&gt;    Dim douX As Double       &amp;#39;stores the xmlstring&amp;#39;s width     &lt;br /&gt;&lt;br /&gt;    Private Sub loadthenews()&lt;br /&gt;        Dim readXML As New XmlTextReader(&amp;quot;c:&amp;#092;users&amp;#092;admin&amp;#092;documents&amp;#092;visual studio 2010&amp;#092;Projects&amp;#092;NewsTicker&amp;#092;NewsTicker&amp;#092;news.xml&amp;quot;)&lt;br /&gt;        While readXML.Read()&lt;br /&gt;            If readXML.NodeType = XmlNodeType.Text Then&lt;br /&gt;                str += &amp;quot;   &amp;quot; &amp;amp; readXML.Value&lt;br /&gt;            End If&lt;br /&gt;        End While&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick&lt;br /&gt;        &amp;#39;Debug.Write(vbCr &amp;amp; strwidth.Width &amp;amp; vbCr)&lt;br /&gt;        &amp;#39;Debug.Write(String.Format(&amp;quot;widthX = {0}&amp;quot;, CStr(widthX) &amp;amp; vbCr))&lt;br /&gt;        g.Clear(Me.BackColor)                                                                                          &amp;lt;- IM GUESSING ITS SOMEWHERE ALONG THESE LINES, &lt;br /&gt;        g.DrawString(str, fo, Brushes.Black, widthX, heightY)                                                   BEEN TRYING, BUT TAK DAPAT. SOME HELP WOULD BE&lt;br /&gt;        Timer1.Enabled = False &amp;#39;Added by RK                                                                         NICE BROS. TQ. &lt;br /&gt;        System.Threading.Thread.Sleep(50) &amp;#39;Addedd by RK&lt;br /&gt;        &amp;#39; Debug.Write(String.Format(&amp;quot;the string width is {0}&amp;quot;, CStr(strwidth.Width)))&lt;br /&gt;        If widthX &amp;lt;= (0 - douX) Then&lt;br /&gt;            widthX = Me.Width&lt;br /&gt;        Else&lt;br /&gt;            widthX -= 5&lt;br /&gt;        End If&lt;br /&gt;        Timer1.Enabled = True &amp;#39;Added by RK&lt;br /&gt;    End Sub&lt;br /&gt;    Private Sub NewsTicker_hover(ByVal sender As System.Object, ByVal e As System.EventArgs)&lt;br /&gt;        Timer1.Stop()&lt;br /&gt;        Debug.Write(String.Format(&amp;quot;The string width is {0}&amp;quot;, CStr(douX)))&lt;br /&gt;    End Sub&lt;br /&gt;    Private Sub NewsTicker_leave(ByVal sender As System.Object, ByVal e As System.EventArgs)&lt;br /&gt;        Timer1.Start()&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;    Private Sub NewsTicker_Load_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;        g = Me.CreateGraphics()  &amp;#39;get the graphics object of the form&lt;br /&gt;        widthX = Me.Width        &amp;#39; x co- ordinate or width&lt;br /&gt;        &amp;#39; Debug.Write(String.Format(&amp;quot;The width is {0}&amp;quot;, ‘CStr(Me.Width)))&lt;br /&gt;        Me.loadthenews()&lt;br /&gt;        Dim gr As Graphics&lt;br /&gt;        Timer1.Interval = 100&lt;br /&gt;        Timer1.Start()&lt;br /&gt;        fo = New Font(&amp;quot;Times New Roman&amp;quot;, 14, FontStyle.Bold, GraphicsUnit.Point)&lt;br /&gt;        strwidth = g.MeasureString(str, fo)&lt;br /&gt;        douX = strwidth.Width&lt;br /&gt;    End Sub&lt;br /&gt;End Class&lt;br /&gt;&lt;br /&gt;</description>
            <author>efarhan</author>
            <category>Codemasters</category>
            <pubDate>Wed, 11 Jul 2012 23:04:43 +0800</pubDate>
        </item>
        <item>
            <title>Designing a system to display on 60&amp;#39; LCD</title>
            <link>http://forum.lowyat.net/topic/2366002</link>
            <description>Hi sifus,&lt;br /&gt;&lt;br /&gt;I am currently been assigned to handle a project where I have to design a system that is required to be &amp;#39;projected&amp;#39; to a 60&amp;#39; inch size AQUOS lcd tv screen. I have started designing the system and am currently stuck with 1 question. How do I determine the best resolution to the system ? I have managed to make my system to be able to show &amp;#39;full screen&amp;#39; on my laptop (im using Visual Studio 2010 to develop the system) with a resolution of 1280 x 800. But what if I shoot it up to the 60&amp;#39; lcd tv using HDMI? Will it go blur ? Will the screen be instead of showing some &amp;#39;black areas&amp;#39; ? Will the graphics card support it ? &lt;br /&gt;&lt;br /&gt;And once the system is complete, what sort of graphics card is suitable to project a system up to a 60&amp;#39; tv ? Any ideas and critics would be appreciated.&lt;br /&gt;&lt;br /&gt;I have checked the 60&amp;#39; Aquos tv&amp;#39;s resolution. It seems it has these resolutions = 1,920 x 4 x 1,080. Should I follow those resolutions ? but if it&amp;#39;s under development on my Visual Studio 2010. It will be bigger than my screen. Im lost. &lt;br /&gt;&lt;br /&gt;Thanks guys.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;efarhan.</description>
            <author>efarhan</author>
            <category>Codemasters</category>
            <pubDate>Tue, 29 May 2012 22:39:28 +0800</pubDate>
        </item>
        <item>
            <title>HR MANAGER LEAK Medical info</title>
            <link>http://forum.lowyat.net/topic/2247799</link>
            <description>Hi guys,&lt;br /&gt;&lt;br /&gt;I just want to ask an opinion on what should I do and what legal actions that is currently in place if the HR Manager has leaked out &amp;quot;Private And Confidential&amp;quot; medical information about myself to colleagues and staffs. It is just basic common sense that the HR Manager&amp;#39;s job is to keep things such as this sensitive away from other staffs and colleagues. This is just not right. What do I do ?&lt;br /&gt;&lt;br /&gt;Rgards,&lt;br /&gt;&lt;br /&gt;efarhan.</description>
            <author>efarhan</author>
            <category>The Museum Of Kopitiam</category>
            <pubDate>Thu, 01 Mar 2012 12:58:40 +0800</pubDate>
        </item>
        <item>
            <title>ASP.net - populating dropdownlist1</title>
            <link>http://forum.lowyat.net/topic/1926668</link>
            <description>Im using a gridview... and I have a dropdownlist... when i go into edit mode...its comes out with this error..&lt;br /&gt;&lt;br /&gt;&amp;quot;&amp;#39;DropDownList1&amp;#39; has a SelectedValue which is invalid because it does not exist in the list of items.&lt;br /&gt;Parameter name: value&amp;quot;&lt;br /&gt;&lt;br /&gt;The problem here is I already list down the list items from the back-end based on my research on the web...this is the way to do it..below s my code...check the BOLD one..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%@ Page Language=&amp;quot;vb&amp;quot; AutoEventWireup=&amp;quot;false&amp;quot; CodeBehind=&amp;quot;construction.aspx.vb&amp;quot; Inherits=&amp;quot;DrawingStatus.construction&amp;quot; %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;&amp;#33;DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; &amp;gt;&lt;br /&gt;&amp;lt;head runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;    &amp;lt;link href=&amp;quot;construction1.css&amp;quot; rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;    &amp;lt;form id=&amp;quot;form1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&lt;br /&gt;    &lt;br /&gt;    &amp;lt;div class=&amp;quot;construction&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;asp:GridView ID=&amp;quot;GridView1&amp;quot; runat=&amp;quot;server&amp;quot; AutoGenerateColumns=&amp;quot;False&amp;quot; &lt;br /&gt;            AutoGenerateEditButton=&amp;quot;True&amp;quot; DataSourceID=&amp;quot;ConnConstruction&amp;quot;&amp;gt;&lt;br /&gt;            &amp;lt;Columns&amp;gt;&lt;br /&gt;                &amp;lt;asp:BoundField DataField=&amp;quot;DwgID&amp;quot; HeaderText=&amp;quot;DwgID&amp;quot; ReadOnly=&amp;quot;True&amp;quot; &lt;br /&gt;                    SortExpression=&amp;quot;DwgID&amp;quot; /&amp;gt;&lt;br /&gt;                &amp;lt;asp:BoundField DataField=&amp;quot;ProjectID&amp;quot; HeaderText=&amp;quot;ProjectID&amp;quot; ReadOnly=&amp;quot;True&amp;quot; &lt;br /&gt;                    SortExpression=&amp;quot;ProjectID&amp;quot; /&amp;gt;&lt;br /&gt;                &amp;lt;asp:BoundField DataField=&amp;quot;Title&amp;quot; HeaderText=&amp;quot;Title&amp;quot; SortExpression=&amp;quot;Title&amp;quot; /&amp;gt;&lt;br /&gt;                &amp;lt;asp:BoundField DataField=&amp;quot;DwgNo&amp;quot; HeaderText=&amp;quot;DwgNo&amp;quot; SortExpression=&amp;quot;DwgNo&amp;quot; &lt;br /&gt;                    ReadOnly=&amp;quot;True&amp;quot; /&amp;gt;&lt;br /&gt;                &amp;lt;asp:BoundField DataField=&amp;quot;DateReceive&amp;quot; HeaderText=&amp;quot;DateReceive&amp;quot; &lt;br /&gt;                    ReadOnly=&amp;quot;True&amp;quot; SortExpression=&amp;quot;DateReceive&amp;quot; /&amp;gt;&lt;br /&gt;                &amp;lt;asp:BoundField DataField=&amp;quot;TotalCopy&amp;quot; HeaderText=&amp;quot;TotalCopy&amp;quot; &lt;br /&gt;                    SortExpression=&amp;quot;TotalCopy&amp;quot; ReadOnly=&amp;quot;True&amp;quot; /&amp;gt;&lt;br /&gt;                &amp;lt;asp:BoundField DataField=&amp;quot;DateReview&amp;quot; HeaderText=&amp;quot;DateReview&amp;quot; ReadOnly=&amp;quot;True&amp;quot; &lt;br /&gt;                    SortExpression=&amp;quot;DateReview&amp;quot; /&amp;gt;&lt;br /&gt;                &amp;lt;asp:BoundField DataField=&amp;quot;RefNo&amp;quot; HeaderText=&amp;quot;RefNo&amp;quot; SortExpression=&amp;quot;RefNo&amp;quot; &lt;br /&gt;                    ReadOnly=&amp;quot;True&amp;quot; /&amp;gt;&lt;br /&gt;                &amp;lt;asp:TemplateField HeaderText=&amp;quot;Status&amp;quot; SortExpression=&amp;quot;Status&amp;quot;&amp;gt;&lt;br /&gt;                    &lt;b&gt;&amp;lt;EditItemTemplate&amp;gt;&lt;br /&gt;                        &amp;lt;asp:DropDownList ID=&amp;quot;DropDownList1&amp;quot; runat=&amp;quot;server&amp;quot;&lt;br /&gt;                        DataSourceID=&amp;quot;connDropDwn&amp;quot;&lt;br /&gt;                        DataTextField=&amp;quot;Status&amp;quot; &lt;br /&gt;                        DataValueField=&amp;quot;StatusID&amp;quot; &lt;br /&gt;                            SelectedValue=&amp;#39;&amp;lt;%# Bind(&amp;quot;Status&amp;quot;) %&amp;gt;&amp;#39; AppendDataBoundItems=&amp;quot;True&amp;quot;&amp;gt;&lt;br /&gt;                            &amp;lt;asp:ListItem Value=&amp;quot;1&amp;quot;&amp;gt;In progress&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;asp:ListItem Value=&amp;quot;2&amp;quot;&amp;gt;Reviewed&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;asp:ListItem Value=&amp;quot;3&amp;quot;&amp;gt;Approved&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;asp:ListItem Value=&amp;quot;4&amp;quot;&amp;gt;Approved with remarks&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;asp:ListItem Value=&amp;quot;5&amp;quot;&amp;gt;Details to submit&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;asp:ListItem Value=&amp;quot;6&amp;quot;&amp;gt;For information&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;asp:ListItem Value=&amp;quot;7&amp;quot;&amp;gt;To be resubmitted&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;asp:ListItem Value=&amp;quot;8&amp;quot;&amp;gt;Jabatan Item&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;asp:ListItem Value=&amp;quot;9&amp;quot;&amp;gt;Superseded&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;asp:ListItem Value=&amp;quot;10&amp;quot;&amp;gt;Reviewed with remarks&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;asp:ListItem Value=&amp;quot;11&amp;quot;&amp;gt;Not coming into class&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;asp:ListItem Value=&amp;quot;12&amp;quot;&amp;gt;Return without review&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;asp:ListItem Value=&amp;quot;13&amp;quot;&amp;gt;For Information only with remarks&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;asp:ListItem Value=&amp;quot;14&amp;quot;&amp;gt;Seen and Noted&amp;lt;/asp:ListItem&amp;gt;&lt;br /&gt;                        &amp;lt;/asp:DropDownList&amp;gt;&lt;br /&gt;                    &amp;lt;/EditItemTemplate&amp;gt;&lt;/b&gt;&lt;br /&gt;                    &amp;lt;ItemTemplate&amp;gt;&lt;br /&gt;                        &amp;lt;asp:Label ID=&amp;quot;Label1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;#39;&amp;lt;%# Bind(&amp;quot;Status&amp;quot;) %&amp;gt;&amp;#39;&amp;gt;&amp;lt;/asp:Label&amp;gt;&lt;br /&gt;                    &amp;lt;/ItemTemplate&amp;gt;&lt;br /&gt;                &amp;lt;/asp:TemplateField&amp;gt;&lt;br /&gt;                &amp;lt;asp:BoundField DataField=&amp;quot;Revision&amp;quot; HeaderText=&amp;quot;Revision&amp;quot; &lt;br /&gt;                    SortExpression=&amp;quot;Revision&amp;quot; ReadOnly=&amp;quot;True&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;/Columns&amp;gt;&lt;br /&gt;        &amp;lt;/asp:GridView&amp;gt;&lt;br /&gt;        &amp;lt;asp:SqlDataSource ID=&amp;quot;ConnConstruction&amp;quot; runat=&amp;quot;server&amp;quot; &lt;br /&gt;            ConnectionString=&amp;quot;&amp;lt;%&amp;#036; ConnectionStrings:drawingdblocalConnectionString2 %&amp;gt;&amp;quot; &lt;br /&gt;            SelectCommand=&amp;quot;SELECT tblConstruction.DwgID, tblConstruction.ProjectID, tblConstruction.Title, tblConstruction.DwgNo, tblConstruction.DateReceive, tblConstruction.TotalCopy, tblConstruction.DateReview, tblConstruction.RefNo, tblStatus.Status, tblConstruction.Revision FROM tblConstruction INNER JOIN tblStatus ON tblConstruction.StatusID = tblStatus.StatusID WHERE (tblConstruction.ProjectID = @projectid)&amp;quot;&amp;gt;&lt;br /&gt;            &amp;lt;SelectParameters&amp;gt;&lt;br /&gt;                &amp;lt;asp:QueryStringParameter Name=&amp;quot;projectid&amp;quot; QueryStringField=&amp;quot;projectid&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;/SelectParameters&amp;gt;&lt;br /&gt;        &amp;lt;/asp:SqlDataSource&amp;gt;&lt;br /&gt;    &amp;lt;/div&amp;gt;&lt;br /&gt;    &amp;lt;asp:SqlDataSource ID=&amp;quot;ConnDropDwn&amp;quot; runat=&amp;quot;server&amp;quot; &lt;br /&gt;        &lt;br /&gt;        ConnectionString=&amp;quot;&amp;lt;%&amp;#036; ConnectionStrings:drawingdblocalConnectionString2 %&amp;gt;&amp;quot; &lt;br /&gt;        SelectCommand=&amp;quot;SELECT [StatusID], [Status] FROM [tblStatus]&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;/asp:SqlDataSource&amp;gt;&lt;br /&gt;    &amp;lt;/form&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;</description>
            <author>efarhan</author>
            <category>Codemasters</category>
            <pubDate>Tue, 21 Jun 2011 10:40:20 +0800</pubDate>
        </item>
        <item>
            <title>ASP.net - Gridview &amp;#39;edit&amp;#39; function removing my row</title>
            <link>http://forum.lowyat.net/topic/1920747</link>
            <description>Hi sifus,&lt;br /&gt;&lt;br /&gt;I have a bizarre gridview question....i seriously have no idea why my gridview &amp;quot;edit&amp;quot; is removing the row im editing...i have checked the &amp;quot;UpdateQuery&amp;quot; and its only UPDATE and not DELETE..... but once I press the &amp;quot;Edit&amp;quot; and made my changes..and then pressed the &amp;quot;UPDATE&amp;quot; button..it removes the entire row....it still removes the entire row with/without me making any changes..its just gone... &amp;#33;&lt;br /&gt;&lt;br /&gt;This is my update statement...&lt;br /&gt;&lt;br /&gt;UPDATE tblConstruction SET Title =@Title, DwgNo =@DwgNo, DateReceive =@DateReceive, TotalCopy =@TotalCopy, DateReview =@DateReview, RefNo =@RefNo, StatusID =@StatusID, Revision =@Revision WHERE  DwgID =@DwgID&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if there&amp;#39;s any details u require please tell me... i am just trying my luck to see if any others is suffering from the same thing.. &lt;!--emo&amp;:P--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /&gt;&lt;!--endemo--&gt;&lt;br /&gt;&lt;br /&gt;TQ</description>
            <author>efarhan</author>
            <category>Codemasters</category>
            <pubDate>Thu, 16 Jun 2011 15:37:15 +0800</pubDate>
        </item>
        <item>
            <title>(WTA) SQL Binding - Update Database from textbox</title>
            <link>http://forum.lowyat.net/topic/1890637</link>
            <description>Hi Sifus/taikos,&lt;br /&gt;&lt;br /&gt;I tried updating the database using a save button coded with these below codes.... but the database wont update.... it keeps refreshing back as empty textboxes...&lt;br /&gt;&lt;br /&gt;These codes below are for Save Button.... &lt;br /&gt;&lt;br /&gt;Protected Sub saveBtn_Click(ByVal sender As Object, ByVal e As EventArgs) Handles saveBtn.Click&lt;br /&gt;        SqlDataSave.UpdateParameters(&amp;quot;projectid&amp;quot;).DefaultValue = ProjectIDTxt.Text.ToString()&lt;br /&gt;        SqlDataSave.UpdateParameters(&amp;quot;shipname&amp;quot;).DefaultValue = ShipNameTxt.Text.ToString()&lt;br /&gt;        SqlDataSave.UpdateParameters(&amp;quot;project&amp;quot;).DefaultValue = ProjectTxt.Text.ToString()&lt;br /&gt;        SqlDataSave.UpdateParameters(&amp;quot;designer&amp;quot;).DefaultValue = DesignerTxt.Text.ToString()&lt;br /&gt;        SqlDataSave.UpdateParameters(&amp;quot;owner&amp;quot;).DefaultValue = OwnerTxt.Text.ToString()&lt;br /&gt;        SqlDataSave.UpdateParameters(&amp;quot;builder&amp;quot;).DefaultValue = BuilderTxt.Text.ToString()&lt;br /&gt;        SqlDataSave.UpdateParameters(&amp;quot;yardno&amp;quot;).DefaultValue = YardNoTxt.Text.ToString()&lt;br /&gt;        SqlDataSave.UpdateParameters(&amp;quot;jobnumber&amp;quot;).DefaultValue = DesignProjNoTxt.Text.ToString()&lt;br /&gt;        SqlDataSave.UpdateParameters(&amp;quot;scmid&amp;quot;).DefaultValue = ScmIdTxt.Text.ToString()&lt;br /&gt;        SqlDataSave.Update()&lt;br /&gt;        Response.Redirect(Request.RawUrl)&lt;br /&gt;    End Sub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Below is the datasource :-&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:SqlDataSource ID=&amp;quot;SqlDataSave&amp;quot; runat=&amp;quot;server&amp;quot; &lt;br /&gt;        ConnectionString=&amp;quot;&amp;lt;%&amp;#036; ConnectionStrings:drawingdblocalConnectionString2 %&amp;gt;&amp;quot; &lt;br /&gt;        SelectCommand=&amp;quot;SELECT [ProjectID], [Shipname], [Project], [SCMID], [Owner], [Designer], [Jobnumber], [Builder], [Yardno], [Projectno] FROM [tblProject]&amp;quot; &lt;br /&gt;        &lt;br /&gt;        UpdateCommand=&amp;quot;UPDATE tblProject SET ProjectID = @projectid, Shipname = @shipname, Project = @project, SCMID = @scmid, Owner = @owner, Designer = @designer, Jobnumber = @jobnumber, Builder = @builder, Yardno = @yardno Where ProjectID = @projectid&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;UpdateParameters&amp;gt;&lt;br /&gt;            &amp;lt;asp:ControlParameter ControlID=&amp;quot;ProjectIDTxt&amp;quot; DbType=&amp;quot;Int32&amp;quot; Name=&amp;quot;projectid&amp;quot; &lt;br /&gt;                PropertyName=&amp;quot;Text&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;asp:ControlParameter ControlID=&amp;quot;ShipNameTxt&amp;quot; Name=&amp;quot;shipname&amp;quot; &lt;br /&gt;                PropertyName=&amp;quot;Text&amp;quot; Type=&amp;quot;String&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;asp:ControlParameter ControlID=&amp;quot;ProjectTxt&amp;quot; DbType=&amp;quot;String&amp;quot; Name=&amp;quot;project&amp;quot; &lt;br /&gt;                PropertyName=&amp;quot;Text&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;asp:ControlParameter ControlID=&amp;quot;ScmIdTxt&amp;quot; DbType=&amp;quot;String&amp;quot; Name=&amp;quot;scmid&amp;quot; &lt;br /&gt;                PropertyName=&amp;quot;Text&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;asp:ControlParameter ControlID=&amp;quot;OwnerTxt&amp;quot; DbType=&amp;quot;String&amp;quot; Name=&amp;quot;owner&amp;quot; &lt;br /&gt;                PropertyName=&amp;quot;Text&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;asp:ControlParameter ControlID=&amp;quot;DesignerTxt&amp;quot; DbType=&amp;quot;String&amp;quot; Name=&amp;quot;designer&amp;quot; &lt;br /&gt;                PropertyName=&amp;quot;Text&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;asp:ControlParameter ControlID=&amp;quot;DesignProjNoTxt&amp;quot; DbType=&amp;quot;String&amp;quot; &lt;br /&gt;                Name=&amp;quot;jobnumber&amp;quot; PropertyName=&amp;quot;Text&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;asp:ControlParameter ControlID=&amp;quot;BuilderTxt&amp;quot; DbType=&amp;quot;String&amp;quot; Name=&amp;quot;builder&amp;quot; &lt;br /&gt;                PropertyName=&amp;quot;Text&amp;quot; /&amp;gt;&lt;br /&gt;            &amp;lt;asp:ControlParameter ControlID=&amp;quot;YardnoTxt&amp;quot; DbType=&amp;quot;String&amp;quot; Name=&amp;quot;yardno&amp;quot; &lt;br /&gt;                PropertyName=&amp;quot;Text&amp;quot; /&amp;gt;&lt;br /&gt;        &amp;lt;/UpdateParameters&amp;gt;&lt;br /&gt;    &amp;lt;/asp:SqlDataSource&amp;gt;&lt;br /&gt;&lt;br /&gt;Cant seem to figure out which part i got wrong... no error nothing.. &lt;!--emo&amp;:(--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /&gt;&lt;!--endemo--&gt;&lt;br /&gt;&lt;br /&gt;</description>
            <author>efarhan</author>
            <category>Codemasters</category>
            <pubDate>Tue, 24 May 2011 15:59:32 +0800</pubDate>
        </item>
        <item>
            <title>[WTA] VB - Accepting NULL Value</title>
            <link>http://forum.lowyat.net/topic/1882895</link>
            <description>Hi Sifus,&lt;br /&gt;&lt;br /&gt;Im trying to figure out how to accept null value from database and put it in a textbox... below is what i got so far...&lt;br /&gt;&lt;br /&gt;Private Sub DisplayFrmDatabase()&lt;br /&gt;        Dim DBConn As New SqlClient.SqlConnection(&amp;quot;Data Source=localhost&amp;#092;sqlexpress;Initial Catalog=drawingdb;Integrated Security=True&amp;quot;)&lt;br /&gt;&lt;br /&gt;        DBConn.Open()&lt;br /&gt;        Dim dsProject As New DataTable&lt;br /&gt;        Dim SqlDataAdapter1 As New SqlClient.SqlDataAdapter(&amp;quot;SELECT * FROM [tblProject] WHERE [Shipname] like &amp;#39;%&amp;quot; &amp;amp; ShipNameTxt.Text &amp;amp; &amp;quot;%&amp;#39; &amp;quot;, DBConn)&lt;br /&gt;        Dim objReader As SqlClient.SqlDataReader&lt;br /&gt;        Dim SqlCommand1 As New SqlCommand(&amp;quot;SELECT * FROM [tblProject] WHERE [Shipname] like &amp;#39;%&amp;quot; &amp;amp; ShipNameTxt.Text &amp;amp; &amp;quot;%&amp;#39; &amp;quot;, DBConn)&lt;br /&gt;&lt;br /&gt;        SqlDataAdapter1.Fill(dsProject)&lt;br /&gt;        objReader = SqlCommand1.ExecuteReader()&lt;br /&gt;&lt;br /&gt;        objReader.Read()&lt;br /&gt;        ProjectIDTxt.Text = objReader(&amp;quot;ProjectID&amp;quot;)&lt;br /&gt;        ProjectTxt.Text = objReader(&amp;quot;Projectno&amp;quot;)&lt;br /&gt;        OwnerTxt.Text = objReader(&amp;quot;Owner&amp;quot;)&lt;br /&gt;        DesignerDropdwn.SelectedValue = objReader(&amp;quot;Designer&amp;quot;)&lt;br /&gt;        &amp;#39;DesignProjNoTxt.TextMode = objReader(&amp;quot;Jobnumber&amp;quot;)      &amp;lt;- ACTUALLY THIS LINE TRIED TO PASS &amp;#39;NULL&amp;#39; and didnt accept null..so below i tried  &lt;br /&gt;                                                                                                  to make a the &amp;#39;null&amp;#39; to string. But im missing something&amp;#39;&lt;br /&gt;&lt;br /&gt;        If objReader(&amp;quot;Jobnumber&amp;quot;).DBNull.Value(0) Then&lt;br /&gt;&lt;br /&gt;            DesignProjNoTxt.TextMode = FixNull(objReader(&amp;quot;Jobnumber&amp;quot;))&lt;br /&gt;&lt;br /&gt;        End If&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        objReader.Close()&lt;br /&gt;        DBConn.Close()&lt;br /&gt;&lt;br /&gt;_________________________________________________________________________________________&lt;br /&gt;&lt;br /&gt;Public Function FixNull(ByVal dbvalue) As String&lt;br /&gt;        If dbvalue Is DBNull.Value Then&lt;br /&gt;            Return &amp;quot;&amp;quot;&lt;br /&gt;        Else&lt;br /&gt;            &amp;#39;NOTE: This will cast value to string if&lt;br /&gt;            &amp;#39;it isn&amp;#39;t a string.&lt;br /&gt;&lt;br /&gt;            Return dbvalue.ToString&lt;br /&gt;        End If&lt;br /&gt;    End Function&lt;br /&gt;    End Sub</description>
            <author>efarhan</author>
            <category>Codemasters</category>
            <pubDate>Wed, 18 May 2011 17:53:27 +0800</pubDate>
        </item>
        <item>
            <title>[WTA] My LAN Network slow in some locations</title>
            <link>http://forum.lowyat.net/topic/0</link>
            <description></description>
            <category>Networks and Broadband</category>
            <pubDate>Thu, 01 Jan 1970 07:30:00 +0800</pubDate>
        </item>
        <item>
            <title>[WTA] My LAN Network slow in some locations</title>
            <link>http://forum.lowyat.net/topic/1872991</link>
            <description>Hi sifus,&lt;br /&gt;&lt;br /&gt;My office recently acquired UNIFI biz10 and i noticed in some cubicles/locations within my office compound that the network is slow ? Is it due to length and range issues ? means nearer to the server room is faster and further means slower connection ? Is there such a thing ?&lt;br /&gt;&lt;br /&gt;And how do I test it ? since im no expert in Network Computing stuffs.. &lt;!--emo&amp;:P--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /&gt;&lt;!--endemo--&gt; Thanks guys..&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;efarhan</description>
            <author>efarhan</author>
            <category>Networks and Broadband</category>
            <pubDate>Wed, 11 May 2011 10:41:07 +0800</pubDate>
        </item>
    </channel>
</rss>
