<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>.NET WinForms Forum RSS Feed (Replies Included)</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the '.NET WinForms' forum at Programmer's Heaven, including replies.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 11:35:37 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 11:35:37 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Force DataGridView to reload data when database updated</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/431218/431218/force-datagridview-to-reload-data-when-database-updated/</link>
      <description>I've been trying various methods here and none seem to work. Here is my scenario. I have a phone book application that has two forms, the first is just a raw listing of all the entries and I have a button on the form that leads to the data entry screen. I click the Add button and it goes to the data entry screen fine. I enter my data, click submit and it responds that data inserted ok. I click my OK message and am sent back to the directory listing, however my latest entry is not there. I'm open to ideas and suggestions. Thanks!!!</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/431218/431218/force-datagridview-to-reload-data-when-database-updated/</guid>
      <pubDate>Thu, 07 Feb 2013 08:57:27 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>Force DataGridView to reload data when database updated</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/431217/431217/force-datagridview-to-reload-data-when-database-updated/</link>
      <description>I've been trying various methods here and none seem to work. Here is my scenario. I have a phone book application that has two forms, the first is just a raw listing of all the entries and I have a button on the form that leads to the data entry screen. I click the Add button and it goes to the data entry screen fine. I enter my data, click submit and it responds that data inserted ok. I click my OK message and am sent back to the directory listing, however my latest entry is not there. I'm open to ideas and suggestions. Thanks!!!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/431217/431217/force-datagridview-to-reload-data-when-database-updated/</guid>
      <pubDate>Thu, 07 Feb 2013 08:51:45 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>Changing appearance of winform forms title bar and border</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/431045/431045/changing-appearance-of-winform-forms-title-bar-and-border/</link>
      <description>Hi,&lt;br /&gt;
   I starting application using C#.net windows.&lt;br /&gt;
&lt;br /&gt;
In this wanted to change appearance of Form title bar and border like third party controls have.&lt;br /&gt;
&lt;br /&gt;
In my case want to do by own without third party components.&lt;br /&gt;
&lt;br /&gt;
Is it possible or not?&lt;br /&gt;
&lt;br /&gt;
Please suggest me example on this topic.&lt;br /&gt;
&lt;br /&gt;
Thanks &amp;amp; Regards,&lt;br /&gt;
Soumya,&lt;br /&gt;
Bangalore&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/431045/431045/changing-appearance-of-winform-forms-title-bar-and-border/</guid>
      <pubDate>Tue, 22 Jan 2013 23:24:39 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>Changing winform  form appearance(title bar,Border) using C#</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/431042/431042/changing-winform--form-appearancetitle-barborder-using-c/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
   I want to change the form border and title bar style by applying themes.&lt;br /&gt;
&lt;br /&gt;
Is der any way i can  apply themes by c# code iteself without using any third party controls.&lt;br /&gt;
&lt;br /&gt;
Please suggest some idea or example on this.&lt;br /&gt;
&lt;br /&gt;
Thanks &amp;amp; Regards,&lt;br /&gt;
&lt;br /&gt;
Soumya,&lt;br /&gt;
&lt;br /&gt;
Bangalore&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/431042/431042/changing-winform--form-appearancetitle-barborder-using-c/</guid>
      <pubDate>Tue, 22 Jan 2013 22:22:33 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>Changing winform  form appearance(title bar,Border) using C#</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/431041/431041/changing-winform--form-appearancetitle-barborder-using-c/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
   I want to change the form border and title bar style by applying themes.&lt;br /&gt;
&lt;br /&gt;
Is der any way i can  apply themes by c# code iteself without using any third party controls.&lt;br /&gt;
&lt;br /&gt;
Please suggest some idea or example on this.&lt;br /&gt;
&lt;br /&gt;
Thanks &amp;amp; Regards,&lt;br /&gt;
&lt;br /&gt;
Soumya,&lt;br /&gt;
&lt;br /&gt;
Bangalore&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/431041/431041/changing-winform--form-appearancetitle-barborder-using-c/</guid>
      <pubDate>Tue, 22 Jan 2013 22:19:16 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>Code not working in rdlc report</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/430266/430266/code-not-working-in-rdlc-report/</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I am creating a c# Winforms Application, using Microsoft Visual Studio 2010.&lt;br /&gt;
&lt;br /&gt;
Within this project I created a rdlc report, which is used in a report viewer. &lt;br /&gt;
&lt;br /&gt;
I've added a dataset, and when the program is ran, the fields display fine. The fields display as [Field1] or [Firstname] in design view, and show their actual value when the program has ran.&lt;br /&gt;
&lt;br /&gt;
I have added a table into the report which showes item description, quantity and price. I want to find the total of the price of the items. I have tried entering in the textbox =Sum(itemunitprice) or =Sum(fields!itemunitprice.value), and when the program has ran it doesn’t calculate the total, just displays =Sum(fields!itemunitprice.value).&lt;br /&gt;
&lt;br /&gt;
I'm not sure if this information is useful, but when I first made the report I tried to concatenate the FirstName field with the Surname field, so I tried =[Firstname] &amp;amp; " " &amp;amp; [Surname]. Once again when the program ran it displayed =[Firstname] &amp;amp; " " &amp;amp; [Surname]. When I replaced the textbox text with [Firstname] [Surname] the report displayed the data as it should. &lt;br /&gt;
&lt;br /&gt;
Thanks in advance for any help or suggestions. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Below is a link to a thread, the thread discusses the same problem I have, but does not come up with any solution:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://social.msdn.microsoft.com/Forums/pl-PL/vsreportcontrols/thread/fb42de07-2f22-4036-ba4c-078cac7e4d68"&gt;http://social.msdn.microsoft.com/Forums/pl-PL/vsreportcontrols/thread/fb42de07-2f22-4036-ba4c-078cac7e4d68&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/430266/430266/code-not-working-in-rdlc-report/</guid>
      <pubDate>Thu, 15 Nov 2012 00:02:37 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>issues in winform applications using vb.net</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/428992/428992/issues-in-winform-applications-using-vbnet/</link>
      <description>i have a win forms application in whcih i have used eports&lt;br /&gt;
&lt;br /&gt;
the reports are in a seperate folder REPORT in the application roots directory&lt;br /&gt;
&lt;br /&gt;
but when i build the application &amp;amp;amp; try to view the repoprt i get msg as report not avalibale in the bin/debug folder&lt;br /&gt;
&lt;br /&gt;
if i copy paste this report in the specified folder i get it executed&lt;br /&gt;
&lt;br /&gt;
why cant it access directly from the REPORT folder&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/428992/428992/issues-in-winform-applications-using-vbnet/</guid>
      <pubDate>Fri, 29 Jun 2012 23:28:51 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>issues in winform applications using vb.net</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/428991/428991/issues-in-winform-applications-using-vbnet/</link>
      <description>i have a win forms application in whcih i have used eports&lt;br /&gt;
&lt;br /&gt;
the reports are in a seperate folder REPORT in the application roots directory&lt;br /&gt;
&lt;br /&gt;
but when i build the application &amp;amp;amp; try to view the repoprt i get msg as report not avalibale in the bin/debug folder&lt;br /&gt;
&lt;br /&gt;
if i copy paste this report in the specified folder i get it executed&lt;br /&gt;
&lt;br /&gt;
why cant it access directly from the REPORT folder&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/428991/428991/issues-in-winform-applications-using-vbnet/</guid>
      <pubDate>Fri, 29 Jun 2012 23:24:49 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>reset winform counter  after backgroundWorker1_RunWorkerCompleted</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/427981/427981/reset-winform-counter--after-backgroundworker1_runworkercompleted/</link>
      <description>Hi &lt;br /&gt;
i have a simple winform using &lt;strong&gt;backgroundWorker1&lt;/strong&gt; &lt;br /&gt;
inside the &lt;strong&gt;backgroundWorker1_DoWork &lt;/strong&gt;i am looping and counting something&lt;br /&gt;
and show the counter on the form using &lt;strong&gt;InvokeRequired&lt;/strong&gt;&lt;br /&gt;
The problem is when click  Btn_arrang the first time everything works great&lt;br /&gt;
but when it finish the job and get to &lt;strong&gt;backgroundWorker1_RunWorkerCompleted&lt;/strong&gt;&lt;br /&gt;
and i press the button Btn_arrange_Click again the form starts at counter2 it ended tha lst time&lt;br /&gt;
&lt;strong&gt;for exapmle&lt;/strong&gt; if the counter2 was 10 the first time so the nexttime i press the arrange_click it will start from number ten even if i reset it to zero at backgroundWorker1_RunWorkerCompleted&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Here is my code with the counter&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="sourcecode"&gt; 
protected int Counter2=0;
private void Btn_arrange_Click(object sender, EventArgs e)
{
  backgroundWorker1.RunWorkerAsync();
}
private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
{
   
   for (int i = 0; i &amp;lt; 3; ++i)
   {
      Add();
      Counter2++;
   }


}


public void Add()
{
    if (Lblphotofound.InvokeRequired)
    {
        Lblphotofound.BeginInvoke(new MethodInvoker(delegate
        {
              Add();
           }));
        }
        else
        {

           Lblphotofound.Text ="found" + Counter2 ";  
               

       }



}

private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{

Counter2=0
}


&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/427981/427981/reset-winform-counter--after-backgroundworker1_runworkercompleted/</guid>
      <pubDate>Sat, 24 Mar 2012 03:16:41 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>reset winform counter  after backgroundWorker1_RunWorkerCompleted</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/427980/427980/reset-winform-counter--after-backgroundworker1_runworkercompleted/</link>
      <description>Hi &lt;br /&gt;
i have a simple winform using &lt;strong&gt;backgroundWorker1&lt;/strong&gt; &lt;br /&gt;
inside the &lt;strong&gt;backgroundWorker1_DoWork &lt;/strong&gt;i am looping and counting something&lt;br /&gt;
and show the counter on the form using &lt;strong&gt;InvokeRequired&lt;/strong&gt;&lt;br /&gt;
The problem is when click  Btn_arrang the first time everything works great&lt;br /&gt;
but when it finish the job and get to &lt;strong&gt;backgroundWorker1_RunWorkerCompleted&lt;/strong&gt;&lt;br /&gt;
and i press the button Btn_arrange_Click again the form starts at counter2 it ended tha lst time&lt;br /&gt;
&lt;strong&gt;for exapmle&lt;/strong&gt; if the counter2 was 10 the first time so the nexttime i press the arrange_click it will start from number ten even if i reset it to zero at backgroundWorker1_RunWorkerCompleted&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Here is my code with the counter&lt;/strong&gt;&lt;br /&gt;
&lt;pre class="sourcecode"&gt; 
protected int Counter2=0;
private void Btn_arrange_Click(object sender, EventArgs e)
{
  backgroundWorker1.RunWorkerAsync();
}
private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
{
   
   for (int i = 0; i &amp;lt; 3; ++i)
   {
      Add();
      Counter2++;
   }


}


public void Add()
{
    if (Lblphotofound.InvokeRequired)
    {
        Lblphotofound.BeginInvoke(new MethodInvoker(delegate
        {
              Add();
           }));
        }
        else
        {

           Lblphotofound.Text ="found" + Counter2 ";  
               

       }



}

private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
{

Counter2=0
}


&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/427980/427980/reset-winform-counter--after-backgroundworker1_runworkercompleted/</guid>
      <pubDate>Sat, 24 Mar 2012 03:14:34 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>c#</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/423233/423233/c/</link>
      <description>hi!!&lt;br /&gt;
I have a problem to making in urdu text editor.&lt;br /&gt;
i had done some work on urdu characters,&lt;br /&gt;
i work on unicode, but some keys are still not working, like delete key, backspace key and numbers keys are not working, and when I press enter the cursor moves to next line but there is a 0 appear with cursor that was not removed so in order to remove the 0 I do restart the application... Can any one help me.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
ghufran_siddiqui@hotmail.com&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/423233/423233/c/</guid>
      <pubDate>Fri, 15 Apr 2011 13:16:02 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>Winform cell_click event acts strange</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/423229/423229/winform-cell_click-event-acts-strange/</link>
      <description>Form has a filter option at top and an editable grid with a save button. &lt;br /&gt;
&lt;br /&gt;
Standard stuff to test for Did they click the button in the grid?&lt;br /&gt;
&lt;br /&gt;
// Tests for Save button pressed and acts upon it.&lt;br /&gt;
        void dgPayerLocations_CellClick(object sender, DataGridViewCellEventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
            string wer = "";   // test to get cycle count&lt;br /&gt;
            // Ignore clicks that are not on button cells.&lt;br /&gt;
            if (e.RowIndex &amp;lt; 0 || e.ColumnIndex !=&lt;br /&gt;
                dgPayerLocations.Columns[11].Index) return;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Works all the time. &lt;br /&gt;
&lt;br /&gt;
My filter setup is straight forward. &lt;br /&gt;
&lt;br /&gt;
private void btTextSearch_Click(object sender, EventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
            String safe =tbTextSearch.Text;&lt;br /&gt;
            if (safe.Trim() == "")  // Reset the list to full&lt;br /&gt;
            {&lt;br /&gt;
                this.pl = null;&lt;br /&gt;
                this.pl = DataAccess.getCarrTab();&lt;br /&gt;
                dgPayerLocations.AutoGenerateColumns = false;&lt;br /&gt;
                dgPayerLocations.DataSource = pl;&lt;br /&gt;
                removeCols();&lt;br /&gt;
                addColumns(this.payers);&lt;br /&gt;
            }&lt;br /&gt;
&lt;br /&gt;
            else&lt;br /&gt;
            {&lt;br /&gt;
                this.pl = null;&lt;br /&gt;
                this.pl = DataAccess.getCarrTabFiltered(tbTextSearch.Text);&lt;br /&gt;
                dgPayerLocations.AutoGenerateColumns = false;&lt;br /&gt;
                dgPayerLocations.DataSource = pl;&lt;br /&gt;
                removeCols();&lt;br /&gt;
                addColumns(this.payers);&lt;br /&gt;
            }&lt;br /&gt;
&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
When I use a filter I will loop through the cell_click event for each time I have changed the filter? &lt;br /&gt;
&lt;br /&gt;
I use no filters, one on time through cell_click event.&lt;br /&gt;
&lt;br /&gt;
Identify first filter and I cycle through the cell_click event twice.  ??????&lt;br /&gt;
&lt;br /&gt;
Change filters 5,6,7 times and I will cycle through this a lot!  WHY?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Anyone have a heads up on this?&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
TIA&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/423229/423229/winform-cell_click-event-acts-strange/</guid>
      <pubDate>Fri, 15 Apr 2011 09:32:33 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>DataGridViewComboBoxColumn</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/417804/417804/datagridviewcomboboxcolumn/</link>
      <description>hello every body.&lt;br /&gt;
&lt;br /&gt;
i have 2 datagridview.&lt;br /&gt;
&lt;br /&gt;
first gridview contains comboboxes,that create dynamically with DataGridViewComboBoxColumn.&lt;br /&gt;
&lt;br /&gt;
so...&lt;br /&gt;
each column have a 1 combobox in top of itselft.&lt;br /&gt;
&lt;br /&gt;
i want to when i choose a item in 1 or more combobox,those column under that combobox,insert to database.&lt;br /&gt;
&lt;br /&gt;
for example:&lt;br /&gt;
&lt;br /&gt;
3 column&lt;br /&gt;
so..3 combobox top of these.&lt;br /&gt;
&lt;br /&gt;
i want to select one item (for example : title ) of combobox 1,and then all of rows in column 1,insert to sample table,to title field.&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=1818"&gt;untitled.JPG&lt;/a&gt; (35408 bytes | downloaded 98 times)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/417804/417804/datagridviewcomboboxcolumn/</guid>
      <pubDate>Mon, 12 Jul 2010 06:14:39 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/417674/417700/this-post-has-been-deleted/#417700</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/417674/417700/this-post-has-been-deleted/#417700</guid>
      <pubDate>Tue, 06 Jul 2010 20:49:04 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>Re: Problem In Setup and Deployment</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/417674/417699/re-problem-in-setup-and-deployment/#417699</link>
      <description>Hi All,&lt;br /&gt;
&lt;br /&gt;
At last i solved the problem. What i did is rebooted my pc in safe mode with command prompt and executed system restore. Ah..., got all my stuffs back....&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
Prasant Panda</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/417674/417699/re-problem-in-setup-and-deployment/#417699</guid>
      <pubDate>Tue, 06 Jul 2010 20:47:14 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>Problem In Setup and Deployment</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/417674/417674/problem-in-setup-and-deployment/</link>
      <description>Hi Friends,&lt;br /&gt;
&lt;br /&gt;
I have a strange problem and I need your support to get this resolved. Recently I have created a setup and deployment project for my VB.NET application. In that seup project unknowingly I changed the command section to .exe. Now after Installing the application in my pc, whatever application I open it opens that vb.net exe file.&lt;br /&gt;
&lt;br /&gt;
Could you guys have any solution to fix this....&lt;br /&gt;
&lt;br /&gt;
Thanks and Regards,&lt;br /&gt;
&lt;br /&gt;
Prasant Panda</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/417674/417674/problem-in-setup-and-deployment/</guid>
      <pubDate>Mon, 05 Jul 2010 20:52:30 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>Pulling time from online servers thru VB.NET</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/417370/417370/pulling-time-from-online-servers-thru-vbnet/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
My requirement is to pull time from TIME SERVERS through .NET code to avoid time manipulation in my project which needs to record time for users when they start particular task and system clock can be changed to record wrong timings. I need to pull this time in IST.&lt;br /&gt;
&lt;br /&gt;
I was able to get some links but unable to write codeThe links are:&lt;br /&gt;
&lt;a href="http://www.nist.gov/physlab/div847/grp40/its.cfm"&gt;NIST Internet time service&lt;/a&gt;&lt;br /&gt;
&lt;a href="#"&gt;ftp://time-a.nist.gov/pub/daytime/&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://tf.nist.gov/tf-cgi/servers.cgi"&gt;NIST Internet Time Service clock&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.worldtimeserver.com/current_time_in_IN.aspx"&gt;Current local time in India&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
One of the above link has source code of windows utility in C# which I am not familiar with. We can just get the code from the utility that just queries the server and then use the time. We have to make the application to randomly choose a server from a list of servers if you have query lots of times as they deny requests if queried multiple times in a period.&lt;br /&gt;
&lt;br /&gt;
Please help me with sample code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;CROSS POSTING: I have also posted this same question in this VBDOTNETFORUMS in "Windows Forms Discussion Thread" too.&lt;/strong&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/417370/417370/pulling-time-from-online-servers-thru-vbnet/</guid>
      <pubDate>Mon, 21 Jun 2010 22:55:47 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>GDI+ Enumeration</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/416712/416712/gdi+-enumeration/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I was trying to enumerate an emf using EnumerateMetafile for one of my tool which needs to parse EMF.However what i notice is that not all GDIComment records are enumerated.Also Since GDIComment records may have GDI+ calls , GDI+ calls inside  comments are enumerated but only the inner GDI+ comments are enumerated ,how do i know if these GDI+ comments are encapsulated inside a GDI+ comment body?&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
if the content of emf is :&lt;br /&gt;
&lt;br /&gt;
EmfMin&lt;br /&gt;
EmfGdiComment&lt;br /&gt;
	Header&lt;br /&gt;
EmfGdiComment&lt;br /&gt;
	SetAntiAliasMode&lt;br /&gt;
	SetTextRenderingHint&lt;br /&gt;
	SetPageTransform&lt;br /&gt;
	SetInterpolationMode&lt;br /&gt;
	SetPixelOffsetMode&lt;br /&gt;
	SetWorldTransform&lt;br /&gt;
	GetDC&lt;br /&gt;
EmfSaveDC&lt;br /&gt;
EmfGdiComment&lt;br /&gt;
EmfRestoreDC&lt;br /&gt;
EmfGdiComment&lt;br /&gt;
	GetDC&lt;br /&gt;
EmfSaveDC&lt;br /&gt;
...&lt;br /&gt;
...&lt;br /&gt;
EmfEof&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When enumerated , in my callback , I get callbacks in the following manner:&lt;br /&gt;
&lt;br /&gt;
EmfMin&lt;br /&gt;
Header &amp;lt;-- Inside EMFGdiComment&lt;br /&gt;
SetAntiAliasMode &amp;lt;--Inside EMFGdiComment&lt;br /&gt;
SetTextRenderingHint&lt;br /&gt;
SetPageTransform&lt;br /&gt;
SetInterpolationMode&lt;br /&gt;
SetPixelOffsetMode&lt;br /&gt;
SetWorldTransform&lt;br /&gt;
GetDC&lt;br /&gt;
EmfSaveDC&lt;br /&gt;
EmfGdiComment&lt;br /&gt;
EmfRestoreDC&lt;br /&gt;
GetDC &amp;lt;--Inside EMFGdiComment &lt;br /&gt;
EmfSaveDC&lt;br /&gt;
...&lt;br /&gt;
...&lt;br /&gt;
EmfEof&lt;br /&gt;
&lt;br /&gt;
Any suggestions?</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/416712/416712/gdi+-enumeration/</guid>
      <pubDate>Tue, 25 May 2010 00:54:13 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/415741/415741/this-post-has-been-deleted/</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/415741/415741/this-post-has-been-deleted/</guid>
      <pubDate>Thu, 22 Apr 2010 00:32:39 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>Calculated Columns in Type Dataset (VS 2005)</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/415359/415359/calculated-columns-in-type-dataset-vs-2005/</link>
      <description>Hi there. I've been into C# for a while and for my atonishment I'm stuck in the most absurd thing:&lt;br /&gt;
&lt;br /&gt;
1)I'm using VS 2005 and a Type Dataset( C# AND WINFORM)&lt;br /&gt;
2)I add two tables (Parent and child) with the proper relation &lt;br /&gt;
3)I add a calculated column in the child table with the following expression (Parent.[columnname])to retrieve data from the Parent table&lt;br /&gt;
&lt;br /&gt;
4)At run time the calculated column returns just only null vale. &lt;br /&gt;
&lt;br /&gt;
I don't really know what's wrong generating calculated columns with Type dataset.I use to create almost the bussiness logic in code but need to develop fast this time. I don't have problem when I approach the same "in the fly".&lt;br /&gt;
&lt;br /&gt;
Is there some trick with the strong type dataset I'm missing?. I've try modifying the relation between tables and it seems this isn't the problem.&lt;br /&gt;
&lt;br /&gt;
PLEASE HELP !!!.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Was This Post Helpful?  &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/415359/415359/calculated-columns-in-type-dataset-vs-2005/</guid>
      <pubDate>Mon, 12 Apr 2010 01:45:10 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/415358/415358/this-post-has-been-deleted/</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/415358/415358/this-post-has-been-deleted/</guid>
      <pubDate>Mon, 12 Apr 2010 01:43:19 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>how to make a new theme for my application</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/413973/413973/how-to-make-a-new-theme-for-my-application/</link>
      <description>hello every body,&lt;br /&gt;
i want to know how to set a theme for my applications under vb.net if it's possible?.&lt;br /&gt;
can you help me please. Have a nice time&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/413973/413973/how-to-make-a-new-theme-for-my-application/</guid>
      <pubDate>Sat, 27 Feb 2010 04:11:34 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>ethernet hyperterminal differnet from C#</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/413593/413593/ethernet-hyperterminal-differnet-from-c/</link>
      <description>hello, I am having a microprocessor communicating with a C# windows form application for receiving data through ethernet. initially i start a communication with the microprocessor and the values are being displayued on the tesxtbox using the invoke function(thread delegate used). But sometimes, it looks like there has been a buffer overflow on the textbox, i recveive some junk values and the communication stops. has anyone come across this problem. Quite not sure what is happening. the data that the microprocessor is sending is of a fixed size and has a '\0' at the end.please help&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/413593/413593/ethernet-hyperterminal-differnet-from-c/</guid>
      <pubDate>Wed, 17 Feb 2010 06:30:01 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>Re: Pliz help me sum contents of a datagrid view  column  in vb 2005</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/411622/411668/re-pliz-help-me-sum-contents-of-a-datagrid-view--column--in-vb-2005/#411668</link>
      <description>Dim s As Double = 0 'sum result&lt;br /&gt;
Dim colNum As Integer 'column number (zero-based)&lt;br /&gt;
'dgvData is your DataGridView&lt;br /&gt;
For Each r As DataGridViewRow In dgvData.Rows&lt;br /&gt;
    colNum = 0 'first column&lt;br /&gt;
    s += Val(r.Cells.Item(colNum).Value)&lt;br /&gt;
Next&lt;br /&gt;
Sharbell K. Mouess</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/411622/411668/re-pliz-help-me-sum-contents-of-a-datagrid-view--column--in-vb-2005/#411668</guid>
      <pubDate>Fri, 08 Jan 2010 02:00:51 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
    <item>
      <title>Pliz help me sum contents of a datagrid view  column  in vb 2005</title>
      <link>http://www.programmersheaven.com/mb/DotNetWinForms/411622/411622/pliz-help-me-sum-contents-of-a-datagrid-view--column--in-vb-2005/</link>
      <description>I have a column in datagrid that displays all the prices. I want to sum up all the values from all the rows of that column and display it as a label. How can I sum up the data??&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/DotNetWinForms/411622/411622/pliz-help-me-sum-contents-of-a-datagrid-view--column--in-vb-2005/</guid>
      <pubDate>Thu, 07 Jan 2010 02:19:45 -0700</pubDate>
      <category>.NET WinForms</category>
    </item>
  </channel>
</rss>