<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Microserf &#187; Visual Studio 2005</title>
	<atom:link href="http://microserf.wordpress.com/category/visual-studio-2005/feed/" rel="self" type="application/rss+xml" />
	<link>http://microserf.wordpress.com</link>
	<description>A humble student of the art of software development</description>
	<lastBuildDate>Mon, 14 Dec 2009 16:22:25 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='microserf.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/aa8c6dcecdda70a9cb0f44c69df02492?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Microserf &#187; Visual Studio 2005</title>
		<link>http://microserf.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://microserf.wordpress.com/osd.xml" title="Microserf" />
		<item>
		<title>Sending an InfoPath 2003 form to people who don&#8217;t have the client</title>
		<link>http://microserf.wordpress.com/2007/02/07/sending-an-infopath-2003-form-to-people-who-dont-have-the-client/</link>
		<comments>http://microserf.wordpress.com/2007/02/07/sending-an-infopath-2003-form-to-people-who-dont-have-the-client/#comments</comments>
		<pubDate>Wed, 07 Feb 2007 09:02:28 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[InfoPath 2003]]></category>
		<category><![CDATA[SharePoint 2003]]></category>
		<category><![CDATA[Visual Studio 2005]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/02/07/sending-an-infopath-2003-form-to-people-who-dont-have-the-client/</guid>
		<description><![CDATA[I needed to send the completed (ie approved) form, read-only, to the company who took care of the orders made in an InfoPath 2003 form. The form is stored in a SharePoint forms library, but the receiving company didn&#8217;t have access to this SharePoint site. 2007 would be sweet, but I can&#8217;t use that. Hmmm&#8230; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=22&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I needed to send the completed (ie approved) form, read-only, to the company who took care of the orders made in an InfoPath 2003 form. The form is stored in a SharePoint forms library, but the receiving company didn&#8217;t have access to this SharePoint site. 2007 would be sweet, but I can&#8217;t use that. Hmmm&#8230; how to do?</p>
<p>I created a web service, which the form, once approved, sent an email through (all stages in the workflow <strong>before</strong> approval used the ordinary data connection to the SharePoint forms library).</p>
<p>The web service receives the xml document from InfoPath, via the normal web service data connection available. The web service extracts the filename (stored as a secondary data source inside the form) and makes an html document out of the xml and xsl combined, which then can be viewed on any computer with an internet browser.</p>
<p>There&#8217;s one big-ass downside with this though. The xsl file has to be extracted from the infopath form and then edited a little to remove not-supported functions and so on, or else you&#8217;ll se some nasty error messages when opening the form in the browser. So if the form has undergone some major changes, you need to re-extract the xsl-file and put it somewhere where the web service can access it, which in my case is in the web service root directory. </p>
<p>Here&#8217;s the code:</p>
<p>Service.cs</p>
<p><code><br />
[WebMethod]<br />
  public string InfoPathMailer(XmlDocument xmlDoc)<br />
  {<br />
    string filename = GetFileName(xmlDoc);</code><code>Stream stream = new MemoryStream();<br />
    XslCompiledTransform xslTransform = new XslCompiledTransform();<br />
    xslTransform.Load(Server.MapPath("view1.xsl"));<br />
    xslTransform.Transform(xmlDoc, null, stream);<br />
    stream.Position = 0;</code><code>MailSender m = new MailSender("yourmailserver.net", "formsrobot@yourdomain.com", "receiver@company.com", "New End User Request", "Do not reply to this address", filename, stream);<br />
    m.Send();</code><code>    return "";<br />
  }</code><code>private string GetFileName(XmlDocument xmlDoc)<br />
  {<br />
    string infoPathNamespacePrefix = "my";<br />
    string infoPathNamespaceURI = @"http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-11-13T10:36:39";<br />
    XmlNamespaceManager namespaceMngr = new XmlNamespaceManager(xmlDoc.NameTable);<br />
    namespaceMngr.AddNamespace(infoPathNamespacePrefix, infoPathNamespaceURI);</code><code>    XmlNode node = xmlDoc.SelectSingleNode("//my:Filename", namespaceMngr);<br />
    string s = node.InnerText;<br />
    s = s.Replace("xml", "html");<br />
    return s;<br />
  }</code></p>
<p>And here&#8217;s the code for the class MailSender:</p>
<p><code><br />
using System;<br />
using System.Data;<br />
using System.Configuration;<br />
using System.Net;<br />
using System.Net.Mail;<br />
using System.Net.Mime;<br />
using System.IO;</code><code>public class MailSender<br />
{<br />
  MailMessage mail;<br />
  String smtpServer;</code><code>  //Constructor for attachment as stream<br />
  public MailSender(string server, string sender, string receiver, string subject, string body, string filename, Stream stream)<br />
  {<br />
    smtpServer = server;<br />
    mail = new MailMessage(sender, receiver, subject, body);<br />
    Attachment attachment = new Attachment(stream, filename, MediaTypeNames.Text.Html);<br />
    mail.Attachments.Add(attachment);<br />
  }</code><code>public void Send()<br />
  {<br />
    SmtpClient client = new SmtpClient(smtpServer);<br />
    client.Credentials = CredentialCache.DefaultNetworkCredentials;<br />
    client.Send(mail);<br />
  }<br />
}</code></p>
<p>Hopefully this can help someone out there. Good luck!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=22&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/02/07/sending-an-infopath-2003-form-to-people-who-dont-have-the-client/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;Ambiguous match found&#8221; in my default.aspx.cs</title>
		<link>http://microserf.wordpress.com/2007/01/09/ambiguous-match-found-in-my-defaultaspxcs/</link>
		<comments>http://microserf.wordpress.com/2007/01/09/ambiguous-match-found-in-my-defaultaspxcs/#comments</comments>
		<pubDate>Tue, 09 Jan 2007 10:07:54 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[EPiServer]]></category>
		<category><![CDATA[Visual Studio 2005]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2007/01/09/ambiguous-match-found-in-my-defaultaspxcs/</guid>
		<description><![CDATA[I stumbled upon the aforementioned error after making some changes in my default.aspx code.
The error message didn&#8217;t help a lot, but because of Eran Sandler&#8217;s blog Advanced .NET Debugging I managed to sort it out.
Because some variables had the same names in the default.aspx and the default.aspx.cs, but the casing was different, the stuff added in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=19&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I stumbled upon the aforementioned error after making some changes in my default.aspx code.</p>
<p>The error message didn&#8217;t help a lot, but because of <a href="http://dotnetdebug.blogspot.com/" title="Advanced .NET Debugging">Eran Sandler&#8217;s blog <em>Advanced .NET Debugging</em></a> I managed to sort it out.</p>
<p>Because some variables had the same names in the default.aspx and the default.aspx.cs, but the casing was different, the stuff added in the default.aspx.designer.cs file created errors. Either you can remove the lines added in the designer file or do as I did: rename the error generating variable names (thru refactoring of course ;) ) so that more than the casing differs.</p>
<p>And to Eran for finding this error (and/or possible bug): respect.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=19&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2007/01/09/ambiguous-match-found-in-my-defaultaspxcs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>Regular expressions condensed</title>
		<link>http://microserf.wordpress.com/2006/11/10/regular-expressions-condensed/</link>
		<comments>http://microserf.wordpress.com/2006/11/10/regular-expressions-condensed/#comments</comments>
		<pubDate>Fri, 10 Nov 2006 09:34:00 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Visual Studio 2005]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2006/11/10/regular-expressions-condensed/</guid>
		<description><![CDATA[If you know the basics of regular expressions in C# and .NET (if a newbie, look here), this &#8220;cheat sheet&#8221; is a good place to go to whenever you forget the metacharacters etc:
RegExLib.com Regular Expression Cheat Sheet (.NET)
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=15&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you know the basics of regular expressions in C# and .NET (if a newbie, look <a href="http://msdn2.microsoft.com/en-us/library/ms228595.aspx">here</a>), this &#8220;cheat sheet&#8221; is a good place to go to whenever you forget the metacharacters etc:</p>
<p><a href="http://regexlib.com/CheatSheet.aspx">RegExLib.com Regular Expression Cheat Sheet (.NET)</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=15&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2006/11/10/regular-expressions-condensed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>Conditional logic inside repeaters</title>
		<link>http://microserf.wordpress.com/2006/11/09/conditional-logic-inside-repeaters/</link>
		<comments>http://microserf.wordpress.com/2006/11/09/conditional-logic-inside-repeaters/#comments</comments>
		<pubDate>Thu, 09 Nov 2006 12:31:44 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Visual Studio 2005]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2006/11/09/conditional-logic-inside-repeaters/</guid>
		<description><![CDATA[Today I was trying to make some asp:Labels visible or not based on what kind of data the repeater was showing, ie having som kind of if-else-clause to decide what to show.
That wasn&#8217;t as easy as I thought, and I saw that many people had had the same problem when googling this question at Google [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=14&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today I was trying to make some asp:Labels visible or not based on what kind of data the repeater was showing, ie having som kind of if-else-clause to decide what to show.</p>
<p>That wasn&#8217;t as easy as I thought, and I saw that many people had had the same problem when googling this question at <a href="http://groups.google.com/groups/search?q=conditional+repeater">Google Groups</a>.</p>
<p>The solution for me was to add an OnItemDataBound property to the repeater, like this:</p>
<p><code>OnItemDataBound="Repeater1_ItemDataBound"</code></p>
<p>And then, in the codebehind file I added an event handler.</p>
<p><code>protected void Repeater1_ItemDataBound(Object sender, RepeaterItemEventArgs e)</code></p>
<p>Inside that event handler I simply added the conditional logic for showing or not showing the stuff I wanted to.</p>
<p><code><br />
  bool visibility;</code><code> <br />
  if(Condition)<br />
  {<br />
            visibility = true;<br />
  }<br />
  else<br />
  {<br />
            visibility = false;<br />
  }</code><code> <br />
  ((Label)e.Item.FindControl("lblLabelName")).Visible = visibility;</code></p>
<p>That did the trick for me, hope it helps you.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=14&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2006/11/09/conditional-logic-inside-repeaters/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;Failed to enable constraints. One or more rows contain values violating&#8230;&#8221;</title>
		<link>http://microserf.wordpress.com/2006/11/02/failed-to-enable-constraints-one-or-more-rows-contain-values-violating/</link>
		<comments>http://microserf.wordpress.com/2006/11/02/failed-to-enable-constraints-one-or-more-rows-contain-values-violating/#comments</comments>
		<pubDate>Thu, 02 Nov 2006 10:28:40 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Visual Studio 2005]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2006/11/02/failed-to-enable-constraints-one-or-more-rows-contain-values-violating/</guid>
		<description><![CDATA[Using DataSets with TableAdapters I was trying to retrieve the different years listed in a database table since I wanted the unique years to show up on a drop-down list. My SQL-query looked like this:
SELECT DISTINCT DATEPART(yyyy, EntryDate) AS Year
FROM nPressClips
ORDER BY Year DESC
 What happened was that the dataset couldn&#8217;t fill due to this error:
&#8220;Failed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=12&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Using DataSets with TableAdapters I was trying to retrieve the different years listed in a database table since I wanted the unique years to show up on a drop-down list. My SQL-query looked like this:</p>
<p><code>SELECT DISTINCT DATEPART(yyyy, EntryDate) AS Year<br />
FROM nPressClips<br />
ORDER BY Year DESC</code></p>
<p> What happened was that the dataset couldn&#8217;t fill due to this error:</p>
<p>&#8220;Failed to enable constraints. One or more rows  contain values violating non-null, unique, or foreign-key  constraints.&#8221;</p>
<p>For some reason unknown to me, the query above also returned a null value PressClipID-column that I didn&#8217;t want. A quick solution was to simply return a constant column value to avoid it being null. This is my solution, quick and very dirty:</p>
<p><code>SELECT DISTINCT DATEPART(yyyy, EntryDate) AS Year, <strong>1 AS PressClipID</strong><br />
FROM nPressClips<br />
ORDER BY Year DESC</code></p>
<p>If anyone can come up with a better solution than this, do not hesitate to contact me. Until then, this works just fine.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=12&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2006/11/02/failed-to-enable-constraints-one-or-more-rows-contain-values-violating/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating web parts with Visual Studio 2005</title>
		<link>http://microserf.wordpress.com/2006/10/23/creating-web-parts-with-visual-studio-2005/</link>
		<comments>http://microserf.wordpress.com/2006/10/23/creating-web-parts-with-visual-studio-2005/#comments</comments>
		<pubDate>Mon, 23 Oct 2006 10:49:28 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[Visual Studio 2005]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2006/10/23/creating-web-parts-with-visual-studio-2005/</guid>
		<description><![CDATA[If you want to learn how to write web parts in Visual Studio 2005, ONDotNet has a great little tutorial which teaches you (or at least me) the very basics. How easy it was!
Try it out for yourself at: ONDotNet.com
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=11&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you want to learn how to write web parts in Visual Studio 2005, ONDotNet has a great little <a href="http://www.ondotnet.com/pub/a/dotnet/2005/05/23/webparts_1.html" title="tutorial">tutorial</a> which teaches you (or at least me) the very basics. How easy it was!</p>
<p>Try it out for yourself at: <a href="http://www.ondotnet.com/pub/a/dotnet/2005/05/23/webparts_1.html" title="ONDotNet.com">ONDotNet.com</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=11&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2006/10/23/creating-web-parts-with-visual-studio-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
		<item>
		<title>Limitations in InfoPath 2007</title>
		<link>http://microserf.wordpress.com/2006/10/20/limitations-in-infopath-2007/</link>
		<comments>http://microserf.wordpress.com/2006/10/20/limitations-in-infopath-2007/#comments</comments>
		<pubDate>Fri, 20 Oct 2006 10:28:21 +0000</pubDate>
		<dc:creator>microserf</dc:creator>
				<category><![CDATA[InfoPath 2007]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Visual Studio 2005]]></category>

		<guid isPermaLink="false">http://microserf.wordpress.com/2006/10/20/limitations-in-infopath-2007/</guid>
		<description><![CDATA[I&#8217;ve just started looking at InfoPath 2007 on the behalf of a customer, since they need some forms software. I liked the idea of the new InfoPath since it, unlike the 2003 version, doesn&#8217;t require any software being installed on the client computer.
However, I&#8217;ve discovered two important limitations that need workarounds. I don&#8217;t know why [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=10&subd=microserf&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve just started looking at <a href="http://www.microsoft.com/office/preview/programs/infopath/highlights.mspx">InfoPath 2007</a> on the behalf of a customer, since they need some forms software. I liked the idea of the new InfoPath since it, unlike the 2003 version, doesn&#8217;t require any software being installed on the client computer.</p>
<p>However, I&#8217;ve discovered two important limitations that need workarounds. I don&#8217;t know why they aren&#8217;t enabled by default in InfoPath, it sounds like an easy enough thing to do for Microsoft:</p>
<p>1) In order to publish the form to a web page, you need to either have the web page in SharePoint or modify your aspx-page a little. Not a lot of work, but it still sounds like something that you could make less complex.</p>
<p>2) If you want the forms data to be saved to a database, the InfoPath client has to be installed on your (assuming you&#8217;re the form filler) computer. Or you&#8217;d (the developer you) have to construct a web service, which InfoPath can use to indirectly communicate with the database. Direct communication from a web form is not supported.</p>
<p>At least that&#8217;s what I&#8217;ve understood so far by reviewing the documentation for InfoPath 2007. I haven&#8217;t really put my hands on it yet, but hopefully it will be soon.</p>
<p>One really nice thing is the intergration with <a href="http://www.microsoft.com/office/preview/servers/sharepointserver/highlights.mspx">SharePoint 2007</a> and <a href="http://msdn.microsoft.com/vstudio/">Visual Studio</a>, which probably should make heavily customized solutions easy to design and implement.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/microserf.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/microserf.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/microserf.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/microserf.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/microserf.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/microserf.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/microserf.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/microserf.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/microserf.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/microserf.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/microserf.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/microserf.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=microserf.wordpress.com&blog=488283&post=10&subd=microserf&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://microserf.wordpress.com/2006/10/20/limitations-in-infopath-2007/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/bd36ec7f184adfb371f9738da5b53e6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">microserf</media:title>
		</media:content>
	</item>
	</channel>
</rss>