<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>sudesh</title><description></description><managingEditor>noreply@blogger.com (Sudesh)</managingEditor><pubDate>Sun, 29 Sep 2024 10:57:54 +0530</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">21</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://sudeshwithanage.blogspot.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle/><itunes:category text="Technology"><itunes:category text="Software How-To"/></itunes:category><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><item><title>Asp.net core app creatoin and publishing to Azure App Service</title><link>http://sudeshwithanage.blogspot.com/2022/09/aspnet-core-app-creatoin-and-publishing.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Mon, 5 Sep 2022 22:12:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-4166657254341452743</guid><description>

&lt;a href="https://docs.microsoft.com/en-us/aspnet/core/getting-started/?view=aspnetcore-6.0&amp;amp;tabs=windows"&gt;https://docs.microsoft.com/en-us/aspnet/core/getting-started/?view=aspnetcore-6.0&amp;tabs=windows&lt;/a&gt;

&lt;a href="https://docs.microsoft.com/en-us/azure/app-service/quickstart-dotnetcore?tabs=net60&amp;amp;pivots=development-environment-vscode"&gt;https://docs.microsoft.com/en-us/azure/app-service/quickstart-dotnetcore?tabs=net60&amp;pivots=development-environment-vscode&lt;/a&gt;



&lt;script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6791943929007442"
     crossorigin="anonymous"&gt;&lt;/script&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title/><link>http://sudeshwithanage.blogspot.com/2019/08/adsbygoogle-window.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Wed, 7 Aug 2019 16:21:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-3871695297658857499</guid><description>&lt;script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"&gt;&lt;/script&gt;
&lt;script&gt;
     (adsbygoogle = window.adsbygoogle || []).push({
          google_ad_client: "ca-pub-6791943929007442",
          enable_page_level_ads: true
     });
&lt;/script&gt;


</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>passing uploaded document as a steam to a webservice from a sharepoint eventhandler</title><link>http://sudeshwithanage.blogspot.com/2010/10/passing-uploaded-document-as-steam-to.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Mon, 18 Oct 2010 23:34:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-3974545746447738475</guid><description>public override void ItemAdded(SPItemEventProperties properties)&lt;br /&gt;        {&lt;br /&gt;&lt;br /&gt;            //SPFile file1 = properties.ListItem.File;&lt;br /&gt;&lt;br /&gt;            SPSite site = new SPSite("http://win-ofut34hh848:33738");&lt;br /&gt;            using (SPWeb web = site.OpenWeb())&lt;br /&gt;            {&lt;br /&gt;                SPFolder folder = web.GetFolder("http://win-ofut34hh848:33738/TestDocLib");&lt;br /&gt;&lt;br /&gt;                int a = properties.AfterUrl.IndexOf('/') + 1;&lt;br /&gt;                int b = properties.AfterUrl.Length - (properties.AfterUrl.IndexOf('/') + 1);&lt;br /&gt;                SPFile file = folder.Files[properties.AfterUrl.Substring(a,b) ];&lt;br /&gt;                //byte[] buffer = new byte[];&lt;br /&gt;                //file.SaveBinary(buffer);&lt;br /&gt;                Stream m = file.OpenBinaryStream();// new MemoryStream(buffer);&lt;br /&gt;&lt;br /&gt;                ServiceReference1.Service1Client sc = new ServiceReference1.Service1Client();&lt;br /&gt;                sc.GetData(m);&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            &lt;br /&gt;            //}&lt;br /&gt;        }</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Calling a web service from a SharePoint event handler</title><link>http://sudeshwithanage.blogspot.com/2010/10/calling-web-service-from-sharepoint.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Mon, 18 Oct 2010 20:48:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-5832167976027199527</guid><description>High level steps are as follows:&lt;br /&gt;&lt;br /&gt;1. Create the Envent reciver for the list using the Visual Studio templete.&lt;br /&gt;2. Add a web reference to WCF Service.&lt;br /&gt;3. Deploy the Event handler.&lt;br /&gt;4. Register the Event handler.&lt;br /&gt;5. Copy the WebReference folder into Site Virtual Directory in C:\inetpub\wwwroot\wss\VirtualDirectories\[port]&lt;br /&gt;6. Add the App.config code inthe web.config file</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>SharePoint Document Library  display of documents with path</title><link>http://sudeshwithanage.blogspot.com/2010/10/sharepoint-document-library-display-of.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Sun, 17 Oct 2010 14:28:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-5378402352828569807</guid><description>class Program&lt;br /&gt;    {&lt;br /&gt;        static void Main(string[] args)&lt;br /&gt;        {&lt;br /&gt;            SPSite site = new SPSite("http://win-ofut34hh848:33738");&lt;br /&gt;            using (SPWeb web = site.OpenWeb())&lt;br /&gt;            {&lt;br /&gt;                //SPList list = web.GetList("/TestDocLib");&lt;br /&gt;                //SPListItemCollection folders = list.Folders;&lt;br /&gt;                SPFolder folder = web.GetFolder("http://win-ofut34hh848:33738/TestDocLib");&lt;br /&gt;                &lt;br /&gt;                    //if (folder.Folder == SPFo)&lt;br /&gt;                    foreach (SPFolder f in folder.SubFolders)&lt;br /&gt;                 {&lt;br /&gt;                        //foreach (SPFolder sf in f.SubFolders)&lt;br /&gt;                        //{ &lt;br /&gt;                        Console.WriteLine(folder.Name + " \\ " + f.Name + " \n"); //+ sf.Name + "\n" );    &lt;br /&gt;&lt;br /&gt;                            foreach (SPFile file in f.Files)&lt;br /&gt;                         {&lt;br /&gt;                          Console.WriteLine("  ::::  " + file.Name);                                   &lt;br /&gt;                         }&lt;br /&gt;                            Console.WriteLine();&lt;br /&gt;                            &lt;br /&gt;                        //}&lt;br /&gt;                        &lt;br /&gt;                 }         &lt;br /&gt;                &lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            Console.Read();&lt;br /&gt;                       &lt;br /&gt;        }&lt;br /&gt;    }</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Messaging</title><link>http://sudeshwithanage.blogspot.com/2010/05/messaging.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Thu, 27 May 2010 22:34:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-7711900594366767848</guid><description>MessageQueue myMQ;&lt;br /&gt;&lt;br /&gt;        public Form1()&lt;br /&gt;        {&lt;br /&gt;            InitializeComponent();&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        private void button1_Click(object sender, EventArgs e)&lt;br /&gt;        {&lt;br /&gt;            myMQ = new MessageQueue(@".\Private$\InteropQueue");&lt;br /&gt;&lt;br /&gt;            if (myMQ != null &amp;&amp; !MessageQueue.Exists(myMQ.Path))&lt;br /&gt;            {&lt;br /&gt;                myMQ = MessageQueue.Create(@".\Private$\InteropQueue");&lt;br /&gt;&lt;br /&gt;            }&lt;br /&gt;&lt;br /&gt;            System.Messaging.Message msg = new System.Messaging.Message();&lt;br /&gt;            msg.Body = "Test";&lt;br /&gt;&lt;br /&gt;            myMQ.Send(msg);&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        MessageQueue mq;&lt;br /&gt;        System.Messaging.Message msg;&lt;br /&gt;        private void button2_Click(object sender, EventArgs e)&lt;br /&gt;        {&lt;br /&gt;            mq = new MessageQueue(@".\Private$\InteropQueue");&lt;br /&gt;            &lt;br /&gt;            Type[] types = new Type[1];&lt;br /&gt;            types[0] = typeof(String);&lt;br /&gt;            mq.Formatter = new XmlMessageFormatter(types);&lt;br /&gt;&lt;br /&gt;            try&lt;br /&gt;            {&lt;br /&gt;                  // Call receive on queue&lt;br /&gt;                  msg = mq.Receive(new TimeSpan(0, 0, 100)); // 5 is wait time in seconds&lt;br /&gt;                  // Assign to variable&lt;br /&gt;                  MessageBox.Show(msg.Body.ToString());&lt;br /&gt;            }&lt;br /&gt;            catch( Exception ex)&lt;br /&gt;            {&lt;br /&gt;                MessageBox.Show(ex.Message);&lt;br /&gt;            }</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>CTE SQL Server 2</title><link>http://sudeshwithanage.blogspot.com/2009/12/cte-sql-server-2.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Sun, 6 Dec 2009 17:12:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-6759077520270528026</guid><description>WITH TestCTE (ID&lt;br /&gt;    ,Name&lt;br /&gt;    ,ParentId&lt;br /&gt;    ,Level)&lt;br /&gt; AS&lt;br /&gt; (&lt;br /&gt;  SELECT ID&lt;br /&gt;    ,Name&lt;br /&gt;    ,ParentId&lt;br /&gt;    ,0 Level&lt;br /&gt;  FROM dbo.MyFirends F1P&lt;br /&gt;  UNION ALL &lt;br /&gt;  SELECT F.ID&lt;br /&gt;    ,F.Name&lt;br /&gt;    ,F.ParentId&lt;br /&gt;    ,Level - 1&lt;br /&gt;  FROM dbo.MyFirends F&lt;br /&gt;  INNER JOIN TestCTE CTE ON F.ID = CTE.ParentId&lt;br /&gt; )&lt;br /&gt;&lt;br /&gt; select ID&lt;br /&gt;    ,Name&lt;br /&gt;    ,ParentId&lt;br /&gt;    ,-1*Level &lt;br /&gt; from TestCTE C</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>CTE SQL Server</title><link>http://sudeshwithanage.blogspot.com/2009/12/cte-sql-server.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Sun, 6 Dec 2009 17:11:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-8964005200231230614</guid><description>http://msdn.microsoft.com/en-us/library/ms190766.aspx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;CREATE TABLE [dbo].[MyFirends](&lt;br /&gt; [ID] [int] NULL,&lt;br /&gt; [Name] [nchar](10) NULL,&lt;br /&gt; [Date] [date] NULL,&lt;br /&gt; [Address] [nchar](100) NULL,&lt;br /&gt; [ParentId] [int] NOT NULL&lt;br /&gt;) ON [PRIMARY]&lt;br /&gt;&lt;br /&gt;-------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;WITH TestCTE (ID&lt;br /&gt;    ,Name&lt;br /&gt;    ,ParentId&lt;br /&gt;    ,Level)&lt;br /&gt; AS&lt;br /&gt; (&lt;br /&gt;  SELECT ID&lt;br /&gt;    ,Name&lt;br /&gt;    ,ParentId&lt;br /&gt;    ,0 Level&lt;br /&gt;  FROM dbo.MyFirends F1P&lt;br /&gt;  WHERE ParentId  = 0 &lt;br /&gt;  UNION ALL &lt;br /&gt;  SELECT F.ID&lt;br /&gt;    ,F.Name&lt;br /&gt;    ,F.ParentId&lt;br /&gt;    ,Level + 1&lt;br /&gt;  FROM dbo.MyFirends F&lt;br /&gt;  INNER JOIN TestCTE CTE ON F.ParentId  = CTE.ID&lt;br /&gt; )&lt;br /&gt;&lt;br /&gt; select ID&lt;br /&gt;    ,Name&lt;br /&gt;    ,ParentId&lt;br /&gt;    ,Level &lt;br /&gt; from TestCTE C</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Real time refreshing charts in WPF</title><link>http://sudeshwithanage.blogspot.com/2009/05/real-time-refreshing-charts-in-wpf.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Sun, 24 May 2009 19:03:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-3946827610532590597</guid><description>&lt;span style="font-weight:bold;"&gt;Charts in WPF &lt;/span&gt;&lt;br /&gt; There are sample applications and UI controls both commercial and freely available. Below 1) and 2) supports real time updating.  Except the 1) and 2);  with rest of the other tools the real time refreshing need to happen from the application by loading the chart periodically.&lt;br /&gt; &lt;br /&gt;Visfire supports both windows and web applications with built in real time updating support. Both open source and commercial version (with customer support and many features) is available.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1) A WPF Sample application for a live updating line graph&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; Below sample application was downloaded and tested.  It contains few user controls and custom classes written from scratch with tickers and lines for generating a ticking line graph.&lt;br /&gt;http://decav.com/blogs/andre/archive/2007/08/25/live-updating-line-graph-in-wpf.aspx&lt;br /&gt;&lt;br /&gt;  &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcwuVWoZ5cozudYSZBqC4Tq-59nIsXpqzRaV1rjVSe3x2_1HDfu_PW9vSPDtDeGfhK3ebLcHchztDhjJLU8wAvXWzIJt6Kq08W4A8bz0qDQWVV7x9Or8nkN53xv29L7oS_Euyw_OtfAB_F/s1600-h/visifire.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 192px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcwuVWoZ5cozudYSZBqC4Tq-59nIsXpqzRaV1rjVSe3x2_1HDfu_PW9vSPDtDeGfhK3ebLcHchztDhjJLU8wAvXWzIJt6Kq08W4A8bz0qDQWVV7x9Or8nkN53xv29L7oS_Euyw_OtfAB_F/s320/visifire.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5339383288930589218" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2) Visifire &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Visifire is an open Source data visualization component which can be used to create charts very quickly. &lt;br /&gt;http://visifire.com/&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;  Single API to both Silverlight &amp; WPF&lt;br /&gt;Possible to use with desktop applications (WPF), Silverlight and WPF browser applications&lt;br /&gt;  Embed into Desktop or Web Applications in minutes&lt;br /&gt;  Real time Charts / Live Update&lt;br /&gt;Any property of Visifire charts can be updated in realtime. Visifire 2.0 supports realtime update from both javascript &amp; managed code.&lt;br /&gt; http://code.google.com/p/visifire/&lt;br /&gt; http://visifire.com/silverlight_charts_gallery.php&lt;br /&gt;  Tiny footprint&lt;br /&gt;  Enterprise grade features&lt;br /&gt;  Microsoft  Expression  Blend  compatible&lt;br /&gt;Chart look and feel can be customized. Visifire charts can be designed in Microsoft Expression Blend.&lt;br /&gt;  Dual License - Open Source &amp; Commercial&lt;br /&gt;Open Source GPL 3.0 license &lt;br /&gt; Commercial license with customer support and many features&lt;br /&gt;Features: http://visifire.com/visifire_features.php&lt;br /&gt;Samples are available with visifire downloads. In order to chart to get updated data points should be created programmatically and added to the chart.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3) Swordfish Charts&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://johnstewien.spaces.live.com/blog/cns!E6885DB5CEBABBC8!444.entry&lt;br /&gt;&lt;br /&gt;This is an initial level project at sourceforge. Sample code is available for downloading.&lt;br /&gt;http://sourceforge.net/projects/swordfishcharts&lt;br /&gt;licensed under A Public Domain dedication&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;4) Telerik UI Controls for reporting &lt;/span&gt;&lt;br /&gt;&lt;br /&gt; Telerik is a commercially available set of UI controls for reports. UI controls are available for WPF and Silverlight for reporting.  Demos, online forums and documentation with great customer support are provided.&lt;br /&gt;http://www.telerik.com/&lt;br /&gt;Below sample application is for WPF chart using Telerik Rad controls for WPF. A lot of look and feel customizations and themes are possible with these UI controls.&lt;br /&gt;http://blogs.telerik.com/manoldonev/posts/09-01-06/WPF_Customizing_the_chart_series_appearance_in_RadChart.aspx&lt;br /&gt; &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_xVlLDPgxPnQmUJwOoA8eXGQ0FFw44y6Xv6a5wvyIYchQK_4asp3BX3cCRUVEQCjxjj7SbgGu7oLSgl1xoQvFn-AJ-w4d3A6y60DpaW4P6tmDZwQRSwJsemZU-AmUhKYkThGm_5PxsWAk/s1600-h/telerik.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 148px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_xVlLDPgxPnQmUJwOoA8eXGQ0FFw44y6Xv6a5wvyIYchQK_4asp3BX3cCRUVEQCjxjj7SbgGu7oLSgl1xoQvFn-AJ-w4d3A6y60DpaW4P6tmDZwQRSwJsemZU-AmUhKYkThGm_5PxsWAk/s320/telerik.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5339384049973469522" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5) Essential Chart for WPF&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;http://www.syncfusion.com/products/wpf/chart?gclid=CKS4oo3i0ZoCFQogegodBR9rDw&lt;br /&gt;http://www.syncfusion.com/products/wpf/chart/line-charts</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcwuVWoZ5cozudYSZBqC4Tq-59nIsXpqzRaV1rjVSe3x2_1HDfu_PW9vSPDtDeGfhK3ebLcHchztDhjJLU8wAvXWzIJt6Kq08W4A8bz0qDQWVV7x9Or8nkN53xv29L7oS_Euyw_OtfAB_F/s72-c/visifire.jpg" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title>pet</title><link>http://sudeshwithanage.blogspot.com/2009/04/pet.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Thu, 23 Apr 2009 21:35:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-7148010089664872089</guid><description>&lt;div style="width:360px;height:360px;text-align:right;background-color:white;border:1px solid white;-moz-border-radius:10px;-webkit-border-radius:10px;overflow:visible"&gt; &lt;a href="http://www.foopets.com" style="font-size:10px;font-family:helvetica,sans-serif;display:block;position:relative;text-align:right;width:100%;text-decoration:none;color:#aaaaaa;line-height:1em;margin:4px 0 0 0;"  title="Get your free virtual puppy or kitten at FooPets.com, the most realistic online pets and pet games" target="_blank"&gt;Virtual Pet by FooPets.com &amp;nbsp;&amp;nbsp;&lt;/a&gt;&lt;script type="text/javascript" src="http://widget.foopets.com/widget/v1?pet_id=4915347&amp;width=360&amp;height=270"&gt;&lt;/script&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>How to view Sinhalese Unicode characters in Windows XP SP2</title><link>http://sudeshwithanage.blogspot.com/2009/03/how-to-view-sinhalese-unicode.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Tue, 31 Mar 2009 15:33:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-5698891646479438334</guid><description>&lt;span style="font-weight: bold;"&gt;How to view Sinhalese Unicode characters in Windows XP SP2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    Control Panel -&gt; Date, Time, Language, and Regional Options -&gt; Regional and Language Options&lt;br /&gt;    Select Languages tab&lt;br /&gt;    In The supplemental language support select the below two options.&lt;br /&gt;          1) Install files for complex script and right-to-left languages (Including Thai)&lt;br /&gt;          2) Install files for East Asian languages&lt;br /&gt;&lt;br /&gt;    You may prompt for SP2 CD. Provide the appropriate CD and proceed with the installation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    Install sinhala enabling kit from below URL:&lt;br /&gt;    http://www.siyabas.lk/sinhala_how_to_install.html#win</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>SQL Server table partitioning for performance</title><link>http://sudeshwithanage.blogspot.com/2009/03/sql-server-table-partitioning-for.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Sun, 29 Mar 2009 22:48:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-7007346869838446357</guid><description>SQL Server 2005&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms345146(SQL.90).aspx"&gt;http://msdn.microsoft.com/en-us/library/ms345146(SQL.90).aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;SQL Server 2008 Provides wizard for partitioning:&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd578580.aspx"&gt;http://msdn.microsoft.com/en-us/library/dd578580.aspx&lt;/a&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>File System Encryption for Windows (Free)</title><link>http://sudeshwithanage.blogspot.com/2009/03/file-system-encryption-for-windows-free.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Sun, 1 Mar 2009 09:39:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-6775798669511581348</guid><description>&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;EFS (Encrypting File System)&lt;/strong&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;EFS aviable with windows provides file encryption for free and works transparently with the os.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;1) Open Windows Explorer and select the file you want to encrypt&lt;br /&gt;2) Right-click the chosen file and select Properties from the context menu.&lt;br /&gt;3) Select the Advanced button to enable EFS.&lt;br /&gt;4) Encrypt the file by selecting the Encrypt contents to secure data check box as shown in Figure below. Click OK.&lt;br /&gt;&lt;/span&gt;&lt;a id="ctl00_rs1_mainContentContainer_ctl04" onclick="javascript:Track('ctl00_rs1_mainContentContainer_ctl00ctl00_rs1_mainContentContainer_ctl04',this);" href="http://technet.microsoft.com/en-us/library/Bb457065.crypt02_big(en-us,TechNet.10).gif"&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitdkRJL19kiOmiIhJRihxLQTupncDNDmHa30eOoNgtXrccilZht8ljljuiIXt8C90fK_wGVCumsD4hPwpq7mLlKqHgFeSlISmRfeCO4Z1G6quaKImx3QKrXw-No9l2BRxn3qrdXg2PDX86/s1600-h/encryption.gif"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5308069162416768578" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 320px; CURSOR: hand; HEIGHT: 259px" alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitdkRJL19kiOmiIhJRihxLQTupncDNDmHa30eOoNgtXrccilZht8ljljuiIXt8C90fK_wGVCumsD4hPwpq7mLlKqHgFeSlISmRfeCO4Z1G6quaKImx3QKrXw-No9l2BRxn3qrdXg2PDX86/s320/encryption.gif" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;a href="http://technet.microsoft.com/en-us/library/bb457065.aspx"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;http://technet.microsoft.com/en-us/library/bb457065.aspx&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/div&gt;</description><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitdkRJL19kiOmiIhJRihxLQTupncDNDmHa30eOoNgtXrccilZht8ljljuiIXt8C90fK_wGVCumsD4hPwpq7mLlKqHgFeSlISmRfeCO4Z1G6quaKImx3QKrXw-No9l2BRxn3qrdXg2PDX86/s72-c/encryption.gif" width="72"/><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>JavaScript client for e-jabberd (Open Source chat server - chat client)</title><link>http://sudeshwithanage.blogspot.com/2009/02/javascript-client-for-e-jabberd-open.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Sun, 22 Feb 2009 16:49:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-8425294968207469990</guid><description>Below are open source chat server and client suitable for enterprise usage.&lt;br /&gt;&lt;br /&gt;Chat Server : ejabberd&lt;br /&gt;http://www.ejabberd.im/&lt;br /&gt;&lt;br /&gt;Chat Client : jwchat&lt;br /&gt;http://blog.jwchat.org/jwchat/&lt;br /&gt;&lt;br /&gt;Below url explains how to configure ejabberd with jwchat.&lt;br /&gt;http://www.ejabberd.im/jwchat-localserver</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>my home</title><link>http://sudeshwithanage.blogspot.com/2009/02/my-home.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Sat, 21 Feb 2009 22:48:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-5882811193228276092</guid><description>&lt;iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?ie=UTF8&amp;amp;hl=en&amp;amp;msa=0&amp;amp;ll=7.012053,79.961197&amp;amp;spn=31.509065,56.601563&amp;amp;lci=lmc:panoramio,lmc:youtube,lmc:wikipedia_en&amp;amp;msid=107010786629699685982.000463709ffd37df1401b&amp;amp;output=embed&amp;amp;s=AARTsJpTKjhYww1H7UJztFfkBuYf3BShFA"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;small&gt;&lt;a href="http://maps.google.com/maps/ms?ie=UTF8&amp;amp;hl=en&amp;amp;msa=0&amp;amp;ll=7.012053,79.961197&amp;amp;spn=31.509065,56.601563&amp;amp;lci=lmc:panoramio,lmc:youtube,lmc:wikipedia_en&amp;amp;msid=107010786629699685982.000463709ffd37df1401b&amp;amp;source=embed" style="color:#0000FF;text-align:left"&gt;View Larger Map&lt;/a&gt;&lt;/small&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title/><link>http://sudeshwithanage.blogspot.com/2009/02/blog-post.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Sat, 7 Feb 2009 15:27:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-5577993164708472620</guid><description>&lt;iframe style="width: 500px; height: 375px;" src="http://www.popfly.com/users/sudesh/photos.small" allowtransparency="true" frameborder="no"&gt;&lt;/iframe&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Call a WCF Service from Classic ASP</title><link>http://sudeshwithanage.blogspot.com/2009/02/call-wcf-service-from-classic-asp.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Sun, 1 Feb 2009 12:33:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-975435324651875324</guid><description>Dim wsdl, moniker, obj&lt;br /&gt;&lt;br /&gt;wsdl = GetWsdlFromUrl("http://localhost:8731/Design_Time_Addresses/WcfServiceLibrary1/Service1/?wsdl")&lt;br /&gt;&lt;br /&gt;moniker = "service:wsdl=" &amp;amp; wsdl &amp;amp; ", "&lt;br /&gt;moniker = moniker + "address=http://localhost:8731/Design_Time_Addresses/WcfServiceLibrary1/Service1/,"&lt;br /&gt;moniker = moniker + "contract=IService1, "&lt;br /&gt;moniker = moniker + "contractNamespace=http://tempuri.org/, "&lt;br /&gt;moniker = moniker + "binding=WSHttpBinding_IService1, "&lt;br /&gt;moniker = moniker + "bindingNamespace=http://tempuri.org/"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Set objProxy = GetObject(moniker)&lt;br /&gt;&lt;br /&gt;Dim str&lt;br /&gt;str = objProxy.GetData("2")&lt;br /&gt;Response.Write(str)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Function GetWsdlFromUrl(strUrl)&lt;br /&gt;&lt;br /&gt;    Dim winHttpReq, resp&lt;br /&gt;&lt;br /&gt;    Set winHttpReq = CreateObject("WinHttp.WinHttpRequest.5.1")&lt;br /&gt;    resp = winHttpReq.Open("GET", strUrl, False)&lt;br /&gt;    winHttpReq.Send&lt;br /&gt;&lt;br /&gt;    GetWsdlFromUrl = winHttpReq.ResponseText&lt;br /&gt;   &lt;br /&gt;End Function</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item><item><title/><link>http://sudeshwithanage.blogspot.com/2009/01/my-virtual-rainforest-25-trees-plant.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Sun, 18 Jan 2009 18:37:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-5518630363379336507</guid><description>&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;b&gt;My Virtual Rainforest&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="text-decoration: none;" href="http://apps.facebook.com/plantyourtree/forest_view/1390?forest_prefix=owned"&gt;&lt;br /&gt;&lt;br /&gt;&lt;img alt="loading..." src="http://74.63.11.97/forestimage/show_owned/1390/?scale=0.5&amp;amp;session_id=1312e41801919a77cfa289f4c57b4541&amp;amp;r=11404" style="text-align: center; vertical-align: middle; width: 403px; height: 382px;" /&gt;&lt;br /&gt;&lt;b&gt;(33 trees)&lt;/b&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;  &lt;a href="http://apps.facebook.com/plantyourtree/plant_trees/1390"&gt;Plant some trees for me&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title/><link>http://sudeshwithanage.blogspot.com/2009/01/send-mail-using-gmail-smtp-server-try.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Wed, 14 Jan 2009 09:40:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-2013291157795831045</guid><description>&lt;span style="color: rgb(51, 51, 255); font-family: verdana;font-size:130%;" &gt;send mail using gmail smtp server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background: silver none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: verdana;"&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt; try&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;            {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                MailMessage mm = new MailMessage(From.Trim(),To);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                mm.BodyEncoding = Encoding.UTF7;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                mm.Subject = Subject.Trim();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                mm.Body = MessageTxt.Trim() + "\n";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                mm.Priority = MailPriority.High;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                mm.IsBodyHtml = false;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;            &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                if (FileSt != "")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    Attachment msgAtt = new Attachment(FileSt);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                    mm.Attachments.Add(msgAtt);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                SmtpClient sc = new SmtpClient();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                sc.Credentials = new System.Net.NetworkCredential("sudesh.withanage", "priyanka");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                sc.Port = 587;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                sc.Host = "smtp.gmail.com";&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                sc.EnableSsl = true;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;         //       sc.SendCompleted +=new SendCompletedEventHandler();&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                sc.Send(mm);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                &lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                MessageBox.Show("success");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;            }&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;            catch (Exception ex)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;            {&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;                MessageBox.Show(ex.Message);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;            }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-family: verdana;font-size:130%;" &gt;gmail pop&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background: silver none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: verdana;"&gt;&lt;br /&gt;pop.gmail.com&lt;br /&gt;&lt;br /&gt;995&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-family: verdana;font-size:130%;" &gt;gmail smtp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background: silver none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: verdana;"&gt;&lt;br /&gt;587&lt;br /&gt;smtp.gmail.com&lt;br /&gt;&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>SQL CLR</title><link>http://sudeshwithanage.blogspot.com/2008/01/sql-clr.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Tue, 22 Jan 2008 21:16:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-4187955789033322246</guid><description>using System;&lt;br /&gt;using System.Data;&lt;br /&gt;using System.Data.SqlTypes;&lt;br /&gt;&lt;br /&gt;public class MyCLRFunc&lt;br /&gt;{&lt;br /&gt; [Microsoft.SqlServer.Server.SqlFunction]&lt;br /&gt; public static SqlString MyCLRHelloFunction()&lt;br /&gt; {&lt;br /&gt;  return new SqlString("Hello everybody, I'm form SQLCLR!");&lt;br /&gt; }&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create assembly MyUDFCLR from 'K:\Users\Sudesh\Desktop\MyCLRFunc.dll'&lt;br /&gt;&lt;br /&gt;create function MyCLRHelloFunction()&lt;br /&gt; Returns nvarchar(50)&lt;br /&gt; External name MyUDFCLR.MyCLRFunc.MyCLRHelloFunction;&lt;br /&gt;Go&lt;br /&gt;&lt;br /&gt;select dbo.MyCLRHelloFunction()</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Crystal Reports changing logon infomation</title><link>http://sudeshwithanage.blogspot.com/2008/01/crystal-reports-chaing-logon-infomation.html</link><author>noreply@blogger.com (Sudesh)</author><pubDate>Tue, 22 Jan 2008 18:20:00 +0530</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4043870299452682953.post-692650628316184274</guid><description>Imports CrystalDecisions.CrystalReports.Engine&lt;br /&gt;Imports CrystalDecisions.Shared&lt;br /&gt;&lt;br /&gt;' this is the class for connecting crystal reports to database&lt;br /&gt;' applies logoninfo&lt;br /&gt;&lt;br /&gt;Public Class Creports&lt;br /&gt;&lt;br /&gt;'returns a ReportDocument after applying logoninfo for the passed report&lt;br /&gt;Public Function connect(ByVal rpt5 As ReportDocument) As ReportDocument&lt;br /&gt;&lt;br /&gt;Dim tbCurrent As Table&lt;br /&gt;Dim tbLogOnInfo As TableLogOnInfo&lt;br /&gt;&lt;br /&gt;Try&lt;br /&gt;'apply LogOn info for each table of the report document&lt;br /&gt;For Each tbCurrent In rpt5.Database.Tables&lt;br /&gt;tbLogOnInfo = tbCurrent.LogOnInfo&lt;br /&gt;&lt;br /&gt;With tbLogOnInfo.ConnectionInfo&lt;br /&gt;.ServerName = mod_1.serverName&lt;br /&gt;.UserID = mod_1.userName&lt;br /&gt;.Password = mod_1.password&lt;br /&gt;.DatabaseName = mod_1.dataBaseName&lt;br /&gt;End With&lt;br /&gt;&lt;br /&gt;tbCurrent.ApplyLogOnInfo(tbLogOnInfo)&lt;br /&gt;'tbLogOnInfo = tbCurrent.LogOnInfo&lt;br /&gt;'tbLogOnInfo.ConnectionInfo.ServerName = serverName&lt;br /&gt;'tbLogOnInfo.ConnectionInfo.UserID = userName&lt;br /&gt;'tbLogOnInfo.ConnectionInfo.Password = password&lt;br /&gt;'tbLogOnInfo.ConnectionInfo.DatabaseName = databaseName&lt;br /&gt;'tbCurrent.ApplyLogOnInfo(tbLogOnInfo)&lt;br /&gt;Next tbCurrent&lt;br /&gt;&lt;br /&gt;Return rpt5&lt;br /&gt;&lt;br /&gt;Catch lsExp As LoadSaveReportException&lt;br /&gt;MessageBox.Show(lsExp.Message)&lt;br /&gt;Catch ex As Exception&lt;br /&gt;MessageBox.Show(ex.Message)&lt;br /&gt;End Try&lt;br /&gt;&lt;br /&gt;End Function&lt;br /&gt;&lt;br /&gt;End Class</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total></item></channel></rss>