<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>.NET 2.x</title><link>http://blogs.vbcity.com/shandy/category/144.aspx</link><description>My thoughts on .NET v2.x along with any code snippets I find useful. </description><managingEditor>Shandy</managingEditor><dc:language>en-GB</dc:language><generator>.Text Version 0.95.2004.102</generator><item><dc:creator>Shandy</dc:creator><title>Using The Microsoft InteropForms Toolkit v2.0 To Display .NET Forms In A VB6 Application Article Published</title><link>http://blogs.vbcity.com/shandy/archive/2007/12/11/8913.aspx</link><pubDate>Tue, 11 Dec 2007 14:57:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2007/12/11/8913.aspx</guid><wfw:comment>http://blogs.vbcity.com/shandy/comments/8913.aspx</wfw:comment><comments>http://blogs.vbcity.com/shandy/archive/2007/12/11/8913.aspx#Feedback</comments><slash:comments>56</slash:comments><wfw:commentRss>http://blogs.vbcity.com/shandy/comments/commentRss/8913.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/shandy/services/trackbacks/8913.aspx</trackback:ping><description>I have recently been looking into utilising VB.NET forms from a VB6 application and found that there seemed no one place&amp;nbsp;on the internet&amp;nbsp;where I could find all the relevent information I required to get it working. I have therefore created my own &lt;A href="http://blogs.vbcity.com/shandy/articles/8912.aspx"&gt;article&lt;/A&gt; on the subject.&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/8913.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>SQL Server 2005 : Using sp_send_dbmail With Attachments With a SQL Server Authenticated Username</title><link>http://blogs.vbcity.com/shandy/archive/2007/05/24/8315.aspx</link><pubDate>Thu, 24 May 2007 16:21:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2007/05/24/8315.aspx</guid><wfw:comment>http://blogs.vbcity.com/shandy/comments/8315.aspx</wfw:comment><comments>http://blogs.vbcity.com/shandy/archive/2007/05/24/8315.aspx#Feedback</comments><slash:comments>84</slash:comments><wfw:commentRss>http://blogs.vbcity.com/shandy/comments/commentRss/8315.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/shandy/services/trackbacks/8315.aspx</trackback:ping><description>In SQL Server 2000 I used a SQL Server authenticated user name to send emails with attachments using the xp_sendmail account. However, in SQL Server 2005 I was unable to get xp_sendmail working and after switching to using sp_send_dbmail I initially still couldn't get my SQL Server authenticated account to send emails with attachments. In the end I had to give the SQL Server authenticated account sysadmin rights. Not a very satisfactory solution but a lot easier than switching to using a windows authenticated account.
&lt;p&gt;I'd be interested to hear if anyone has a more elegent solution&lt;/p&gt;&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/8315.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>SQL Server 2005 sp_Send_DBMail @File_Attachments Parameter Does Not Allow Trailing Semi Colons</title><link>http://blogs.vbcity.com/shandy/archive/2007/05/24/8314.aspx</link><pubDate>Thu, 24 May 2007 16:11:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2007/05/24/8314.aspx</guid><wfw:comment>http://blogs.vbcity.com/shandy/comments/8314.aspx</wfw:comment><comments>http://blogs.vbcity.com/shandy/archive/2007/05/24/8314.aspx#Feedback</comments><slash:comments>99</slash:comments><wfw:commentRss>http://blogs.vbcity.com/shandy/comments/commentRss/8314.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/shandy/services/trackbacks/8314.aspx</trackback:ping><description>In SQL Server 2000 the @Attachments parameter for the xp_SendMail stored procedure allowed you to pass attachments in the format "\\servername\sharename\filename;\\servername\sharename\filename;". However, when using the sp_Send_DBMail stored procedure @file_attachments parameter this format is invalid resulting in the error message:
&lt;p&gt;&lt;i&gt;The format of the parameter @attachments is incorrect. The file names must be separated by a semicolon ";".&lt;/i&gt;&lt;/p&gt;
&lt;p&gt; Note also the incorrect naming of the parameter @file_attachments as @attachments. Instead you need to use the format "\\servername\sharename\filename;\\servername\sharename\filename".&lt;/p&gt;&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/8314.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>SQL Server Surface Area Configuration : Unable To Access Remote Servers</title><link>http://blogs.vbcity.com/shandy/archive/2007/05/23/8308.aspx</link><pubDate>Wed, 23 May 2007 10:47:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2007/05/23/8308.aspx</guid><wfw:comment>http://blogs.vbcity.com/shandy/comments/8308.aspx</wfw:comment><comments>http://blogs.vbcity.com/shandy/archive/2007/05/23/8308.aspx#Feedback</comments><slash:comments>69</slash:comments><wfw:commentRss>http://blogs.vbcity.com/shandy/comments/commentRss/8308.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/shandy/services/trackbacks/8308.aspx</trackback:ping><description>I found that although I could access remote computers using SQL SErver Surface Area Configuration on the same domain as myself I could not access servers on other domains. I resolved the issue by allowing my windows login access to the local administrator group on the remote servers.&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/8308.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>Using xp_SendMail In SQL Server 2005</title><link>http://blogs.vbcity.com/shandy/archive/2007/05/22/8303.aspx</link><pubDate>Tue, 22 May 2007 10:42:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2007/05/22/8303.aspx</guid><wfw:comment>http://blogs.vbcity.com/shandy/comments/8303.aspx</wfw:comment><comments>http://blogs.vbcity.com/shandy/archive/2007/05/22/8303.aspx#Feedback</comments><slash:comments>127</slash:comments><wfw:commentRss>http://blogs.vbcity.com/shandy/comments/commentRss/8303.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/shandy/services/trackbacks/8303.aspx</trackback:ping><description>I give in. Having spent the last week on and off trying to allow a SQL Server authenticated user to execute the xp_SendMail stored procedure I am at a loss as to what to do to allow this to happen. It looks like I am going to have to rewrite my code to utilise the new Database Mail method, something I could really do without at the moment. I will still need my code to execute the xp_sendmail stored procedure because my code still needs to use the xp_sendmail on SQL 2000 servers.
&lt;p&gt;I suppose the alternative is to change the login from the specific one I have created, which can only access stored procedures I give it execute acess to (it cannot access views nor tables directly), and allow my application to login as the sa user. Ironically making the SQL Server 2005 less not more secure.&lt;/p&gt;&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/8303.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>Microsoft SQL Server Management Studio - Full Edition Now Installed</title><link>http://blogs.vbcity.com/shandy/archive/2007/05/03/8268.aspx</link><pubDate>Thu, 03 May 2007 11:29:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2007/05/03/8268.aspx</guid><wfw:comment>http://blogs.vbcity.com/shandy/comments/8268.aspx</wfw:comment><comments>http://blogs.vbcity.com/shandy/archive/2007/05/03/8268.aspx#Feedback</comments><slash:comments>46</slash:comments><wfw:commentRss>http://blogs.vbcity.com/shandy/comments/commentRss/8268.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/shandy/services/trackbacks/8268.aspx</trackback:ping><description>After a struggle I have finally managed to get the full edition of &lt;a href="Microsoft SQL Server Management Studio"&gt;Microsoft SQL Server Management Studio &lt;/a&gt;installed on my laptop. Initially, it refused to install claiming that it was already installed, despite the fact it wasn't. I believe the problem was because I had previously installed &lt;a href="http://msdn.microsoft.com/vstudio/express/sql/"&gt;SQL Server 2005 Express&lt;/a&gt; and despite not installing &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&amp;displaylang=en"&gt;Microsoft SQL Server Management Studio Express&lt;/a&gt; something had installed that prevented the full blown Microsoft SQL Server Management Studio from &lt;a href="http://www.microsoft.com/sql/editions/standard/default.mspx"&gt;SQL Server 2005 Standard Edition&lt;/a&gt; from installing. Fortunately the solution was fairly straightforward. I simply un-installed all SQL Server 2005 express components and installed the SQL Server 2005 standard edition from scratch.
&lt;p&gt;The reason I needed to install full Microsoft SQL Server Management Studio edition was that the express edition did not appear to list the SQL Server Agent in the Object Explorer and so I was unable to access any jobs installed on the SQL servers. As far as I am concerned this is a fairly fundemental flaw in the express edition, rending it useless for the work I need to do.&lt;/p&gt;&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/8268.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>Creating A Splash Screen In VB.NET 2005 Article Posted</title><link>http://blogs.vbcity.com/shandy/archive/2007/04/13/8232.aspx</link><pubDate>Fri, 13 Apr 2007 09:34:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2007/04/13/8232.aspx</guid><wfw:comment>http://blogs.vbcity.com/shandy/comments/8232.aspx</wfw:comment><comments>http://blogs.vbcity.com/shandy/archive/2007/04/13/8232.aspx#Feedback</comments><slash:comments>135</slash:comments><wfw:commentRss>http://blogs.vbcity.com/shandy/comments/commentRss/8232.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/shandy/services/trackbacks/8232.aspx</trackback:ping><description>I have just posted an article, &lt;a href="http://blogs.vbcity.com/shandy/articles/8231.aspx"&gt;Creating A Splash Screen In VB.NET 2005.&lt;/a&gt;. Not rocket science but a start on documenting my VB.NET 2005 experiences. Hopefully it will be of use to other newbies, like myself, in the future.&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/8232.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>Visual Studio 2005 Installed</title><link>http://blogs.vbcity.com/shandy/archive/2007/04/03/8217.aspx</link><pubDate>Tue, 03 Apr 2007 11:16:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2007/04/03/8217.aspx</guid><wfw:comment>http://blogs.vbcity.com/shandy/comments/8217.aspx</wfw:comment><comments>http://blogs.vbcity.com/shandy/archive/2007/04/03/8217.aspx#Feedback</comments><slash:comments>45</slash:comments><wfw:commentRss>http://blogs.vbcity.com/shandy/comments/commentRss/8217.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/shandy/services/trackbacks/8217.aspx</trackback:ping><description>The installation of VS 2005 Professional&amp;nbsp;proved to be seemless. The only issue was the length of time it took to install - in excess of an hour when the VS, MSDN &amp;amp; VS SP1 had all been installed. This was on a pretty reasonable development PC too - my &lt;A href="http://blogs.vbcity.com/shandy/archive/2007/02/15/8190.aspx"&gt;Dell Latitude D620&lt;/A&gt;. So if you are going for a VS install I'd advise putting aside at least an hour and have a .NET learning book handy ;-)&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/8217.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>.NET 2005 Books</title><link>http://blogs.vbcity.com/shandy/archive/2007/04/03/8215.aspx</link><pubDate>Tue, 03 Apr 2007 10:36:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2007/04/03/8215.aspx</guid><wfw:comment>http://blogs.vbcity.com/shandy/comments/8215.aspx</wfw:comment><comments>http://blogs.vbcity.com/shandy/archive/2007/04/03/8215.aspx#Feedback</comments><slash:comments>85</slash:comments><wfw:commentRss>http://blogs.vbcity.com/shandy/comments/commentRss/8215.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/shandy/services/trackbacks/8215.aspx</trackback:ping><description>&lt;P&gt;We have finally gone ahead at work and purchased &lt;A href="http://msdn2.microsoft.com/en-gb/vstudio/default.aspx"&gt;Microsoft Visual Studio 2005 Professional&lt;/A&gt;. To kick start learning &lt;A href="http://msdn2.microsoft.com/en-us/vbasic/default.aspx"&gt;VB.NET 2005&lt;/A&gt; I have purchased the following 3 books from &lt;A href="http://www.amazon.co.uk/"&gt;Amazon&lt;/A&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://www.microsoft.com/MSPress/books/7653.aspx"&gt;Microsoft Visual Basic 2005 Step By Step&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.microsoft.com/MSPress/books/7215.aspx"&gt;Microsoft ADO.NET 2.0 Step By Step&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.microsoft.com/MSPress/books/7211.aspx"&gt;Microsoft Programming Visual Basic 2005 : The Language&lt;/A&gt;.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;I have to be honest and say that my first choice would have been to purchase Murach's books as I am a big fan of theirs but I found a few of issues when trying to order their books.&lt;/P&gt;
&lt;P&gt;The first issue was that when I tried to order from &lt;A href="http://www.murach.com/index.htm"&gt;Murach's web site&lt;/A&gt; I could not find out how to get the delivery costs before ordering the books.&lt;/P&gt;
&lt;P&gt;The second issue was that when I tried to order &lt;A href="http://www.murach.com/books/adon/index.htm"&gt;Murach&amp;#8217;s VB.NET Database Programming with ADO.NET&lt;/A&gt; from Amazon it appeared that by looking at the &lt;A href="http://www.amazon.co.uk/gp/reader/1890774197/ref=sib_dp_bod_toc/203-9584448-4066312?ie=UTF8&amp;p=S005#reader-link"&gt;table of contents&lt;/A&gt; and checking the publication date - 1 May 2003 - that only the 2003 version was available. &lt;/P&gt;
&lt;P&gt;The final issue was that delivery on the books seemed unlikely to occur within less than a couple of weeks.&lt;/P&gt;
&lt;P&gt;As I wanted to get the books within a week I decided that I'd go with the &lt;A href="http://www.microsoft.com/learning/books/default.mspx"&gt;Microsoft Press&lt;/A&gt; books as they were easier to order and could be delivered within a few days. I also wanted most of the books to be by the same publishing house as I find this makes moving between the books easier as the writing and content style tend to be similar. Time will tell whether this decision proves right or not.&lt;/P&gt;
&lt;P&gt;Further subjects I possibly need books on are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;VB.NET 2005 and SQL Server 2005 development.&lt;/LI&gt;
&lt;LI&gt;VB.NET 2005 and ASP.NET 2.0 programming.&lt;/LI&gt;
&lt;LI&gt;VB.NET 2005 and Microsoft Office 2003 Programming.&lt;/LI&gt;
&lt;LI&gt;Reporting using Visual Studio 2005.&lt;/LI&gt;&lt;/UL&gt;&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/8215.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>Finally : A .NET Project At Work</title><link>http://blogs.vbcity.com/shandy/archive/2007/02/28/8201.aspx</link><pubDate>Wed, 28 Feb 2007 11:43:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2007/02/28/8201.aspx</guid><wfw:comment>http://blogs.vbcity.com/shandy/comments/8201.aspx</wfw:comment><comments>http://blogs.vbcity.com/shandy/archive/2007/02/28/8201.aspx#Feedback</comments><slash:comments>44</slash:comments><wfw:commentRss>http://blogs.vbcity.com/shandy/comments/commentRss/8201.aspx</wfw:commentRss><trackback:ping>http://blogs.vbcity.com/shandy/services/trackbacks/8201.aspx</trackback:ping><description>&lt;P&gt;After 7 years of "playing around" with VB.NET I have finally been given the go ahead to develop my next project in work in VB.NET.&lt;/P&gt;
&lt;P&gt;We have still to iron out the details but in principal it has been agreed and we can purchase Visual Studio 2005. At some stage in the next few months we will also be looking to upgrade our servers from SQL Server 2000 to 2005.&lt;/P&gt;
&lt;P&gt;So a lot of work to be done in the next few weeks as I need to refresh my knowledge as its been almost a couple of years since I used VB.NET on a regular basis and I have never used VB.NET 2005 except playing around with VB.NET 2005 Express over the last week or so.&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/8201.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>