<?xml version="1.0" ?><rss version="2.0" xmlns:ec="http://www.eggheadcafe.com"><channel><title>eggheadcafe.com Unanswered Posts</title><link>http://www.eggheadcafe.com</link><pubDate>Fri, 10 Feb 2012 21:04:17 GMT</pubDate><description>EggHeadCafe - The .NET developer's portal of choice</description><language>en-us</language><item><title><![CDATA[Logic Test for a Job at NOS]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420602/logic-test-for-a-job-at-nos.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420602/logic-test-for-a-job-at-nos.aspx]]></link><description><![CDATA[Hello I have to take logic test to get a job at NOS Communications. I&acute;m really worried about it, and I want to get a very good score so I can actually pass to the technical interview. Is there any suggestions for improving my logical thinking?&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10420602/logic-test-for-a-job-at-nos.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 10 Feb 2012 19:51:38 GMT</pubDate></item><item><title><![CDATA[Compilación en VB6 demasiaaaaaaaaado lenta.]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/vb6/8/10420596/compilacin-en-vb6-demasiaaaaaaaaado-lenta.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/vb6/8/10420596/compilacin-en-vb6-demasiaaaaaaaaado-lenta.aspx]]></link><description><![CDATA[Hola, tengo el mismo problema reportado con la compilacion en VB6, de la noche a la ma&ntilde;ana la compilaci&oacute;n se ha hecho demasiado lenta, demorando mas de media hora, <br />
estoy usando Windows 7 Ultimate<br />
<br />
hasta la semana pasada esta todo bien, compilaba en un tiempo normal.<br />
<br />
pero ahora no, es un problema ya que estoy haciendo cambios en mi sistema y la compilaci&oacute;n demora demasiado.<br />
<br />
<br />
Saludos, y gracias d antemano.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/vb6/8/10420596/compilacin-en-vb6-demasiaaaaaaaaado-lenta.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 10 Feb 2012 18:07:38 GMT</pubDate></item><item><title><![CDATA[Installing SSIS]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sql-server/13/10420583/installing-ssis.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sql-server/13/10420583/installing-ssis.aspx]]></link><description><![CDATA[Hello, could any one advise : we have 2 options: ssis on same db engine or having 2 separate servers.<br />
Please suggest which option is good and why?<br />
<br />
Please help to provide any&nbsp;architectural&nbsp;referee links.<br />
<br />
Thank you.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sql-server/13/10420583/installing-ssis.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 10 Feb 2012 14:37:20 GMT</pubDate></item><item><title><![CDATA[unwanted dot in picture frame]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/publisher/93/10420521/unwanted-dot-in-picture-frame.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/publisher/93/10420521/unwanted-dot-in-picture-frame.aspx]]></link><description><![CDATA[I am getting an unwanted dot at the top center of any border than I am adding to a photo. It only shows when I print preview and print...it's not there when I am working on the document. Any idea? I am having the document professionally printed and they have already told me they are seeing the dot, as well.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/publisher/93/10420521/unwanted-dot-in-picture-frame.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 10 Feb 2012 10:40:59 GMT</pubDate></item><item><title><![CDATA[ignore mathematical equations when extracting inline shapes from word]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10420423/ignore-mathematical-equations-when-extracting-inline-shapes-from-word.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10420423/ignore-mathematical-equations-when-extracting-inline-shapes-from-word.aspx]]></link><description><![CDATA[&nbsp;How to ignore mathematical equations when extracting inline shapes from MS WORD using C#.NET?<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/csharp/2/10420423/ignore-mathematical-equations-when-extracting-inline-shapes-from-word.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 10 Feb 2012 06:13:18 GMT</pubDate></item><item><title><![CDATA[Powershell script to install wsp and deploy webparts]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10420396/powershell-script-to-install-wsp-and-deploy-webparts.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10420396/powershell-script-to-install-wsp-and-deploy-webparts.aspx]]></link><description><![CDATA[Hello!<br />
<br />
I need help with a powershell script that install and deploy wsp.. Can you guys link me som tutorials?<br />
<br />
Have a nice day!&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sharepoint/69/10420396/powershell-script-to-install-wsp-and-deploy-webparts.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 10 Feb 2012 05:27:19 GMT</pubDate></item><item><title><![CDATA[for loop]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420374/for-loop.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420374/for-loop.aspx]]></link><description><![CDATA[&nbsp;&nbsp; Dim days As Integer = GridView1.Rows.Count - 1 = LeaveID<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; days = GridView1.Rows.Count<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ii As Integer<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For ii = 0 To days<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (TotalLeaveBalance &lt;&gt; 0) And (RemainingLeave &lt;&gt; 0) Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TotalLeaveBalance = TotalLeaveBalance - NoOfDays<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RemainingLeave = RemainingLeave - NoOfDays<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RL1 = RemainingLeave<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<br />
&nbsp;in the grid view number of leave status id is their when i using....... check box when selecting the two or number of same leave when click to approve then .... in the for loop in the same leave one by one leave will be minus like that we will do.... so what to do ... above for loop not working when i counting the leavestatusid then only one status id only taking .... all the leave will be minus... please give me the solution plz ...... how to for loop using one by one leave status id leave will deduct&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10420374/for-loop.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 10 Feb 2012 04:44:33 GMT</pubDate></item><item><title><![CDATA[differentiate inline shapes and equations in MS WORD]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10420371/differentiate-inline-shapes-and-equations-in-ms-word.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10420371/differentiate-inline-shapes-and-equations-in-ms-word.aspx]]></link><description><![CDATA[How to differentiate embedded Word inline shapes and embedded equations in MS WORD from C#.NET<br />
<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/csharp/2/10420371/differentiate-inline-shapes-and-equations-in-ms-word.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 10 Feb 2012 04:40:44 GMT</pubDate></item><item><title><![CDATA[Join Codings]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420324/join-codings.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420324/join-codings.aspx]]></link><description><![CDATA[How to join this codings into my full codings:<br />
<br />
<br />
This is my 1st codings want to join in my full codings:<br />
<br />
<font color="#0000ff" size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p>if<font size="2"> (RadioButtonList1.SelectedIndex == 0)</font></p>
</font></font></font><font size="2">
<p>{</p>
LinkButton lkbupd = (LinkButton)e.CommandSource <font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font> LinkButton;<font size="2">
<p>GridViewRow row = lkbupd.NamingContainer </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> GridViewRow;</font></p>
<font size="2"></font></font><font size="2">Label lbid = (Label)row.FindControl(<font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font>);<font size="2">
<p>TextBox txfrdate = (TextBox)row.FindControl(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"txtfrdate"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">TextBox txtodate = (TextBox)row.FindControl(<font color="#a31515" size="2"><font color="#a31515" size="2">"txttodate"</font></font>);<font size="2">
<p>TextBox txtitle = (TextBox)row.FindControl(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"txttitle"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">TextBox txdescription = (TextBox)row.FindControl(<font color="#a31515" size="2"><font color="#a31515" size="2">"txtdescription"</font></font>);<font size="2">
<p>RadioButtonList txradiocategory = (RadioButtonList)row.FindControl(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"radiotype"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> SqlCommand(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"update agentoffer set fromdate='"</font></font><font size="2"> + txfrdate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',todate='"</font></font><font size="2"> + txtodate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',title='"</font></font><font size="2"> + txtitle.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',description='"</font></font><font size="2"> + txdescription.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',category='"</font></font><font size="2"> + txradiocategory.SelectedItem.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' where id='"</font></font><font size="2"> + lbid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font>, con);
<p>cmd.ExecuteNonQuery();</p>
<p>GridView1.EditIndex = -1;</p>
<font size="2">
<p>Response.Write(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"Updated Successfully"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">
<p>bindgrid();</p>
<p>&nbsp;</p>
cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> SqlCommand(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"insert into memoffer values (@fromdate,@todate,@title,@description,@category)"</font></font>, con);<font size="2">
<p>cmd.Parameters.AddWithValue(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"fromdate"</font></font><font size="2">, TextBox1.Text);</font></p>
<font size="2"></font></font><font size="2">cmd.Parameters.AddWithValue(<font color="#a31515" size="2"><font color="#a31515" size="2">"todate"</font></font>, TextBox2.Text);<font size="2">
<p>cmd.Parameters.AddWithValue(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"title"</font></font><font size="2">, TextBox3.Text);</font></p>
<font size="2"></font></font><font size="2">cmd.Parameters.AddWithValue(<font color="#a31515" size="2"><font color="#a31515" size="2">"description"</font></font>, TextBox4.Text);<font size="2">
<p>cmd.Parameters.AddWithValue(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"category"</font></font><font size="2">, RadioButtonList1.SelectedItem.Text);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
TextBox1.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font>;<font size="2">
<p>TextBox2.Text = </p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">TextBox3.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font>;<font size="2">
<p>TextBox4.Text = </p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">
<p>RadioButtonList1.ClearSelection();</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"&lt;script&gt;alert('Successfull');&lt;/script&gt;"</font></font>);
<p>bindgrid1();</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (RadioButtonList1.SelectedIndex == 1)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
LinkButton lkbupd = (LinkButton)e.CommandSource <font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font> LinkButton;<font size="2">
<p>GridViewRow row = lkbupd.NamingContainer </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> GridViewRow;</font></p>
<font size="2"></font></font><font size="2">Label lbid = (Label)row.FindControl(<font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font>);<font size="2">
<p>TextBox txfrdate = (TextBox)row.FindControl(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"txtfrdate"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">TextBox txtodate = (TextBox)row.FindControl(<font color="#a31515" size="2"><font color="#a31515" size="2">"txttodate"</font></font>);<font size="2">
<p>TextBox txtitle = (TextBox)row.FindControl(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"txttitle"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">TextBox txdescription = (TextBox)row.FindControl(<font color="#a31515" size="2"><font color="#a31515" size="2">"txtdescription"</font></font>);<font size="2">
<p>RadioButtonList txradiocategory = (RadioButtonList)row.FindControl(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"radiotype"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> SqlCommand(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"update memoffer set fromdate='"</font></font><font size="2"> + txfrdate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', todate='"</font></font><font size="2"> + txtodate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', title='"</font></font><font size="2"> + txtitle.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', description='"</font></font><font size="2"> + txdescription.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', category='"</font></font><font size="2"> + txradiocategory.SelectedItem.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' where id='"</font></font><font size="2"> + lbid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font>, con);
<p>cmd.ExecuteNonQuery();</p>
<p>GridView2.EditIndex = -1;</p>
<font size="2">
<p>Response.Write(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"Updated Successfully"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">
<p>bindgrid1();</p>
<p>&nbsp;</p>
cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> SqlCommand(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"insert into agentoffer values (@fromdate,@todate,@title,@description,@category)"</font></font>, con);<font size="2">
<p>cmd.Parameters.AddWithValue(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"fromdate"</font></font><font size="2">, TextBox1.Text);</font></p>
<font size="2"></font></font><font size="2">cmd.Parameters.AddWithValue(<font color="#a31515" size="2"><font color="#a31515" size="2">"todate"</font></font>, TextBox2.Text);<font size="2">
<p>cmd.Parameters.AddWithValue(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"title"</font></font><font size="2">, TextBox3.Text);</font></p>
<font size="2"></font></font><font size="2">cmd.Parameters.AddWithValue(<font color="#a31515" size="2"><font color="#a31515" size="2">"description"</font></font>, TextBox4.Text);<font size="2">
<p>cmd.Parameters.AddWithValue(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"category"</font></font><font size="2">, RadioButtonList1.SelectedItem.Text);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
TextBox1.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font>;<font size="2">
<p>TextBox2.Text = </p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">TextBox3.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font>;<font size="2">
<p>TextBox4.Text = </p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">
<p>RadioButtonList1.ClearSelection();</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"&lt;script&gt;alert('Successfull');&lt;/script&gt;"</font></font>);
<p>bindgrid();</p>
<p>&nbsp;</p>
<p>}</p>
</font><br />
<br />
<br />
This is my full codings:<br />
<br />
<font size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">protected</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">void</font></font><font size="2"> GridView1_RowCommand(</font><font color="#0000ff" size="2"><font color="#0000ff" size="2">object</font></font><font size="2"> sender, </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewCommandEventArgs</font></font> e)
<p>{</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">try</font></font></p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font><font size="2">
<p>{</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (con.State == </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">ConnectionState</font></font>.Closed)
<p>{</p>
<p>con.Open();</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"can"</font></font><font size="2">)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
<p>GridView1.EditIndex = -1;</p>
<p>bindgrid();</p>
<p>}</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"upd"</font></font>)
<p>{</p>
<p>&nbsp;</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lkbupd = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lkbupd.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2"> lbid = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txfrdate = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txtfrdate"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txtodate = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txttodate"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txtitle = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txttitle"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txdescription = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txtdescription"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">RadioButtonList</font></font><font size="2"> txradiocategory = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">RadioButtonList</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"radiotype"</font></font>);
<p>&nbsp;</p>
<font size="2">
<p>cmd = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"update agentoffer set fromdate='"</font></font><font size="2"> + txfrdate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',todate='"</font></font><font size="2"> + txtodate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',title='"</font></font><font size="2"> + txtitle.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',description='"</font></font><font size="2"> + txdescription.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',category='"</font></font><font size="2"> + txradiocategory.SelectedItem.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' where id='"</font></font><font size="2"> + lbid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font><font size="2">, con);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
<p>GridView1.EditIndex = -1;</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"Updated Successfully"</font></font>);
<p>bindgrid();</p>
<p>&nbsp;</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"del"</font></font><font size="2">)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
<font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lnkdel = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lnkdel.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2"> lid = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font>);<font size="2">
<p>cmd = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"delete from agentoffer where id='"</font></font><font size="2"> + lid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font><font size="2">, con);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"Deleted Successfully"</font></font>);
<p>bindgrid();</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"Edit"</font></font><font size="2">)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
<font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lnkedit = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lnkedit.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">lbradio = (<font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblcategory"</font></font>);
<p>}</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">catch</font></font><font size="2"> (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Exception</font></font><font size="2"> ex)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"Error:"</font></font> + ex.ToString());
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">finally</font></font></p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font><font size="2">
<p>{</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (con.State == </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">ConnectionState</font></font>.Open)
<p>{</p>
<p>con.Close();</p>
<p>}</p>
<p>}</p>
<p>}</p>
</font><br />
<br />
<font color="#0000ff" size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p>protected<font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">void</font></font><font size="2"> GridView2_RowCommand(</font><font color="#0000ff" size="2"><font color="#0000ff" size="2">object</font></font><font size="2"> sender, </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewCommandEventArgs</font></font><font size="2"> e)</font></p>
</font></font></font><font size="2">
<p>{</p>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">try</font></font></p>
</font><font size="2">
<p>{</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (con.State == </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">ConnectionState</font></font>.Closed)
<p>{</p>
<p>con.Open();</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"can"</font></font><font size="2">)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
<p>GridView2.EditIndex = -1;</p>
<p>bindgrid1();</p>
<p>}</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"upd"</font></font>)
<p>{</p>
<p>&nbsp;</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lkbupd = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lkbupd.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2"> lbid = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txfrdate = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txtfrdate"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txtodate = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txttodate"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txtitle = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txttitle"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txdescription = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txtdescription"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">RadioButtonList</font></font><font size="2"> txradiocategory = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">RadioButtonList</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"radiotype"</font></font>);
<p>&nbsp;</p>
<font size="2">
<p>cmd = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"update memoffer set fromdate='"</font></font><font size="2"> + txfrdate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', todate='"</font></font><font size="2"> + txtodate.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', title='"</font></font><font size="2"> + txtitle.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', description='"</font></font><font size="2"> + txdescription.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"', category='"</font></font><font size="2"> + txradiocategory.SelectedItem.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' where id='"</font></font><font size="2"> + lbid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font><font size="2">, con);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
<p>GridView2.EditIndex = -1;</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"Updated Successfully"</font></font>);
<p>bindgrid1();</p>
<p>&nbsp;</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"del"</font></font><font size="2">)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
<font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lnkdel = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lnkdel.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2"> lid = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font>);<font size="2">
<p>cmd = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"delete from memoffer where id='"</font></font><font size="2"> + lid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font><font size="2">, con);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"Deleted Successfully"</font></font>);
<p>bindgrid1();</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"Edit"</font></font><font size="2">)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
<font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lnkedit = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lnkedit.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">lbradio = (<font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblcategory"</font></font>);
<p>}</p>
<p>&nbsp;</p>
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">catch</font></font><font size="2"> (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Exception</font></font><font size="2"> ex)</font></p>
<font size="2"></font></font><font size="2">
<p>{</p>
Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"Error:"</font></font> + ex.ToString());
<p>}</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">finally</font></font></p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font><font size="2">
<p>{</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (con.State == </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">ConnectionState</font></font>.Open)
<p>{</p>
<p>con.Close();</p>
<p>}</p>
<p>}</p>
<p>&nbsp;</p>
<p>}</p>
<p>&nbsp;</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p >how to join my 1st codings into second codings:<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</p>
</font>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10420324/join-codings.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 10 Feb 2012 02:51:48 GMT</pubDate></item><item><title><![CDATA[list view prblm]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10420308/list-view-prblm.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10420308/list-view-prblm.aspx]]></link><description><![CDATA[<font color="#0c0c0c">i am showing some room nos. in the list view like below imge. these are static rooms&nbsp;:<br />
<br />
</font><img alt="" src="/FileUpload/1190913002/Untitleeed.png" /><br />
<br />
<font color="#0c0c0c">i have two columns in database roomno and flag.<br />
</font><br />
<img alt="" src="/FileUpload/1190913002/gsdg.png" /><br />
actually what i want is whatever rooms this query retreives (<font size="2"><font color="#ff0000" size="2">string sql = "select roomno from roominformation where floor = 'ground' and flag ='1'";</font></font>) that room nos. in the list view should should show red image from the imagelist ctrl and else of the room nos in the list view show green image like below : i have added imagelist ctrl in my project which have two images red and green and i also set largeimagelist property of listview to imagelist1.<br />
<br />
<img alt="" src="/FileUpload/1190913002/Untitleed.png" /><br />
hope it is clear to u all now....&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/csharp/2/10420308/list-view-prblm.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 10 Feb 2012 02:11:20 GMT</pubDate></item><item><title><![CDATA[System Center Operations Manager Data Warehouse login failure fix?]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/other/36/10420292/system-center-operations-manager-data-warehouse-login-failure-fix.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/other/36/10420292/system-center-operations-manager-data-warehouse-login-failure-fix.aspx]]></link><description><![CDATA[I searched for the error text "<strong><span name="subject">Exception 'SqlException': Login failed for user</span> </strong>" and&nbsp;one of the results was a posting on System Center web page&nbsp;with the following text:<br />
<br />
"I have little trouble, I typed account to 'Reporting SDK SQL Server Authentication Account' and 'Data Warehouse SQL Server Authentication Account' with privilegia on SQL, but now SCOM isn't working, isn't writing to db. Before it when I typed, account was empty, now I can't to clear it. It has anywhere how to set security for this accounts?"<br />
<br />
The&nbsp;link shown below was also posted with a statement that there was a resolution but when I clicked on the link I&nbsp;went to an EggheadCafe page with a link to sign up.<br />
<br />
Does this link lead to a resolution for the error text I searched for above?<br />
<br />
<a href="http://www.eggheadcafe.com/software/aspnet/30282292/related-issues-no-data-i.aspx">http://www.eggheadcafe.com/software/aspnet/30282292/related-issues-no-data-i.aspx</a><br />
<br />
Thank you<br />
<br />
jim&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/other/36/10420292/system-center-operations-manager-data-warehouse-login-failure-fix.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 10 Feb 2012 10:46:40 GMT</pubDate></item><item><title><![CDATA[Option to store vsd, dwg files]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10420218/option-to-store-vsd-dwg-files.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10420218/option-to-store-vsd-dwg-files.aspx]]></link><description><![CDATA[private bool VerifyExtension(string fileName)<br />
&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bool value = false;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string[] fileExtension = new string[] { <font color="#ff0000">".doc", ".docx", ".xls", ".xlsx", ".ppt", ".pps", ".pptx", ".jpeg", ".jpg", ".pdf", ".txt"</font> };<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string fileNameExtension= Path.GetExtension(fileName);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (int i = 0; i &lt; fileExtension.Length; i++)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (fileNameExtension == fileExtension[i])<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value = true;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return value;<br />
&nbsp;&nbsp;&nbsp; }<br />
<br />
<strong>uploaded above File List. <font color="#ff0000">vsd, dwg</font>&nbsp; files not Uploaded .I want<font color="#ff0000"> vsd,dwg </font>Files Allow the Uploaded.</strong>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/csharp/2/10420218/option-to-store-vsd-dwg-files.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 23:30:00 GMT</pubDate></item><item><title><![CDATA[rms]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/other/39/10420208/rms.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/other/39/10420208/rms.aspx]]></link><description><![CDATA[Hi can anybody help me I'm trying to load dll file to store operation POS,. but everytime i load my dll file it says<br />
"atttemp to execute COM object C:\Documents and Settings\rms\Desktop\MyDll.dll failed. Could not create object."<br />
I already regiser my dll in the registry but still nothing happened.<br />
<br />
please help,. thanks in advance.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/other/39/10420208/rms.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 21:29:50 GMT</pubDate></item><item><title><![CDATA[How to synchronize records between FormView and ListView?]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/linq/63/10420204/how-to-synchronize-records-between-formview-and-listview.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/linq/63/10420204/how-to-synchronize-records-between-formview-and-listview.aspx]]></link><description><![CDATA[I'm using linqdatasource to display a single record in a formview&nbsp;and want to have a listview or detailsview show the record(s) that match a particular field in the Formview.&nbsp; This field is the primary key to the table I wish to display in the listview or details view.&nbsp; As the user pages through the formview (read only) I want to display the appropriate record(s).&nbsp; I've tried QueryString parameters, Control parameters but nothing works.&nbsp; If I put an actual record id in the defaultvalue, I do get data.&nbsp; In other word, I just want to sync the two forms...&nbsp;&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/linq/63/10420204/how-to-synchronize-records-between-formview-and-listview.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 19:34:25 GMT</pubDate></item><item><title><![CDATA[MAC OSX and kerberos]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10420142/mac-osx-and-kerberos.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10420142/mac-osx-and-kerberos.aspx]]></link><description><![CDATA[Hello all,<br />
I have a sharepoint 2010 multi server farm environment with SQL 2008 R2. We are trying to get it toplay as nicely as possible with our lion 10.7.2 macbooks so configured it to work with kerberos following these blogs <a href="http://www.windowsecurity.com/articles/Kerberos-Sharepoint-Environment.html">http://www.windowsecurity.com/articles/Kerberos-Sharepoint-Environment.html</a>&nbsp;and <a href="http://blogs.msdn.com/b/martinkearn/archive/2007/04/23/configuring-kerberos-for-sharepoint-2007-part-1-base-configuration-for-sharepoint.aspx">http://blogs.msdn.com/b/martinkearn/archive/2007/04/23/configuring-kerberos-for-sharepoint-2007-part-1-base-configuration-for-sharepoint.aspx</a><br />
<br />
I seem to have it working in part as both firefox and safari will automatically logon to sharepoint based on the laptop logon credentials used (Active Directory on server 2008 extended to OpenDirectory).&nbsp; However when you try to open a document it prompts for a password. <br />
<br />
I have EventID 4625 in security auditing for a NULL user on the sharepoint server which looks to coincide with these attempts.&nbsp; The only identifiable information is the ip of the laptop is logged on this event.&nbsp; Nothing is logged in SQL.<br />
<br />
Has anyone encountered this and found a way to troubleshoot.<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sharepoint/69/10420142/mac-osx-and-kerberos.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 10:26:15 GMT</pubDate></item><item><title><![CDATA[how to retrieve incoming phone no on a computer from a landline]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/networking/52/10420132/how-to-retrieve-incoming-phone-no-on-a-computer-from-a-landline.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/networking/52/10420132/how-to-retrieve-incoming-phone-no-on-a-computer-from-a-landline.aspx]]></link><description><![CDATA[I want to connect my computer to a landline connection for retrieving incoming no on my computer.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
rahul&nbsp;&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/networking/52/10420132/how-to-retrieve-incoming-phone-no-on-a-computer-from-a-landline.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 09:37:37 GMT</pubDate></item><item><title><![CDATA[Add to cart]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp/5/10420083/add-to-cart.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp/5/10420083/add-to-cart.aspx]]></link><description><![CDATA[<p></p>
<p></p>
<p>
HI...
</p>
<p>i hope u can to solve problem... first problem couldn't validate the chekbox... next couldn't get the setcted items in addmenu.asp....
Please help me....its my code...
</p>
<p></p>
<p>&lt;form name="myform" action="addmenu.asp" method="post"&gt;<br />
<br />
&lt;%<br />
i=1<br />
Set pdt=Server.CreateObject("ADODB.RecordSet")<br />
product="select PRODUCT_ID,PRODUCT_NAME,CATEGORY_ID,MRP_PRICE from PRODUCT_TRN where CATEGORY_ID='"&amp;catgid&amp;"'"<br />
pdt.open(product),con,3,3<br />
while not pdt.eof<br />
pdt_id=pdt("PRODUCT_ID")<br />
pdt_name=pdt("PRODUCT_NAME")<br />
categ_id=pdt("CATEGORY_ID")<br />
rate=pdt("MRP_PRICE")<br />
'response.write(pdt_name&amp;"&lt;br/&gt;")<br />
if (j mod 2)&lt;&gt;0 then<br />
ForeColor="#fce4e4"<br />
else<br />
ForeColor="#fe6767"<br />
end if<br />
'response.write(i)<br />
%&gt;<br />
&lt;script type="text/javascript"&gt;<br />
function showHint&lt;%=i%&gt;(str)<br />
{<br />
if (str.length==0)<br />
{ <br />
document.getElementById("txtHint&lt;%=i%&gt;").innerHTML="";<br />
return;<br />
}<br />
if (window.XMLHttpRequest)<br />
{// code for IE7+, Firefox, Chrome, Opera, Safari<br />
xmlhttp=new XMLHttpRequest();<br />
}<br />
else<br />
{// code for IE6, IE5<br />
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");<br />
}<br />
xmlhttp.onreadystatechange=function()<br />
{<br />
if (xmlhttp.readyState==4 &amp;&amp; xmlhttp.status==200)<br />
{<br />
document.getElementById("txtHint&lt;%=i%&gt;").innerHTML=xmlhttp.responseText;<br />
}<br />
}<br />
xmlhttp.open("GET","hotel.asp?q="+str,true);<br />
xmlhttp.send();<br />
}<br />
&lt;/script&gt;<br />
&lt;div style="width:990px; height:38px; background-color:&lt;%=ForeColor%&gt;; padding:3px 0px 2px 0px"&gt;<br />
&lt;div style="width:350px; float:left; padding:3px 0px 2px 0px; color:#000000; background-color:&lt;%=ForeColor%&gt;" &gt;&lt;font size="2px"&gt;&amp;nbsp;&lt;input type="checkbox" name="chk" id="chk" value="&lt;%=pdt_id%&gt;"/&gt;&amp;nbsp;&lt;%=pdt_name%&gt;&lt;/font&gt;&lt;/div&gt;<br />
&lt;div style="width:150px; float:left; padding:3px 0px 2px 0px; color:#000000; background-color:&lt;%=ForeColor%&gt;" align="right"&gt;&lt;font size="2px"&gt;1&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/div&gt;<br />
&lt;div style="width:150px; float:left; padding:3px 0px 2px 0px; color:#000000; background-color:&lt;%=ForeColor%&gt;" align="right"&gt;&lt;font size="2px"&gt;&lt;%=rate%&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/div&gt;<br />
&lt;div style="width:150px; float:left; padding:3px 0px 2px 0px; color:#000000; background-color:&lt;%=ForeColor%&gt;" align="right"&gt;&lt;font size="2px"&gt;<br />
&lt;select name="sel" id="" onChange="showHint&lt;%=i%&gt;(this.value)"&gt;<br />
&lt;option value="0"&gt;Select&lt;/option&gt;<br />
&lt;%<br />
'**Start Encode**<br />
For count = 1 to 10<br />
%&gt;<br />
&lt;option value="&lt;%=count%&gt;,&lt;%=rate%&gt;,&lt;%=pdt_id%&gt;"&gt;&lt;%=count%&gt;&lt;/option&gt;<br />
&lt;%<br />
'**Start Encode**<br />
Next<br />
%&gt;<br />
&lt;/select&gt;&lt;/font&gt;&lt;/div&gt;<br />
&lt;div id="txtHint&lt;%=i%&gt;"&gt;&lt;/div&gt;<br />
&lt;/div&gt;		<br />
&lt;%	<br />
pdt.movenext<br />
i=i+1<br />
wend<br />
pdt.close<br />
%&gt;<br />
&lt;input type="submit" name="sub" value="Submit" /&gt;<br />
&lt;/form&gt;&nbsp;</p>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp/5/10420083/add-to-cart.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 07:57:08 GMT</pubDate></item><item><title><![CDATA[calulation+update]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420077/calulationupdate.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420077/calulationupdate.aspx]]></link><description><![CDATA[i have update and my calculation&nbsp;codings like this how to update my calculation also here: <br />
eg:<br />
user&nbsp;&nbsp; point&nbsp;&nbsp; &nbsp;total<br />
&nbsp;user1&nbsp;&nbsp; 50&nbsp;&nbsp; 50<br />
user1&nbsp;&nbsp;&nbsp; 100&nbsp;&nbsp;&nbsp; 150 // if i update means point is 50means it want to show in last total 200 but it not showing it ?<br />
user1&nbsp;&nbsp;&nbsp; 100&nbsp;&nbsp;&nbsp; 250&nbsp; //want to display 200 when i am update 50points means ?<br />
my update coding:<br />
<font color="#0000ff" size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p>else<font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"upd"</font></font><font size="2">)</font></p>
</font></font></font><font size="2">
<p>{</p>
<font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lkbupd = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lkbupd.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2"> lbid = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#008000" size="2"><font color="#008000" size="2">//TextBox txusrid = (TextBox)row.FindControl("txtusrid");</font></font></p>
<font color="#008000" size="2"><font color="#008000" size="2"></font></font></font><font color="#008000" size="2"><font color="#008000" size="2"></font></font><font size="2">
<p><font color="#008000" size="2"><font color="#008000" size="2">//TextBox txusrname = (TextBox)row.FindControl("txtusrname");</font></font></p>
</font><font size="2">
<p><font color="#008000" size="2"><font color="#008000" size="2">//TextBox txservices = (TextBox)row.FindControl("txtservices");</font></font></p>
</font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txcredit = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txtcredit"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txtotal = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txttotal"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"update creditadd set credit='"</font></font><font size="2"> + txcredit.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',total='"</font></font><font size="2">+txtotal.Text+</font><font color="#a31515" size="2"><font color="#a31515" size="2">"' where cid ='"</font></font><font size="2"> + lbid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font>, con);
<p>cmd.ExecuteNonQuery();</p>
<p>GridView1.EditIndex = -1;</p>
<font size="2">
<p>Response.Write(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"Updated Successfully"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">
<p>bindgrid();</p>
dropbind();<br />
<br />
<br />
my calculation coding is:<br />
<br />
<font size="2">
<p>cmd = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"select sum(credit) AS total from creditadd where cid&lt;=cid and userid='"</font></font><font size="2"> + TextBox1.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' and username='"</font></font><font size="2"> + TextBox2.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font><font size="2">, con); </font></p>
<font size="2"></font><font size="2">
<p><font size="2">dr = cmd.ExecuteReader();</font></p>
</font>
<p>dr.Read();</p>
<font size="2">
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (dr.HasRows)</font></p>
</font><font size="2"></font>
<p>{</p>
<font size="2">
<p>total = <font color="#0000ff" size="2"><font color="#0000ff" size="2">float</font></font><font size="2">.Parse(dr[0].ToString());</font></p>
</font><font size="2"></font><font size="2">
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">float</font></font><font size="2"> f = total + </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">float</font></font><font size="2">.Parse(TextBox3.Text);</font></p>
</font>
<p>dr.Close();</p>
<p>&nbsp;</p>
<font size="2">
<p>cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"insert into creditadd(userid,username,services,credit,total)values('"</font></font><font size="2"> + TextBox1.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2"> + TextBox2.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2"> + DropDownList1.SelectedItem.Value + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2"> + TextBox3.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2">+f+</font><font color="#a31515" size="2"><font color="#a31515" size="2">"')"</font></font><font size="2">, con);</font></p>
</font><font size="2"></font>
<p>cmd.ExecuteNonQuery();</p>
<font size="2">
<p>TextBox1.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
</font><font size="2"></font><font size="2">
<p>TextBox2.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
</font><font size="2">
<p>TextBox3.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
</font><font size="2">
<p>Response.Write(<font color="#a31515" size="2"><font color="#a31515" size="2">"&lt;script&gt;alert('Successfull');&lt;/script&gt;"</font></font><font size="2">);</font></p>
</font>
<p>bindgrid();</p>
<p>dropbind();</p>
<p>}</p>
<font size="2">
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font></p>
</font><font color="#0000ff" size="2"><font color="#0000ff" size="2"></font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<p>&nbsp;</p>
</font></font>
<p><font size="2"></font></p>
<font size="2"></font>
<p>{</p>
<p>dr.Close();</p>
<p>}</p>
</font>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10420077/calulationupdate.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 07:43:30 GMT</pubDate></item><item><title><![CDATA[Execute in update]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420069/execute-in-update.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420069/execute-in-update.aspx]]></link><description><![CDATA[<font size="2">
<p>i want to execute this method in gridview update:<br />
<br />
cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"select sum(credit) AS total from creditadd where cid&lt;=cid and userid='"</font></font><font size="2"> + TextBox1.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' and username='"</font></font><font size="2"> + TextBox2.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font><font size="2">, con); </font></p>
</font><font size="2">
<p>dr = cmd.ExecuteReader();</p>
<p>dr.Read();</p>
<font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font> (dr.HasRows)
<p>{</p>
<font size="2">
<p>total = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">float</font></font><font size="2">.Parse(dr[0].ToString());</font></p>
<font size="2"></font></font><font size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">float</font></font><font size="2"> f = total + </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">float</font></font>.Parse(TextBox3.Text);
<p>dr.Close();</p>
<p>&nbsp;</p>
<font size="2">
<p>cmd = </p>
</font>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"insert into creditadd(userid,username,services,credit,total)values('"</font></font><font size="2"> + TextBox1.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2"> + TextBox2.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2"> + DropDownList1.SelectedItem.Value + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2"> + TextBox3.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"','"</font></font><font size="2">+f+</font><font color="#a31515" size="2"><font color="#a31515" size="2">"')"</font></font><font size="2">, con);</font></p>
<font size="2"></font></font><font size="2">
<p>cmd.ExecuteNonQuery();</p>
TextBox1.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font>;<font size="2">
<p>TextBox2.Text = </p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2">TextBox3.Text = <font color="#a31515" size="2"><font color="#a31515" size="2">""</font></font>;<font size="2">
<p>Response.Write(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"&lt;script&gt;alert('Successfull');&lt;/script&gt;"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">
<p>bindgrid();</p>
<p>dropbind();</p>
<p>}</p>
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font></p>
</font><font size="2">
<p>{</p>
<p>dr.Close();</p>
<p>}</p>
</font><br />
<br />
fou update codings i have like this:<br />
<br />
<font size="2"><font color="#0000ff" size="2"><font color="#0000ff" size="2">else</font></font><font size="2"> </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">if</font></font><font size="2"> (e.CommandName == </font><font color="#a31515" size="2"><font color="#a31515" size="2">"upd"</font></font>)
<p>{</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2"> lkbupd = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">)e.CommandSource </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">LinkButton</font></font><font size="2">;</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font><font size="2"> row = lkbupd.NamingContainer </font><font color="#0000ff" size="2"><font color="#0000ff" size="2">as</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">GridViewRow</font></font>;<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2"> lbid = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">Label</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"lblid"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2"><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txcredit = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txtcredit"</font></font>);<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2"> txtotal = (</font><font color="#2b91af" size="2"><font color="#2b91af" size="2">TextBox</font></font><font size="2">)row.FindControl(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"txttotal"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"update creditadd set credit='"</font></font><font size="2"> + txcredit.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"',total='"</font></font><font size="2">+txtotal.Text+</font><font color="#a31515" size="2"><font color="#a31515" size="2">"' where cid ='"</font></font><font size="2"> + lbid.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font>, con);
<p>cmd.ExecuteNonQuery();</p>
<p>GridView1.EditIndex = -1;</p>
<font size="2">
<p>Response.Write(</p>
</font>
<p><font color="#a31515" size="2"><font color="#a31515" size="2">"Updated Successfully"</font></font><font size="2">);</font></p>
<font size="2"></font></font><font size="2">
<p>bindgrid();</p>
<p>dropbind();</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
//cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"select cid from creditadd where userid='"</font></font><font size="2"> + TextBox1.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"' and username='"</font></font><font size="2"> + TextBox2.Text + </font><font color="#a31515" size="2"><font color="#a31515" size="2">"'"</font></font>, con);
<p>adap.Fill(ds);</p>
<font size="2">
<p>&nbsp;</p>
</font>
<p><font color="#008000" size="2"><font color="#008000" size="2">//ds.Tables[1].Rows[0].ToString()</font></font></p>
<font color="#008000" size="2"><font color="#008000" size="2"></font></font></font><font color="#008000" size="2"><font color="#008000" size="2"></font></font><font size="2">
<p><font color="#0000ff" size="2"><font color="#0000ff" size="2">//for</font></font><font size="2">(</font><font color="#0000ff" size="2"><font color="#0000ff" size="2">int</font></font><font size="2"> m=0;m&lt;ds.Tables[0].Rows[m][</font><font color="#a31515" size="2"><font color="#a31515" size="2">"cid"</font></font><font size="2">].ToString())</font></p>
</font>{<br />
//what i have write here codings&nbsp;?<br />
}<br />
<br />
<br />
how to join this 1st codings in update ?<br />
<br />
<br />
<br />
<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10420069/execute-in-update.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 07:34:30 GMT</pubDate></item><item><title><![CDATA[Email tracking, finding websites attached to an email address]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/security/44/10420060/email-tracking-finding-websites-attached-to-an-email-address.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/security/44/10420060/email-tracking-finding-websites-attached-to-an-email-address.aspx]]></link><description><![CDATA[Hi,<br />
I&nbsp;have see a number of adverts recently promising to find all websites attached to a particular email address. You have to provide an email address and for a fee, they will track&nbsp;down every website associated with that email address.<br />
These adverts are usually put out by private investigator companies. This is quite a breach of security for some people, I wondered if anyone knew more about this functionality? And has anyone ever tried this out?&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/security/44/10420060/email-tracking-finding-websites-attached-to-an-email-address.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 07:22:19 GMT</pubDate></item><item><title><![CDATA[GridTableView inside RadGrid]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420029/gridtableview-inside-radgrid.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10420029/gridtableview-inside-radgrid.aspx]]></link><description><![CDATA[GridTableView inside RadGrid. ClientEvents OnCommand, in function RadGrid1_Command(sender, args) i want to get tableView object<br />
<br />
&lt;telerik:RadGrid ID="RadGrid1" AllowFilteringByColumn="true" Skin="Office2007" runat="server"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GridLines="None" AllowPaging="true" AllowSorting="true" AutoGenerateColumns="false" GroupingEnabled="true"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ClientSettings AllowGroupExpandCollapse="True" AllowExpandCollapse="true"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ClientEvents OnCommand="RadGrid1_Command" OnHierarchyExpanding="HierarchyExpanding" OnHierarchyExpanded="HierarchyExpanded"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OnHierarchyCollapsing="HierarchyCollapsing" OnHierarchyCollapsed="HierarchyCollapsed" /&gt;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ClientSettings&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;MasterTableView HierarchyLoadMode="Client" ClientDataKeyNames="CustomerID"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Columns&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:GridBoundColumn DataField="CustomerID" HeaderText="CustomerID" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:GridBoundColumn DataField="CompanyName" HeaderText="CompanyName" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:GridBoundColumn DataField="ContactName" HeaderText="ContactName" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:GridBoundColumn DataField="ContactTitle" HeaderText="ContactTitle" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:GridBoundColumn DataField="City" HeaderText="City" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:GridBoundColumn DataField="Country" HeaderText="Country" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Columns&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DetailTables&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:GridTableView AllowFilteringByColumn="false" ShowHeadersWhenNoRecords="true" HierarchyLoadMode="Client"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ShowHeader="true" PageSize="8" AllowPaging="true" ClientDataKeyNames="CustomerID"&nbsp; AllowCustomSorting="true" TableLayout="Fixed" Width="100%"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Columns&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:GridBoundColumn DataField="CustomerID" HeaderText="CustomerID" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:GridBoundColumn DataField="CompanyName" HeaderText="CompanyName" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:GridBoundColumn DataField="ContactName" HeaderText="ContactName" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:GridBoundColumn DataField="ContactTitle" HeaderText="ContactTitle" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:GridBoundColumn DataField="City" HeaderText="City" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;telerik:GridBoundColumn DataField="Country" HeaderText="Country" /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Columns&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/telerik:GridTableView&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/DetailTables&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/MasterTableView&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PagerStyle AlwaysVisible="true" /&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;/telerik:RadGrid&gt;<br />
<br />
OnCommand function :<br />
<br />
function RadGrid1_Command(sender, args) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; args.set_cancel(true);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tableView = ?????? //$find("&lt;%= RadGrid1.ClientID %&gt;").get_masterTableView();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; commandName = args.get_commandName();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; executeMethod("WebService.asmx", "GetData", getRequestData(tableView), updateGrid);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
<br />
How i can get table view object? <br />
<span lang="en" id="result_box" class="hps">something like this</span> - var table = sender.get_detailTables()[args.get_itemIndexHierarchical()];&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10420029/gridtableview-inside-radgrid.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 06:30:02 GMT</pubDate></item><item><title><![CDATA[Getting Inspector.ModifiedFormPages Count 0 While opening custom Conta]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/microsoft-outlook/97/10420024/getting-inspectormodifiedformpages-count-0-while-opening-custom-conta.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/microsoft-outlook/97/10420024/getting-inspectormodifiedformpages-count-0-while-opening-custom-conta.aspx]]></link><description><![CDATA[Hello,<br />
I am trying to open converted contact (outlook personal contact to my custom form contact) but i am getting Inspector.modifiedFormPages count to 0 until I restart the outlook. hence I am not able to open that contact in custom contact form. This issue is specifically for the outlook 2007. In outlook 2003 without restarting the outlook i am getting the count. <br />
<br />
We have contact converstion winform. So using that we are changing the message class of the contact and also mileage. And we are also publishing the form while opening the outlook. And we are releasing objects properly using Marshal.ReleasecomObject.<br />
<br />
Please Advice.<br />
<br />
Thank you,<br />
Manoj<br />
<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/microsoft-outlook/97/10420024/getting-inspectormodifiedformpages-count-0-while-opening-custom-conta.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 06:20:13 GMT</pubDate></item><item><title><![CDATA[Error exporting built-in CrystalReport in VS2003 with 2.0 FrameWork?]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/visual-studio/7/10419991/error-exporting-builtin-crystalreport-in-vs2003-with-20-framework.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/visual-studio/7/10419991/error-exporting-builtin-crystalreport-in-vs2003-with-20-framework.aspx]]></link><description><![CDATA[<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">Greetings,</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">I have a software that can be customized and I have a custom application developed using .Net 2003 and 1.1 Framework and its reports are built using the built-in crystal report inside the Visual Studio....</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">Then I have to develop another application using Vb.Net 2005 and ofcourse the framework is 2.0 and so I have I update the Config file of the software in order to read the 2.0 framework.</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">The 2 applications are running smoothly and when I generate a report from the .Net2003 application it generates successfully but if I need to export it into PDF file using the built-in export functionality it generates the following error.</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<em style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;">Crystal Report Windows Forms Viewer<br />
---------------------------<br />
Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.&nbsp;</em><span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;"></span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">So please can I have a little help over here...</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">Please advise...</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">&nbsp;</span><br style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; background-color: #f2f2f2;" />
<span style="color: #000000; font-family: verdana, arial, sans-serif; text-align: -webkit-auto; white-space: normal; background-color: #f2f2f2;">Thanks in advance....</span>&nbsp;&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/visual-studio/7/10419991/error-exporting-builtin-crystalreport-in-vs2003-with-20-framework.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 05:49:45 GMT</pubDate></item><item><title><![CDATA[MACRO + Unique Number]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/excel/66/10419925/macro--unique-number.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/excel/66/10419925/macro--unique-number.aspx]]></link><description><![CDATA[Hi All,<br />
<br />
<img alt="" src="file:///C:/DOCUME%7E1/MEMONA%7E1.IGA/LOCALS%7E1/Temp/moz-screenshot-2.png" /><img alt="" src="file:///C:/DOCUME%7E1/MEMONA%7E1.IGA/LOCALS%7E1/Temp/moz-screenshot-3.png" /><img alt="" src="FileUpload/1086437099/image.JPG" /><br />
<br />
This is a screen shot of the sheet on which i work.<br />
I need a macro which should perform the below actions:<br />
1) The Number column contains many repeated values, the macro should
display the repeated values as one value in a new sheet (newsheet.xls)
with the column header "Number"<br />
<br />
2)For a unique Number (Under the Number column) it should calculate :<br />
Action date (where action cell value = Reassign, &amp; it should be the
latest Reassign value)-Created date (where action cell value =
acknowledge)<br />
writing the formula again, Action date - Created date , and this should
be displayed in the newsheet.xls with column header as "Actual time to
reassign" it should display the value in terms of days and hours<br />
<br />
3)For a unique Number (Under the Number column) it should calculate
:<br />
Action date
(where action cell value = acknowledge) - Created date (where action cell value = acknowledge) - <br />
writing the formula again, Action date - Created date, and this should
be displayed in the newsheet.xls with column header as "Time to
acknowledge" it should display the value in terms of days and hours<br />
<br />
4)Now for the value displayed in points 2 and 3<br />
calculation time, should not consider any Saturday &amp; Sunday falling
between the dates and should consider the time from 1:30 pm to 11 pm
Monday to Friday only.<br />
&amp; the values of which can be displayed under the column with column header as "Actual working time to reassign" and <br />
"Working Time to acknowledge"<br />
<br />
<br />
Please let me know if the question asked is unclear or if you need any more details from my side.<br />
<br />
Thanks &amp; Regards,<br />
Blue J&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/excel/66/10419925/macro--unique-number.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 04:06:32 GMT</pubDate></item><item><title><![CDATA[crstal report using dataset, stored procedure sql in asp.net with c#]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/ado/10/10419833/crstal-report-using-dataset-stored-procedure-sql-in-aspnet-with-c.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/ado/10/10419833/crstal-report-using-dataset-stored-procedure-sql-in-aspnet-with-c.aspx]]></link><description><![CDATA[as I'm new to .net, i know nothing about crystal report .. I need step by step method to create cyrstal report usingd dataset,&nbsp;sql stored procedure in asp.net with c sharp.. It ll be great if anyone send answer to my query.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/ado/10/10419833/crstal-report-using-dataset-stored-procedure-sql-in-aspnet-with-c.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 02:15:07 GMT</pubDate></item><item><title><![CDATA[Qry Err]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10419821/qry-err.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10419821/qry-err.aspx]]></link><description><![CDATA[<table class="style1">
    <tbody>
        <tr>
            <td align="left">
            <div>
            <table id="ctl00_ContentPlaceHolder1_GridView1" style="background-color: white; border-collapse: collapse;border: #cc9966 1px;" border="1" rules="all" cellspacing="0" cellpadding="4">
                <tbody>
                    <tr style="background-color: #990000; color: #ffffcc; font-weight: bold;">
                        <th scope="col"><br />
                        CID</th>
                        <th scope="col">UserId</th>
                        <th scope="col">Username</th>
                        <th scope="col">Services</th>
                        <th scope="col">Credit</th>
                        <th scope="col">Total </th>
                        <th scope="col">EDIT/UPDATE</th>
                        <th scope="col">DELETE</th>
                    </tr>
                    <tr style="background-color: white; color: #330099;">
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl02_lblid">36</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl02_lblusrid">TNAGT001</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl02_lblusrname">adm</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl02_lblservices">car booking</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl02_lblcredit">100</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl02_lbltotal">100</span> </td>
                        <td><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GridView1$ctl02$btnedit','')" id="ctl00_ContentPlaceHolder1_GridView1_ctl02_btnedit"><font color="#3681cc">Edit</font></a> </td>
                        <td><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GridView1$ctl02$btndelete','')" id="ctl00_ContentPlaceHolder1_GridView1_ctl02_btndelete"><font color="#3681cc">Delete</font></a> </td>
                    </tr>
                    <tr style="background-color: white; color: #330099;">
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl03_lblid">37</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl03_lblusrid">TNAGT001</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl03_lblusrname">adm</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl03_lblservices">car booking</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl03_lblcredit">500</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl03_lbltotal">600</span> </td>
                        <td><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GridView1$ctl03$btnedit','')" id="ctl00_ContentPlaceHolder1_GridView1_ctl03_btnedit"><font color="#3681cc">Edit</font></a> </td>
                        <td><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GridView1$ctl03$btndelete','')" id="ctl00_ContentPlaceHolder1_GridView1_ctl03_btndelete"><font color="#3681cc">Delete</font></a> </td>
                    </tr>
                    <tr style="background-color: white; color: #330099;">
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl04_lblid">38</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl04_lblusrid">TNAGT001</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl04_lblusrname">adm</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl04_lblservices">car booking</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl04_lblcredit">500</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl04_lbltotal">1100</span> </td>
                        <td><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GridView1$ctl04$btnedit','')" id="ctl00_ContentPlaceHolder1_GridView1_ctl04_btnedit"><font color="#3681cc">Edit</font></a> </td>
                        <td><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GridView1$ctl04$btndelete','')" id="ctl00_ContentPlaceHolder1_GridView1_ctl04_btndelete"><font color="#3681cc">Delete</font></a> </td>
                    </tr>
                    <tr style="background-color: white; color: #330099;">
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl05_lblid">40</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl05_lblusrid">TNMEM001</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl05_lblusrname">adm</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl05_lblservices">car booking</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl05_lblcredit">500</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl05_lbltotal">500</span> </td>
                        <td><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GridView1$ctl05$btnedit','')" id="ctl00_ContentPlaceHolder1_GridView1_ctl05_btnedit"><font color="#3681cc">Edit</font></a> </td>
                        <td><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GridView1$ctl05$btndelete','')" id="ctl00_ContentPlaceHolder1_GridView1_ctl05_btndelete"><font color="#3681cc">Delete</font></a> </td>
                    </tr>
                    <tr style="background-color: white; color: #330099;">
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl06_lblid">41</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl06_lblusrid">TNMEM001</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl06_lblusrname">adm</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl06_lblservices">bus booking</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl06_lblcredit">500</span> </td>
                        <td><span id="ctl00_ContentPlaceHolder1_GridView1_ctl06_lbltotal">err: 2100</span> </td>
                        <td><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GridView1$ctl06$btnedit','')" id="ctl00_ContentPlaceHolder1_GridView1_ctl06_btnedit"><font color="#3681cc">Edit</font></a> </td>
                        <td><a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$GridView1$ctl06$btndelete','')" id="ctl00_ContentPlaceHolder1_GridView1_ctl06_btndelete"><font color="#3681cc">Delete</font></a> </td>
                    </tr>
                </tbody>
            </table>
            </div>
            qry is correct but </td>
        </tr>
    </tbody>
</table>
<p>&nbsp;<font size="2"></p>
<p>cmd = <font color="#0000ff" size="2"><font color="#0000ff" size="2">new</font></font><font size="2"> </font><font color="#2b91af" size="2"><font color="#2b91af" size="2">SqlCommand</font></font><font size="2">(</font><font color="#a31515" size="2"><font color="#a31515" size="2">"select&nbsp; sum(credit) AS total from creditadd where cid&lt;=cid"</font></font><font size="2">, con);<br />
but when i am inserting 2nd record&nbsp;&nbsp;see userid TNMEM001 it want to show 1000, but it shows all amount added and display here 2100 is wrong ? </font></p>
<p></font></p>
<font size="2"></font>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10419821/qry-err.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 09 Feb 2012 02:02:28 GMT</pubDate></item><item><title><![CDATA[security  taskpane]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/word/67/10419684/security--taskpane.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/word/67/10419684/security--taskpane.aspx]]></link><description><![CDATA[&nbsp;I have&nbsp;this&nbsp; piece of&nbsp; VBA code <br />
<br />
&nbsp;If Err.Number &lt;&gt; 0 Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MsgBox "this procedure doesn't continue..." _<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp; vbCrLf &amp; "please change the security settings " _<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp; vbCrLf &amp; vbCrLf &amp; " 1. Click on the&nbsp;&nbsp;&nbsp; '&nbsp;Trusted Publishers ' Tab&nbsp;" &amp; vbCrLf _<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp; " 2.&nbsp;cljck '&nbsp;Trust access to Visual basic Project.'", _<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vbCritical<br />
&nbsp;&nbsp;&nbsp;CommandBars.FindControl(ID:=3627).Execute&nbsp;&nbsp;&nbsp;<br />
&nbsp;&nbsp;&nbsp; End If<br />
<br />
&nbsp; my problem is to view the message box&nbsp; and the task pane at the same time . Is it possible ?<br />
<br />
<br />
<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/word/67/10419684/security--taskpane.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 08 Feb 2012 13:23:56 GMT</pubDate></item><item><title><![CDATA[Connecting to multiple clients' local SQL servers from Cloud based IIS]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/iis/51/10418860/connecting-to-multiple-clients-local-sql-servers-from-cloud-based-iis.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/iis/51/10418860/connecting-to-multiple-clients-local-sql-servers-from-cloud-based-iis.aspx]]></link><description><![CDATA[I am developing a web app that is not doing anything fancy. &nbsp;The parent company wants to use a cloud based IIS service to support the web app and then submit the information to the client's local SQL servers through the internet and the client's firewalls. &nbsp;Traffic isn't that much of an issue, we are talking about probably no more than 10 submissions daily per client. &nbsp;My question is with regard to connecting to the client's SQL servers and running the Stored Proc on each server. &nbsp;We already have admin&nbsp;privileges&nbsp;on the firewalls and servers to do what we need to do to make anything happen.<br />
<br />
What would be my best/reliable/secure method to implement this service?<br />
<br />
Page asks for 10 items of info then submits to Stored Proc, that's it... with a local IIS server there is no problem, works nice. &nbsp;I want to make sure that the information stays secured, not just for the 10 items, but the SQL server and any security between it and the IIS server.<br />
<br />
Any recommendations?<br />
<br />
Thanks&nbsp;<br />
-George&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/iis/51/10418860/connecting-to-multiple-clients-local-sql-servers-from-cloud-based-iis.aspx" target="_self">read more</a>]]></description><pubDate>Mon, 06 Feb 2012 22:43:37 GMT</pubDate></item><item><title><![CDATA[Displaying list items to anthor page]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10418353/displaying-list-items-to-anthor-page.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10418353/displaying-list-items-to-anthor-page.aspx]]></link><description><![CDATA[<!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Normal</w:View>
  <w:Zoom>0</w:Zoom>
  <w:TrackMoves/>
  <w:TrackFormatting/>
  <w:PunctuationKerning/>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:DoNotPromoteQF/>
  <w:LidThemeOther>EN-US</w:LidThemeOther>
  <w:LidThemeAsian>X-NONE</w:LidThemeAsian>
  <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
   <w:SplitPgBreakAndParaMark/>
   <w:DontVertAlignCellWithSp/>
   <w:DontBreakConstrainedForcedTables/>
   <w:DontVertAlignInTxbx/>
   <w:Word11KerningPairs/>
   <w:CachedColBalance/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
  <m:mathPr>
   <m:mathFont m:val="Cambria Math"/>
   <m:brkBin m:val="before"/>
   <m:brkBinSub m:val="&#45;-"/>
   <m:smallFrac m:val="off"/>
   <m:dispDef/>
   <m:lMargin m:val="0"/>
   <m:rMargin m:val="0"/>
   <m:defJc m:val="centerGroup"/>
   <m:wrapIndent m:val="1440"/>
   <m:intLim m:val="subSup"/>
   <m:naryLim m:val="undOvr"/>
  </m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
  DefSemiHidden="true" DefQFormat="false" DefPriority="99"
  LatentStyleCount="267">
  <w:LsdException Locked="false" Priority="0" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
  <w:LsdException Locked="false" Priority="9" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
  <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 1"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 2"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 3"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 4"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 5"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 6"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 7"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 8"/>
  <w:LsdException Locked="false" Priority="39" Name="toc 9"/>
  <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
  <w:LsdException Locked="false" Priority="10" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Title"/>
  <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
  <w:LsdException Locked="false" Priority="11" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
  <w:LsdException Locked="false" Priority="22" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
  <w:LsdException Locked="false" Priority="20" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
  <w:LsdException Locked="false" Priority="59" SemiHidden="false"
   UnhideWhenUsed="false" Name="Table Grid"/>
  <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
  <w:LsdException Locked="false" Priority="1" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 1"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
  <w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
  <w:LsdException Locked="false" Priority="34" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
  <w:LsdException Locked="false" Priority="29" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
  <w:LsdException Locked="false" Priority="30" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 1"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 2"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 2"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 3"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 3"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 4"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 4"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 5"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 5"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
  <w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 6"/>
  <w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
  <w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
  <w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
  <w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 6"/>
  <w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
  <w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
  <w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
  <w:LsdException Locked="false" Priority="19" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
  <w:LsdException Locked="false" Priority="21" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
  <w:LsdException Locked="false" Priority="31" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
  <w:LsdException Locked="false" Priority="32" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
  <w:LsdException Locked="false" Priority="33" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
  <w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
  <w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
 </w:LatentStyles>
</xml><![endif]-->

    <!--
    /* Font Definitions */
    @font-face
    {font-family:"Cambria Math";
    panose-1:2 4 5 3 5 4 6 3 2 4;
    mso-font-charset:0;
    mso-generic-font-family:roman;
    mso-font-pitch:variable;
    mso-font-signature:-1610611985 1107304683 0 0 159 0;}
    @font-face
    {font-family:Calibri;
    panose-1:2 15 5 2 2 2 4 3 2 4;
    mso-font-alt:"Japanese Gothic";
    mso-font-charset:0;
    mso-generic-font-family:swiss;
    mso-font-pitch:variable;
    mso-font-signature:-1610611985 1073750139 0 0 159 0;}
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
    {mso-style-unhide:no;
    mso-style-qformat:yes;
    mso-style-parent:"";
    margin:0in;
    margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:12.0pt;
    font-family:"Times New Roman","serif";
    mso-fareast-font-family:Calibri;
    mso-fareast-theme-font:minor-latin;}
    .MsoChpDefault
    {mso-style-type:export-only;
    mso-default-props:yes;
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:Calibri;
    mso-fareast-theme-font:minor-latin;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    @page WordSection1
    {size:8.5in 11.0in;
    margin:1.0in 1.0in 1.0in 1.0in;
    mso-header-margin:.5in;
    mso-footer-margin:.5in;
    mso-paper-source:0;}
    div.WordSection1
    {page:WordSection1;}

<span style="font-size: 12pt; font-family: &quot;times new roman&quot;,&quot;serif&quot;;">Hi,<br />
i have one list.that list having items with taxonomy tags.that list item displaying to anther page.please tel with source code<br />
</span>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sharepoint/69/10418353/displaying-list-items-to-anthor-page.aspx" target="_self">read more</a>]]></description><pubDate>Mon, 06 Feb 2012 03:45:20 GMT</pubDate></item><item><title><![CDATA[How can I print text on a games surface?]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10418335/how-can-i-print-text-on-a-games-surface.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/csharp/2/10418335/how-can-i-print-text-on-a-games-surface.aspx]]></link><description><![CDATA[Hello there,<br />
<br />
I want to print a message on a games screen, I think, I must use a DirectX Hook for it.<br />
I have no idea how to do this, can someone please help me, programs like Overwolf and can already print stuff on the games surface.<br />
<br />
Greetings,<br />
Hermen&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/csharp/2/10418335/how-can-i-print-text-on-a-games-surface.aspx" target="_self">read more</a>]]></description><pubDate>Sun, 05 Feb 2012 15:29:29 GMT</pubDate></item><item><title><![CDATA[report to display next page need help please]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10418321/report-to-display-next-page-need-help-please.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10418321/report-to-display-next-page-need-help-please.aspx]]></link><description><![CDATA[<p class="date">
</p>
<p>Hi i have a crystal report Some reports have up to 1000 lines to putput and that is quite large,i originally had the
tool bar displayed and when i go to click the next page icon&nbsp; still have to
this error how to solve anybody help me....<br />
<br />
</p>
&nbsp;
<span class="promptMessage">The report you requested requires further information.</span><br />
<hr class="promptRuler" />
<table cellspacing="2" cellpadding="0">
    <tbody>
        <tr>
            <td colspan="2"><span style="border-style: none;"> &nbsp;&nbsp;company wise </span></td>
        </tr>
        <tr>
            <td align="Left">     <span style="border-style: none;">Server name:&nbsp;</span></td>
            <td>       
            </td>
        </tr>
        <tr>
            <td align="Left">     <span style="border-style: none;">Database name:&nbsp;</span></td>
            <td>       
            </td>
        </tr>
        <tr>
            <td align="Left">     <span style="border-style: none;">User name:&nbsp;</span></td>
            <td>
            
            </td>
        </tr>
        <tr>
            <td align="Left">     <span style="border-style: none;">Password:&nbsp;</span></td>
            <td>
            
            </td>
        </tr>
        <tr>
            <td>
             Use Integrated Security&nbsp;
            </td>
        </tr>
        <tr>
            <td> </td>
            <td align="Right">
            </td>
        </tr>
    </tbody>
</table>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10418321/report-to-display-next-page-need-help-please.aspx" target="_self">read more</a>]]></description><pubDate>Mon, 06 Feb 2012 02:13:46 GMT</pubDate></item><item><title><![CDATA[Post graphics filters OLAP]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10417548/post-graphics-filters-olap.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10417548/post-graphics-filters-olap.aspx]]></link><description><![CDATA[<span lang="en" id="result_box"><span class="hps">Hi,<br />
<br />
I need to show</span> <span class="hps">in</span> <span class="hps">excel</span> <span class="hps">services</span> <span class="hps">information</span> <span class="hps">from an OLAP cube</span>. <span class="hps">I require</span> <span class="hps">to show a</span> <span class="hps">pivot table</span> <span class="hps">and display</span> <span class="hps">the respective filters</span>. <span class="hps">My problem</span> <span class="hps">is that</span> <span class="hps">currently only</span> <span class="hps">shows the</span> <span class="hps">graphic without</span> <span class="hps">filters.</span><br />
<br />
<span class="hps">Thanks</span> <span class="hps">for the help.</span></span>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sharepoint/69/10417548/post-graphics-filters-olap.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 02 Feb 2012 23:18:55 GMT</pubDate></item><item><title><![CDATA[EF DATASOURCE AND FORM VIEW]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10417520/ef-datasource-and-form-view.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/asp-net/17/10417520/ef-datasource-and-form-view.aspx]]></link><description><![CDATA[I just added a form view and modified some of its templates and I added an ef datasource to it.<br />
However Im having a problem in the file upload part, because when i select the image I want to upload I dont know how to get the name of the image and insert it in the databae, because the I cant data bind the filename of the file upload control inside the form view. Help please.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/asp-net/17/10417520/ef-datasource-and-form-view.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 02 Feb 2012 19:47:32 GMT</pubDate></item><item><title><![CDATA[customising Threaded discussion board in sharepoint 2010]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10416857/customising-threaded-discussion-board-in-sharepoint-2010.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10416857/customising-threaded-discussion-board-in-sharepoint-2010.aspx]]></link><description><![CDATA[Hi,<br />
&nbsp;&nbsp;How to display the sharepoint 2010 discssion board "<a href="http://cid-40c00ea81fe5c726.skydrive.live.com/self.aspx/Public/SharePoint%202010%20Discussions/SP2010-ThreadedDiscussion.jpg" rel="nofollow"><span style="color: #0066dd;">Threaded Discussion</span></a>" view as image and reply display view as appears in "<a href="http://cid-40c00ea81fe5c726.skydrive.live.com/self.aspx/Public/SharePoint%202010%20Discussions/SP2010-FlatDiscussion.jpg" rel="nofollow"><span style="color: #0066dd;">Flat Discussion</span></a>".How to customize this.<br />
<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sharepoint/69/10416857/customising-threaded-discussion-board-in-sharepoint-2010.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 01 Feb 2012 06:14:04 GMT</pubDate></item><item><title><![CDATA[why threading is not work in timerdelagate by using vb.net in win-serv]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/vb/14/10416680/why-threading-is-not-work-in-timerdelagate-by-using-vbnet-in-winserv.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/vb/14/10416680/why-threading-is-not-work-in-timerdelagate-by-using-vbnet-in-winserv.aspx]]></link><description><![CDATA[hi, here i am performing a threading concept newly , only one method under that we are making to fire main method (service job) this threading method i am calling in timer delegate, hence my service was throwing system null exception and jit debbuging error <br />
<br />
can any one help me please .... to resolve this issue<br />
<br />
here below i have pasted threading method in which i am calling my main method--&gt; (TimerCompleted)<br />
<br />
Private Sub threadjobcalling()<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Try<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Using scope As New TransactionScope(TransactionScopeOption.RequiresNew)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If threadobj Is Nothing OrElse threadobj.ThreadState.ToString() = "Stopped" Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; threadobj = New Thread(New ThreadStart(AddressOf TimerCompleted))<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' objErrorLog.IntErrServerity = 2<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' objErrorLog.StrClassName = "Threadjobcalling"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp; objErrorLog.StrFunctionName = System.Reflection.MethodBase.GetCurrentMethod().ToString().Trim()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp; objErrorLog.SrtErrorText = "FTS_FLEX_Adaptor" &amp; DateTime.Now.Hour.ToString() &amp; ":" &amp; DateTime.Now.Minute.ToString() &amp; ":" &amp; DateTime.Now.Second.ToString() &amp; ":" &amp; DateTime.Now.Millisecond.ToString()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp; objErrorLog.StrErrorDescription = "Thread Initialized"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.strErrorDirectory = statusLogDetails<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp; objErrorLog.WriteErrorLog(objErrorLog)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Try<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (threadobj Is Nothing) OrElse (threadobj.ThreadState = System.Threading.ThreadState.Stopped) OrElse (threadobj.ThreadState = System.Threading.ThreadState.Unstarted) OrElse (threadobj.ThreadState = System.Threading.ThreadState.Aborted) Then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Try<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Thread Started for ITD <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; threadobj.Start()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Catch<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' objErrorLog.IntErrServerity = 2<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp; objErrorLog.StrClassName = "Threadjobcalling"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.StrFunctionName = System.Reflection.MethodBase.GetCurrentMethod().ToString().Trim()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' objErrorLog.SrtErrorText = "FTS_FLEX_Adaptor" &amp; DateTime.Now.Hour.ToString() &amp; ":" &amp; DateTime.Now.Minute.ToString() &amp; ":" &amp; DateTime.Now.Second.ToString() &amp; ":" &amp; DateTime.Now.Millisecond.ToString()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp; objErrorLog.StrErrorDescription = "Thread Started"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.strErrorDirectory = statusLogDetails<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp; objErrorLog.WriteErrorLog(objErrorLog)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Try<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Catch ex As Exception<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' objErrorLog.IntErrServerity = 2<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' objErrorLog.StrClassName = "Threadjobcalling"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.StrFunctionName = System.Reflection.MethodBase.GetCurrentMethod().ToString().Trim()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp; objErrorLog.SrtErrorText = ex.Message.ToString().Trim()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' objErrorLog.StrErrorDescription = ex.StackTrace.ToString().Trim()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' objErrorLog.strErrorDirectory = statusLogDetails<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.WriteErrorLog(objErrorLog)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Finally<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scope.Complete()<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'threadOBJ.Abort();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp; objErrorLog.IntErrServerity = 2<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' objErrorLog.StrClassName = Me.[GetType]().Name.ToString().Trim() &amp; ", Thread Calling"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.StrFunctionName = System.Reflection.MethodBase.GetCurrentMethod().ToString().Trim()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.SrtErrorText = DateTime.Now.Hour.ToString() &amp; ":" &amp; DateTime.Now.Minute.ToString() &amp; ":" &amp; DateTime.Now.Second.ToString() &amp; ":" &amp; DateTime.Now.Millisecond.ToString()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.StrErrorDescription = "All The Scope Aborted"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.strErrorDirectory = statusLogDetails<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.WriteErrorLog(objErrorLog)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Try<br />
<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Using<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Transaction Scope Started<br />
<br />
<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Catch ex As Exception<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.IntErrServerity = 2<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.StrClassName = "Threadjobcalling"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.StrFunctionName = System.Reflection.MethodBase.GetCurrentMethod().ToString().Trim()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.SrtErrorText = ex.Message.ToString().Trim()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.StrErrorDescription = ex.StackTrace.ToString().Trim()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.strErrorDirectory = statusLogDetails<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.WriteErrorLog(objErrorLog)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Try<br />
<br />
&nbsp;&nbsp;&nbsp; End Sub <br />
<br />
&nbsp;Protected Overrides Sub OnStart(ByVal args() As String)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' Add code here to start your service. This method should set things<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' in motion so your service can do its work.<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Try<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; timerDelegate = New TimerCallback(AddressOf threadjobcalling)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stateTimer = New Timer(timerDelegate, Nothing, Timer, Timer)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Catch ex As Exception<br />
<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog = New ErrorLogFileGeneration<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.StrClassName = "TimerMethod"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.StrFunctionName = "OnStart"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.SrtErrorText = "service onstart method"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.StrErrorDescription = ex.Message.ToString()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.strErrorDirectory = LogDetails<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'objErrorLog.intLogSizeinMB = LogFileSize<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; objErrorLog.WriteErrorLog(objErrorLog)<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End Try<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/vb/14/10416680/why-threading-is-not-work-in-timerdelagate-by-using-vbnet-in-winserv.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 01 Feb 2012 02:40:40 GMT</pubDate></item><item><title><![CDATA[In a MicroSoft HIS 2000  instead of print  I need to save in a File]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/biztalk/70/10416508/in-a-microsoft-his-2000--instead-of-print--i-need-to-save-in-a-file.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/biztalk/70/10416508/in-a-microsoft-his-2000--instead-of-print--i-need-to-save-in-a-file.aspx]]></link><description><![CDATA[<p></p>
<p>Hi I am new to HIS am I am dealing with HIS 2000 in my new job, and I have a situation where I need some reports coming from an IBM Mainframe, instead to be delivered to printer (we have more than a 100 printers) &nbsp;be saved to files (In a Window's folder) in a txt or EBCDIC format, so I can process the report with a third party tool to make them more User friendly and transform it to a PDF format, for example. &nbsp;Today we have logical units (from VTAM), I mean we have a mapping of one logical unit of VTAM (from the mainframe) to a Queue in the HIS (SNA Server using Windows 2003); so we can have every report printed to its corresponding Queue (Close to 100 hundred maps)&nbsp; and every queue corresponding to a printer in the network or to a print server. &nbsp;What I need is to know where and how I have to configure the HIS &nbsp;to add the functionality to save the report instead of printing it. Can you give me, please an example &nbsp;? &nbsp;</p>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/biztalk/70/10416508/in-a-microsoft-his-2000--instead-of-print--i-need-to-save-in-a-file.aspx" target="_self">read more</a>]]></description><pubDate>Tue, 31 Jan 2012 20:53:51 GMT</pubDate></item><item><title><![CDATA[SOLVED... Use a bookmark as the file path]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/word/67/10410451/solved-use-a-bookmark-as-the-file-path.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/word/67/10410451/solved-use-a-bookmark-as-the-file-path.aspx]]></link><description><![CDATA[<span style="color: #000000;">***Editted*** SOLVED!! (See&nbsp;<span style="color: #e36c09;">Orange&nbsp;</span>below)<br />
<br />
I have a word document that has fields that are filled in by an access database and then saved and attached to an email.&nbsp; Everything works great, except...<br />
I am trying to set this up at multiple locations.&nbsp; Each location will have a different file structure.&nbsp; I have created a form, in Access, that they can designate where they want the information saved at so I don't have to comb through my code and edit it for each new location. This&nbsp;path name is sent to the&nbsp;Word document&nbsp;to a bookmark called&nbsp;"RootDirectory".<br />
When the&nbsp;Word document is closed, there is some code that&nbsp;tells it to saveas...&nbsp;<br />
Everything runs fine as long as the pathname, specified in the saveas action in Word, is specifically spelled out (S:\QUALITY\CAR_Documentation).&nbsp; However, if I try to replace this text with&nbsp;&nbsp;"ActiveDocument.Bookmarks("RootDirectory").Range.Text", it doesn't work.<br />
Here is my code:<br />
<span style="background-color: #00b050;">This works;<br />
</span></span><br />
<div class="reCodeBlock" style="overflow-y: auto;border: #7f9db9 0px solid;">
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #069; font-weight: bold;">Private</code> <code style="color: #069; font-weight: bold;">Sub</code> <code style="color: #000;">Document_Close() </code></span></div>
<div style="background-color: #fff;"><span><code>&nbsp;</code><span style="margin-left: 3px !important;">&nbsp;</span></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #069; font-weight: bold;">Dim</code> <code style="color: #000;">NewFileName </code><code style="color: #069; font-weight: bold;">As</code> <code style="color: #069; font-weight: bold;">String</code></span></div>
<div style="background-color: #fff;"><span><code>&nbsp;</code><span style="margin-left: 3px !important;">&nbsp;</span></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #069; font-weight: bold;">If</code> <code style="color: #000;">ActiveDocument.ProtectionType &lt;&gt; wdAllowOnlyFormFields </code><code style="color: #069; font-weight: bold;">Then</code></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #000;">ActiveDocument.Protect wdAllowOnlyFormFields, </code><code style="color: #069; font-weight: bold;">True</code></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #069; font-weight: bold;">End</code> <code style="color: #069; font-weight: bold;">If</code></span></div>
<div style="background-color: #fff;"><span><code>&nbsp;</code><span style="margin-left: 3px !important;">&nbsp;</span></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #000;">NewFileName = </code><code style="color: blue;"><span style="background-color: #ffff00;">"S:\QUALITY\CAR_Documentation\"</span> &amp; ActiveDocument.Bookmarks("</code><code style="color: #000;">CARNbr</code><code style="color: blue;">").Range.Text &amp; "</code><code style="color: #000;">\CAR_</code><code style="color: blue;">" &amp; ActiveDocument.Bookmarks("</code><code style="color: #000;">CARNbr</code><code style="color: blue;">").Range.Text &amp; "</code><code style="color: #000;">.doc" </code></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #000;">ActiveDocument.SaveAs FileName:=NewFileName </code></span></div>
<div style="background-color: #fff;"><span><code>&nbsp;</code><span style="margin-left: 3px !important;">&nbsp;</span></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #069; font-weight: bold;">End</code> <code style="color: #069; font-weight: bold;">Sub</code></span></div>
</div>
<br />
<span style="color: #000000;"><span style="background-color: #ff0000;">This&nbsp;did NOT work;</span><span style="background-color: #ffffff;"><span style="color: #e36c09;">&nbsp;&nbsp; </span><span style="color: #e36c09;">Works just fine now as explained below</span><br />
<br />
</span></span>
<div class="reCodeBlock" style="overflow-y: auto;border: #7f9db9 0px solid;">
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #069; font-weight: bold;">Private</code> <code style="color: #069; font-weight: bold;">Sub</code> <code style="color: #000;">Document_Close() </code></span></div>
<div style="background-color: #fff;"><span><code>&nbsp;</code><span style="margin-left: 3px !important;">&nbsp;</span></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #069; font-weight: bold;">Dim</code> <code style="color: #000;">NewFileName </code><code style="color: #069; font-weight: bold;">As</code> <code style="color: #069; font-weight: bold;">String</code></span></div>
<div style="background-color: #fff;"><span><code>&nbsp;</code><span style="margin-left: 3px !important;">&nbsp;</span></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #069; font-weight: bold;">If</code> <code style="color: #000;">ActiveDocument.ProtectionType &lt;&gt; wdAllowOnlyFormFields </code><code style="color: #069; font-weight: bold;">Then</code></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #000;">ActiveDocument.Protect wdAllowOnlyFormFields, </code><code style="color: #069; font-weight: bold;">True</code></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #069; font-weight: bold;">End</code> <code style="color: #069; font-weight: bold;">If</code></span></div>
<div style="background-color: #fff;"><span><code>&nbsp;</code><span style="margin-left: 3px !important;">&nbsp;</span></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #000;">NewFileName = <span style="background-color: #ffff00;">ActiveDocument.Bookmarks(</span></code><span style="background-color: #ffff00;"><code style="color: blue;">"RootDirectory"</code><code style="color: #000;">).Range.Text &amp; </code></span><code style="color: blue;"><span style="background-color: #ffff00;">"\"</span> &amp; ActiveDocument.Bookmarks("</code><code style="color: #000;">CARNbr</code><code style="color: blue;">").Range.Text &amp; "</code><code style="color: #000;">\CAR_</code><code style="color: blue;">" &amp; ActiveDocument.Bookmarks("</code><code style="color: #000;">CARNbr</code><code style="color: blue;">").Range.Text &amp; "</code><code style="color: #000;">.doc" </code></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #000;">ActiveDocument.SaveAs FileName:=NewFileName </code></span></div>
<div style="background-color: #fff;"><span><code>&nbsp;</code><span style="margin-left: 3px !important;">&nbsp;</span></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #069; font-weight: bold;">End</code> <code style="color: #069; font-weight: bold;">Sub</code></span></div>
</div>
<br />
<span style="color: #e36c09;">The code works just fine.&nbsp; I didn't set the access code to tell it to "rename" the bookmark when it sent the information over to the Word doc.&nbsp; It was, in essence, deleting my bookmark instead of just filling in the data but leaving the bookmark.<br />
<br />
I added this little bit of code to my module and ... Viola!! Success!<br />
<br />
<div class="reCodeBlock" style="overflow-y: auto;border: #7f9db9 0px solid;">
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #000;">Dim s As Range </code></span></div>
<div style="background-color: #fff;"><span><code>&nbsp;</code><span style="margin-left: 3px !important;">&nbsp;</span></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #000;">Set s = objWord.ActiveDocument.Bookmarks("RootDirectory").Range </code></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #000;">s.Text = rstCAR.Fields("YourCompanyDocsPath") </code></span></div>
<div style="background-color: #fff;"><span style="margin-left: 0px !important;"><code style="color: #000;">objWord.ActiveDocument.Bookmarks.Add ("RootDirectory"), s </code></span></div>
</div>
<br />
<br />
</span>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/word/67/10410451/solved-use-a-bookmark-as-the-file-path.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 18 Jan 2012 12:30:37 GMT</pubDate></item><item><title><![CDATA[help with date and columns please - solved!]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/excel/66/10398226/help-with-date-and-columns-please--solved.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/excel/66/10398226/help-with-date-and-columns-please--solved.aspx]]></link><description><![CDATA[Hi, I hope someone can help.<br />
<br />
I have a document where J10:gi10 are dates 1/7/11 to end of year.&nbsp; Each cell is formatted to dd only.<br />
<br />
I am trying to get the column 11 to 150 selected if the "header" in 10 is todays date.&nbsp; I cant believe I am struggling so much with thsi, can you help please?&nbsp; I have found other code to search and select and so on, but does everything except select the date I am looking for.<br />
<br />
Thanks, Paul.<br />
<br />
Wooohhhhhhhaaaaaa!<br />
<br />
I have worked the answer out, but should include the answer for further reference to other users<br />
<br />
<p>Private Sub CommandButton4_Click()<br />
<br />
For Each cell In Range("j10:gi10")</p>
<p>If cell.Value = Date Then</p>
<p>cell.Select</p>
<p>Range(ActiveCell.Offset(1, 0), ActiveCell.Offset(139, 0)).Select</p>
<p>Else</p>
<p>r = r + 1</p>
<p>End If</p>
<p>Next cell</p>
<p>&nbsp;<br />
End Sub</p>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/excel/66/10398226/help-with-date-and-columns-please--solved.aspx" target="_self">read more</a>]]></description><pubDate>Mon, 19 Dec 2011 12:23:34 GMT</pubDate></item><item><title><![CDATA[Looking for app developers]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/compact-framework/16/10389160/looking-for-app-developers.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/compact-framework/16/10389160/looking-for-app-developers.aspx]]></link><description><![CDATA[I'm looking for an app developer, preferably someone who knows how to work with Apple's framework. Contact me at amsbuddy@hotmail.com<br />
Annie<br />
socal.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/compact-framework/16/10389160/looking-for-app-developers.aspx" target="_self">read more</a>]]></description><pubDate>Mon, 28 Nov 2011 04:01:30 GMT</pubDate></item><item><title><![CDATA[Axapta in which to add a extra field in LedgerTransAccount]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/other/39/10383419/axapta-in-which-to-add-a-extra-field-in-ledgertransaccount.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/other/39/10383419/axapta-in-which-to-add-a-extra-field-in-ledgertransaccount.aspx]]></link><description><![CDATA[Hi Everyone,<br />
<br />
<span class="Apple-tab-span" style="white-space: pre;">	</span>I encountered with a strange problem that to add an extra field of string type to LedgerTransAccount.This field should get the value that is entered on LedgerTransDaily. I have added a field there but the problem is that the value entered there should pass to LedgerTransAccount. Please try to help me with sample code.&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/other/39/10383419/axapta-in-which-to-add-a-extra-field-in-ledgertransaccount.aspx" target="_self">read more</a>]]></description><pubDate>Tue, 15 Nov 2011 00:16:32 GMT</pubDate></item><item><title><![CDATA[wince and usb]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/faq/35/10380642/wince-and-usb.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/faq/35/10380642/wince-and-usb.aspx]]></link><description><![CDATA[hi <br />
i have a PDA (mashall meg 501) and its OS is Windows CE. i want to send some data out from my PDA to my microcontroller, but i dont know how i should reach the USB port of my device (the PDA i mean). please help me out.<br />
tnx&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/faq/35/10380642/wince-and-usb.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 11 Nov 2011 07:56:45 GMT</pubDate></item><item><title><![CDATA[Typing on the page with a sidebar]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/windows-7/61/10377392/typing-on-the-page-with-a-sidebar.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/windows-7/61/10377392/typing-on-the-page-with-a-sidebar.aspx]]></link><description><![CDATA[I just created a page with side bar(for a newsletter), but when I type on&nbsp;the main body (the side bar is on the left and the main body is&nbsp;to the right)&nbsp;the line I typed jumps to the bottom of the page as soon as I finish the sentence.<br />
<br />
Sorry, I didn't know how to delete my post. I found the answer to my question by experimenting a little. Just changed the text wrapping to square, that was all to it.<br />
<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/windows-7/61/10377392/typing-on-the-page-with-a-sidebar.aspx" target="_self">read more</a>]]></description><pubDate>Mon, 31 Oct 2011 12:27:26 GMT</pubDate></item><item><title><![CDATA[IE Compatibility View Issues for New EggHeadCafe site]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/lounge/98/10372603/ie-compatibility-view-issues-for-new-eggheadcafe-site.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/lounge/98/10372603/ie-compatibility-view-issues-for-new-eggheadcafe-site.aspx]]></link><description><![CDATA[Well, it has been a fun couple of days deploying the new site which has a few out of the ordinary UI goals (which I will talk about another day) to go along with a desire to reduce the html code to actual text differential.&nbsp; Most of that was caused by our extremely heavy use of nested HTML tables over the years.&nbsp; Getting rid of this was long, long overdue.&nbsp; Even found some long time bugs that I never knew about too.&nbsp; Good to get rid of those.&nbsp;&nbsp;&nbsp;<br />
<br />
I tested the site in all the major browsers going back a version or two.&nbsp; Most people who visit here (according to our logs) use fairly current browsers.&nbsp; What I didn't test for, and quite frankly just forgot about, was IE in compatiblity mode.&nbsp; Those same quirks show up when you use the web browser inside of Visual Studio .NET.&nbsp; Of course, our members are diligent and let me know pretty darn quick that there were issues. :)<br />
<br />
Probably the biggest issue I ran across that created the most frustration was how IE in compatiblity mode&nbsp;rendered DIV tags and float left/float right.&nbsp; If you do not set the width (either by pixels or by percentage) of the DIV, it will often inappropriately and unnecessarily shorten the line the of text or anchor tag.&nbsp; Does all sorts of crap to the general layout of the page as well.&nbsp; The frustrating thing is that it isn't consistent.&nbsp; Through trial and error, I figured out that by setting the width:100% for our css class "row", it fixed almost every issue on the site with the exception of our new layout for discussion threads.<br />
<br />
There are also a few issues with how it behaves when you want the total of two wrapped DIV tags to exceed the container width (our forum posts).&nbsp; Had to make some small sacrifices here but it now renders awfully darn close to what I intended.&nbsp; Again, the key was managing widths of DIV tags that I really didn't want to set hard values for.<br />
<br />
So, just a note to anyone else trying to move away from a heavy reliance on html tables, older browsers and IE's compatibility mode are likely to be gotchas.<br />
&nbsp;&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/lounge/98/10372603/ie-compatibility-view-issues-for-new-eggheadcafe-site.aspx" target="_self">read more</a>]]></description><pubDate>Mon, 17 Oct 2011 23:24:02 GMT</pubDate></item><item><title><![CDATA[edb eliminado en DAG]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/exchange/89/10371254/edb-eliminado-en-dag.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/exchange/89/10371254/edb-eliminado-en-dag.aspx]]></link><description><![CDATA[<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">Estimados,</font></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">&nbsp;</font></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">Tengo la siguiente incidencia:</font></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">&nbsp;</font></p>
<p style="margin: 0cm 0cm 0pt;"><b><font face="Calibri">Escenario:</font></b></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">Tengo implementado el DataBase Availability Groups en 2 servidores exchange</font></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">&nbsp;</font></p>
<p style="margin: 0cm 0cm 0pt;"><b><font face="Calibri">Server01:</font></b></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">Servidor Exchange 2010 SP1 ., con 5 bases de datos:</font></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">EXBD1 – <b>SI_STAFF</b> – EXBD3 – EXBD4 – EXBD5 </font></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">Las bases de datos se encuentran en la unidad E</font></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">Los archivos log se encuentran en la unidad F</font></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">&nbsp;</font></p>
<p style="margin: 0cm 0cm 0pt;"><b><font face="Calibri">Server02:</font></b></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">Servidor Exchange 2010 SP1 ., con 5 bases de datos:</font></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">EXBD1 – <b>SI_STAFF</b> – EXBD3 – EXBD4 – EXBD5 </font></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">Las bases de datos se encuentran en la unidad E</font></p>
<p style="margin: 0cm 0cm 0pt;"><font face="Calibri">Los archivos log se encuentran en la unidad F</font></p>
<p style="margin: 0cm 0cm 0pt;"><span><font face="Calibri">&nbsp;</font></span></p>
<p style="margin: 0cm 0cm 0pt;"><span><font face="Calibri">Verificando el status de la base de datos <b>SI_STAFF</b> del <b>Server01 </b>muestra:<b><span style="color: #00b050;"> Mounted</span></b></font></span></p>
<p style="margin: 0cm 0cm 0pt;"><span><font face="Calibri">Verificando el status de la base de datos <b>SI_STAFF</b> del <b>Server02 </b>muestra: <b><span style="color: red;">Failed and suspended.</span></b></font></span></p>
<p style="margin: 0cm 0cm 0pt;"><span><font face="Calibri">Verificando el log del <b>Server02</b> muestra que no se encuentra la base de datos <b>SI_STAFF (</b></font></span><span style="font-size: 9pt;">Database file 'E:\Databases\Staff\SI_Staff.edb' was not found.)</span><b> </b></p>
<p style="margin: 0cm 0cm 0pt;"><span><font face="Calibri">Valido que efectivamente el <b>SI_STAFF.edb</b> no existe.</font></span></p>
<p style="margin: 0cm 0cm 0pt;"><span><font face="Calibri">&nbsp;</font></span></p>
<p style="margin: 0cm 0cm 0pt;"><span><font face="Calibri">Con el resto de las base de datos no hay problemas.</font></span></p>
<p style="margin: 0cm 0cm 0pt;"><span><font face="Calibri">&nbsp;</font></span></p>
<p style="margin: 0cm 0cm 0pt;"><span style="color: black;"><font face="Calibri">¿Cuál seria el procedimiento para realizar la copia de la base de datos SI_STAFF nuevamente desde el SERVER01?</font></span></p>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/exchange/89/10371254/edb-eliminado-en-dag.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 14 Oct 2011 10:58:16 GMT</pubDate></item><item><title><![CDATA[creare una regola o un macro o una vba]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/microsoft-outlook/97/10370043/creare-una-regola-o-un-macro-o-una-vba.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/microsoft-outlook/97/10370043/creare-una-regola-o-un-macro-o-una-vba.aspx]]></link><description><![CDATA[Ciao, ho un problema: all'arrivo di un messaggio da un form devo creare un sistema di risposta automatica che risponda tre mail: una, immediata (e questa l'ho risolta è semplice con un applicazione php) due, una risposta sempre automatica dopo 5 minuti, e d un'altra dopo un'ora dalla ricezione di tale mail dal form di questo mio sito :(&nbsp;
<div><br />
</div>
<div>potete aiutarmi?</div>
<div>grazie :)</div>
<div>Tonino.</div>
<div><br />
</div>
<div>pensavo al php ma so che non manda mial temporizzate</div>
<div>ho cercato servizi in rete a pagamento ma non ne o trovati</div>
<div>sono arrivato alle regole dei messaggi di outlook e ho scoperto che si può intervenire con programmazione: MACRO eVBA, che sicuramente risolverebbero il mio problema ... Forse :(</div>
<div><br />
</div>
<div>Ciao.</div>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/microsoft-outlook/97/10370043/creare-una-regola-o-un-macro-o-una-vba.aspx" target="_self">read more</a>]]></description><pubDate>Wed, 12 Oct 2011 11:45:03 GMT</pubDate></item><item><title><![CDATA[Need help in actual userid problem in sharepoint designer workflow ins]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10368591/need-help-in-actual-userid-problem-in-sharepoint-designer-workflow-ins.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10368591/need-help-in-actual-userid-problem-in-sharepoint-designer-workflow-ins.aspx]]></link><description><![CDATA[<div>Hi all,</div>
<div><br />
</div>
<div>I am working on sharepoint desinger 2010 workflow. When i am displaying the workflow log history in <strong>created by</strong> and&nbsp;</div>
<div><strong>modified by</strong> field it showing <strong>system account.</strong> But actually i need the actual person user name who created the item and who&nbsp;modified the item. How can i do this any help pls?</div>
<div><br />
</div>
<div>Thanks,</div>
<div>Rahul</div>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sharepoint/69/10368591/need-help-in-actual-userid-problem-in-sharepoint-designer-workflow-ins.aspx" target="_self">read more</a>]]></description><pubDate>Mon, 10 Oct 2011 05:55:48 GMT</pubDate></item><item><title><![CDATA[regarding business portal]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10367617/regarding-business-portal.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sharepoint/69/10367617/regarding-business-portal.aspx]]></link><description><![CDATA[I have added a user that is on the domain and given them assigned them to a role and made sure the role had access to time cards and I cannot access the Time Card entry form.&nbsp; It says you are not authorized to view this page.&nbsp; I know I am missing a step in security setup&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sharepoint/69/10367617/regarding-business-portal.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 06 Oct 2011 13:13:04 GMT</pubDate></item><item><title><![CDATA[touch sensor driver on Oak Trail platform (with SM35 express chipset)]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/windows-7/61/10367444/touch-sensor-driver-on-oak-trail-platform-with-sm35-express-chipset.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/windows-7/61/10367444/touch-sensor-driver-on-oak-trail-platform-with-sm35-express-chipset.aspx]]></link><description><![CDATA[<br />
Dear all,<br />
<br />
I would like to develop touch sensor driver with Intel Oak Trail platform, which adopts SM35 express chipset in Windows 7 environment.<br />
Such chipset has 3 sets of I2C bus for peripheral devices.<br />
bus 0: dedicated for G-sensor and touch panel; bus 1 and bus 2 are used for LVDS and HDMI devices.<br />
<br />
According to Intel requirement, Intel has built a bus driver for I2C control, <strong>every</strong> <strong>touch sensor vendor, who wants to develop driver to control touch IC should follow Intel driver architecture and protocol and call Intel driver to control chip.&nbsp;<br />
</strong><br />
Unfortunately, I couldn't find out such Intel driver and reference document, could some one help me on it?<br />
<br />
Thank you,<br />
<br />
Joseph<br />
<br />&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/windows-7/61/10367444/touch-sensor-driver-on-oak-trail-platform-with-sm35-express-chipset.aspx" target="_self">read more</a>]]></description><pubDate>Thu, 06 Oct 2011 01:43:05 GMT</pubDate></item><item><title><![CDATA[Architectural suggestion]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/architecture/47/10366943/architectural-suggestion.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/architecture/47/10366943/architectural-suggestion.aspx]]></link><description><![CDATA[<p style="font-family: arial, sans-serif; font-size: 12px;"><span style="color: #1f497d;"><br />
</span></p>
<p style="font-family: arial, sans-serif; font-size: 12px; text-align: justify;"><span style="color: #1f497d;">&nbsp; Hi to all,</span></p>
<p>
</p>
<div style="text-align: justify;"><span style="font-family: arial, sans-serif; color: #1f497d; font-size: 12px;"><br />
</span></div>
<span style="font-family: arial, sans-serif; font-size: 12px; color: #1f497d;">Image you have this situation:&nbsp;</span>
<p></p>
<p style="font-family: arial, sans-serif; font-size: 12px; text-align: justify;"><span style="color: #1f497d;">you have your webserver with your db and application and your domain;&nbsp;then there are many affiliates domains and you can access in them&nbsp;(different by your domain).<br />
</span></p>
<p style="font-family: arial, sans-serif; font-size: 12px; text-align: justify;"><span style="color: #1f497d;"><br />
</span></p>
<p style="font-family: arial, sans-serif; font-size: 12px; text-align: justify;"><span style="color: #1f497d;">These domains ask you a service (they pay for it) starting from their&nbsp;website, this request have to go through your webserver to log the&nbsp;request (and other operations) and have to go to your supplier; the&nbsp;supplier give you a response and you have to return to original&nbsp;affiliates domains with response.<br />
</span></p>
<p style="font-family: arial, sans-serif; font-size: 12px; text-align: justify;"><span style="color: #1f497d;"><br />
</span></p>
<p style="font-family: arial, sans-serif; font-size: 12px;">
</p>
<div style="text-align: justify;"><span style="color: #1f497d;">Final result is the display of a html page, as you ask the display of&nbsp;&nbsp;a newspaper article.&nbsp;</span></div>
<span style="color: #1f497d;">All this in realtime, no queue.</span>
<p></p>
<p style="font-family: arial, sans-serif; font-size: 12px; text-align: justify;"><span style="color: #1f497d;"><br />
</span></p>
<p style="font-family: arial, sans-serif; font-size: 12px;">
</p>
<div style="text-align: justify;"><span style="color: #1f497d;">I need a suggestion: what is the best (or the possible) architectures&nbsp;to build this situation?&nbsp;</span></div>
<span style="color: #1f497d;">Tnx &nbsp;to all</span>
<p></p>
<p style="font-family: arial, sans-serif; font-size: 12px; color: #000000;"></p>
<div><span style="color: #1f497d;"><br />
</span></div>
<div><span style="color: #1f497d;">Any idea?</span></div>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/architecture/47/10366943/architectural-suggestion.aspx" target="_self">read more</a>]]></description><pubDate>Fri, 07 Oct 2011 04:40:20 GMT</pubDate></item><item><title><![CDATA[POS]]></title><guid isPermaLink="false"><![CDATA[http://www.eggheadcafe.com/community/sql-server/13/10366487/pos.aspx]]></guid><link><![CDATA[http://www.eggheadcafe.com/community/sql-server/13/10366487/pos.aspx]]></link><description><![CDATA[<img alt="" src="/FileUpload/-552783198/jjj/FTVideoRentalPOS2.JPG" />
<div><br />
</div>
<div><br />
</div>
<div><br />
</div>
<div>this is what i'm planning to do using Csharp and SQL Server&nbsp;</div>
<div><br />
</div>
<div>for example i'll just enter the video number and the infos about that Video will be shown at the datagrid View and the transaction will be saved at the database while the number of days and the due date i'll &nbsp;just encode it...</div>
<div><br />
</div>
<div><br />
</div>
<div>same in the MemberID</div>&nbsp;&nbsp;<a href="http://www.eggheadcafe.com/community/sql-server/13/10366487/pos.aspx" target="_self">read more</a>]]></description><pubDate>Tue, 04 Oct 2011 00:51:06 GMT</pubDate></item></channel></rss>
