<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4171703449708428361</id><updated>2024-10-24T07:09:31.744-07:00</updated><category term="Abstract class Vs Interfaces"/><category term="COM and DCOM objects"/><category term="File Uploader control"/><category term="File Uploading Check"/><category term="asp.net"/><title type='text'>Problems with there solutions</title><subtitle type='html'>Find the solution of your problems related to .Net and SQL Server 2005</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://solutionsbyjafri.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4171703449708428361/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://solutionsbyjafri.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15437670149425780835</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4171703449708428361.post-5153539288558044876</id><published>2011-01-05T00:00:00.000-08:00</published><updated>2011-01-05T00:06:38.456-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net"/><category scheme="http://www.blogger.com/atom/ns#" term="File Uploader control"/><category scheme="http://www.blogger.com/atom/ns#" term="File Uploading Check"/><title type='text'>Check for File Uploading using vb.net</title><content type='html'>Hi,&lt;br /&gt;&lt;br /&gt;Public Function chk_FileExtension(ByVal str As String) As Boolean&lt;br /&gt;        Dim extension As String = str&lt;br /&gt;        Dim MIMEType As String = Nothing&lt;br /&gt;        Select Case extension&lt;br /&gt;            Case &quot;.jpeg&quot;&lt;br /&gt;                Return True&lt;br /&gt;            Case &quot;.jpg&quot;&lt;br /&gt;                Return True&lt;br /&gt;            Case &quot;.gif&quot;&lt;br /&gt;                Return True&lt;br /&gt;            Case &quot;.png&quot;&lt;br /&gt;                Return True&lt;br /&gt;            Case &quot;.bmp&quot;&lt;br /&gt;                Return True&lt;br /&gt;                &#39;Case &quot;.pdf&quot;&lt;br /&gt;                &#39;    Return True&lt;br /&gt;            Case Else&lt;br /&gt;                Return False&lt;br /&gt;                &#39;return; &lt;br /&gt;                Exit Select&lt;br /&gt;        End Select&lt;br /&gt;    End Function&lt;br /&gt;&lt;br /&gt;-----------------------------------------------------------&lt;br /&gt;If flpSwatchImage.FileName = Nothing Then&lt;br /&gt;     Call objFunction.setMessage(&quot;INFO&quot;, &quot;Please Provide any Image.&quot;, False)&lt;br /&gt;     Exit Sub&lt;br /&gt;Else &lt;br /&gt;     If chk_FileExtension(Path.GetExtension(flpSwatchImage.FileName).ToLower()) = True Then&lt;br /&gt;         objColors.colorSwatch = flpSwatchImage.FileName&lt;br /&gt;     Else&lt;br /&gt;         Call objFunction.setMessage(&quot;INFO&quot;, &quot;The Extension of the file Provided is not Allowed.&quot;, False)&lt;br /&gt;         Exit Sub&lt;br /&gt;     End If&lt;br /&gt;End If</content><link rel='replies' type='application/atom+xml' href='http://solutionsbyjafri.blogspot.com/feeds/5153539288558044876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solutionsbyjafri.blogspot.com/2011/01/file-uploading-check.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4171703449708428361/posts/default/5153539288558044876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4171703449708428361/posts/default/5153539288558044876'/><link rel='alternate' type='text/html' href='http://solutionsbyjafri.blogspot.com/2011/01/file-uploading-check.html' title='Check for File Uploading using vb.net'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15437670149425780835</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4171703449708428361.post-1470185857440961863</id><published>2009-09-01T12:06:00.000-07:00</published><updated>2009-09-30T03:24:33.888-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="COM and DCOM objects"/><title type='text'>COM and DCOM objects</title><content type='html'>Hi guys&lt;br /&gt;
&lt;br /&gt;
There are lots of disscusions you must have done related to COM and DCOM objects in .Net.Here is the complete details which will satisfy you.&lt;br /&gt;
&lt;br /&gt;
The dot net frameworks allow you to build serviced components that can use com+ services. These components of dot net framework runs in the manages execution environment of dot net framework that is share their content with com+ application.&lt;br /&gt;
&lt;br /&gt;
Now the question arise what com+ and what is doing how is its comes in existence. Before com+ comes into existence. COM (Component Object Model) is first programming model that provide component based approach to software development. This component based approach of com allowed us to develop small, logical reusable and stand alone modules that integrates into a single application. But these components could not be display on over network.&lt;br /&gt;
&lt;br /&gt;
So these drawback produce another model that is DCOM (distributes COM). DCOM programming model enabled you to display com components over network and distribute application easily across platforms. DCOM components also help in two-tier client/server applications. These models also have some drawback that helps to development of COM+ approach. What these drawbacks are…&lt;br /&gt;
&lt;br /&gt;
These two-tier architecture helps us to sharing of resources and data but these approach have some drawbacks that are as follows.&lt;br /&gt;
&lt;br /&gt;
The DCOM approach overburdened client computer with the responsibility of performing all processing functions while the server merely acted as traffic controller, helps movement of data to and from the client and server components. So availability of resources was therefore, always a problem and the performance of application suffered. Multiple request of data cause to network traffic. So performance of application decreases.&lt;br /&gt;
COM objects require installation on the machine from where it is being used and DCOM requires installation somewhere on the same network.&lt;br /&gt;
Any COM object may participate in DCOM transactions. DCOM introduced several improvements/optimizations for distributed environment such as MULTI_QI (multiple QueryInterface()) security contexts etc.&lt;br /&gt;
DCOM demonstrated importance of surrogate process (you cannot run in-proc server on a remote machine. You need a surrogate process to do that.)DCOM introduced a load balancing.&lt;br /&gt;
The fact is dotnet has not replace the COM/DCOM instead it has extended the functionality by introducing new featurs to it.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;br /&gt;
hopes you enjoyed this topic and satisfied with this.</content><link rel='replies' type='application/atom+xml' href='http://solutionsbyjafri.blogspot.com/feeds/1470185857440961863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solutionsbyjafri.blogspot.com/2009/09/hi-guys-there-are-lots-of-disscusions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4171703449708428361/posts/default/1470185857440961863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4171703449708428361/posts/default/1470185857440961863'/><link rel='alternate' type='text/html' href='http://solutionsbyjafri.blogspot.com/2009/09/hi-guys-there-are-lots-of-disscusions.html' title='COM and DCOM objects'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15437670149425780835</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4171703449708428361.post-5944744824910356274</id><published>2009-09-01T11:08:00.000-07:00</published><updated>2011-01-04T23:59:03.043-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Abstract class Vs Interfaces"/><title type='text'>Abstract class Vs Interfaces</title><content type='html'>&lt;div&gt;Hi Guys&amp;nbsp&lt;/div&gt;&lt;div &gt;&amp;nbsp;These are few&amp;nbsp;difference&#39;s that will be sufficient to understand what exactly abstact class and interface is and what is the difference between them&lt;/div&gt;&lt;pre&gt;&lt;ol&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Abstract class defines few or none of the methods,but interface defines all the methods.&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Abstract classes should have subclasses else that will be useless.Interfaces   must have implementations by other classes else that will be useless.&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;only an interface can extend another interface, but any class can extend an abstract class.&lt;/span&gt;&lt;/span&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; &lt;/span&gt;&lt;/span&gt;  &lt;/li&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: medium;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;All variable in interfaces are final by default.&lt;/span&gt;&lt;/span&gt;  &lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQUYbLvS9SZBRoKIovj_CCblF5ECE5EYTAg9F8kqAH2CuwnK7fCzgnWjO2YKVCCTXL92MLepXvgjdpMesp8a4FL8GxRE5cE9W94BcKTVW1UEfBK2Ovcho4BTmTp1usksMFQBitjUQCb50/s1600-h/beautiful-scenery-on.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQUYbLvS9SZBRoKIovj_CCblF5ECE5EYTAg9F8kqAH2CuwnK7fCzgnWjO2YKVCCTXL92MLepXvgjdpMesp8a4FL8GxRE5cE9W94BcKTVW1UEfBK2Ovcho4BTmTp1usksMFQBitjUQCb50/s320/beautiful-scenery-on.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://solutionsbyjafri.blogspot.com/feeds/5944744824910356274/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://solutionsbyjafri.blogspot.com/2009/09/abstract-class-vs-interfaces.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4171703449708428361/posts/default/5944744824910356274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4171703449708428361/posts/default/5944744824910356274'/><link rel='alternate' type='text/html' href='http://solutionsbyjafri.blogspot.com/2009/09/abstract-class-vs-interfaces.html' title='Abstract class Vs Interfaces'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15437670149425780835</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQUYbLvS9SZBRoKIovj_CCblF5ECE5EYTAg9F8kqAH2CuwnK7fCzgnWjO2YKVCCTXL92MLepXvgjdpMesp8a4FL8GxRE5cE9W94BcKTVW1UEfBK2Ovcho4BTmTp1usksMFQBitjUQCb50/s72-c/beautiful-scenery-on.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>