<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.4" -->
<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/"
	>

<channel>
	<title>Aquariums Visual Basic Programming Blog</title>
	<link>http://aquarium.omnicus.net</link>
	<description>All you need to know about visual basic in one place</description>
	<pubDate>Fri, 02 Feb 2007 08:35:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>
	<language>en</language>
			<item>
		<title>Microsoft.VisualBasic.DateAndTime Syntax TimeOfDay Return Value Date value giving</title>
		<link>http://aquarium.omnicus.net/2007/02/02/microsoftvisualbasicdateandtime-syntax-timeofday-return-value-date-value-giving/</link>
		<comments>http://aquarium.omnicus.net/2007/02/02/microsoftvisualbasicdateandtime-syntax-timeofday-return-value-date-value-giving/#comments</comments>
		<pubDate>Fri, 02 Feb 2007 08:35:10 +0000</pubDate>
		<dc:creator>mario</dc:creator>
		
	<category>vb</category>
		<guid isPermaLink="false">http://aquarium.omnicus.net/2007/02/02/microsoftvisualbasicdateandtime-syntax-timeofday-return-value-date-value-giving/</guid>
		<description><![CDATA[Microsoft.VisualBasic.DateAndTime   Syntax   TimeOfDay   Return Value   Date value giving the current system time   Description   Sets or returns the current system time   Example   The code:   TimeOfDay( ) = #9:05:13 AM#   sets the system time, and the code: [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft.VisualBasic.DateAndTime   Syntax   TimeOfDay   Return Value   Date value giving the current system time   Description   Sets or returns the current system time   Example   The code:   TimeOfDay( ) = #9:05:13 AM#   sets the system time, and the code:   MsgBox(TimeOfDay( ))   displays the current system time.   Rules at a Glance   The TimeOfDay property returns the time in the time format defined by the system&#8217;s regional settings.   Programming Tips and Gotchas     The TimeOfDay property includes an incorrect date, 01/01/0001, along with the time. It can be  eliminated with the Format or FormatDateTime function as follows:    Format(TimeOfDay( ), &#8220;Long Time&#8221;) FormatDateTime(TimeOfDay( ), DateFormat.LongTime)   When setting the TimeOfDay property, any date component is ignored.  See Also   Now Property   Timer Property   Class   Microsoft.VisualBasic.DateAndTime    <br />Hint: If you are looking for good and high quality web space to host and run your java application check Vision <a target="_blank" href="http://www.visionwebhosting.net">java web hosting</a> services
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aquarium.omnicus.net/2007/02/02/microsoftvisualbasicdateandtime-syntax-timeofday-return-value-date-value-giving/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Description Returns  (Verizon web hosting) the hyperbolic tangent of an angle</title>
		<link>http://aquarium.omnicus.net/2007/02/01/description-returns-verizon-web-hosting-the-hyperbolic-tangent-of-an-angle/</link>
		<comments>http://aquarium.omnicus.net/2007/02/01/description-returns-verizon-web-hosting-the-hyperbolic-tangent-of-an-angle/#comments</comments>
		<pubDate>Fri, 02 Feb 2007 03:15:29 +0000</pubDate>
		<dc:creator>mario</dc:creator>
		
	<category>vb</category>
		<guid isPermaLink="false">http://aquarium.omnicus.net/2007/02/01/description-returns-verizon-web-hosting-the-hyperbolic-tangent-of-an-angle/</guid>
		<description><![CDATA[Description   Returns the hyperbolic tangent of an angle   Rules at a Glance   This is a Shared member, so it can be used without creating any objects.   VB .NET/VB 6 Differences   Tanh is new to the .NET Framework.   See Also   Cosh Function, [...]]]></description>
			<content:encoded><![CDATA[<p>Description   Returns the hyperbolic tangent of an angle   Rules at a Glance   This is a Shared member, so it can be used without creating any objects.   VB .NET/VB 6 Differences   Tanh is new to the .NET Framework.   See Also   Cosh Function, Sinh Function   Throw Statement   Syntax   [Throw exception  exception   Use: Required Data Type: An Exception object or an object derived from Exception An Exception object representing the exception being thrown   Description   Throws an exception that can be handled using either structured exception handling (a Try. . . Catch  block) or unstructured exception handling (the On Error statement)   VB .NET/VB 6 Differences   The Throw statement is new to VB .NET.   See Also   Exception Class, Try&#8230;Catch&#8230;Finally Statement   TimeOfDay Property   Class    </p>
<p>Hint: If you are looking for very good and affordable webspace to host and run your j2ee hosting application check Sandzak.com <a target="_blank" href="http://www.sanzdak.com/blog/">j2ee web hosting</a> services
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aquarium.omnicus.net/2007/02/01/description-returns-verizon-web-hosting-the-hyperbolic-tangent-of-an-angle/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Return Value A Double containing the tangent of  (Adsl web hosting)</title>
		<link>http://aquarium.omnicus.net/2007/02/01/return-value-a-double-containing-the-tangent-of-adsl-web-hosting/</link>
		<comments>http://aquarium.omnicus.net/2007/02/01/return-value-a-double-containing-the-tangent-of-adsl-web-hosting/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 21:37:40 +0000</pubDate>
		<dc:creator>mario</dc:creator>
		
	<category>vb</category>
		<guid isPermaLink="false">http://aquarium.omnicus.net/2007/02/01/return-value-a-double-containing-the-tangent-of-adsl-web-hosting/</guid>
		<description><![CDATA[Return Value   A Double containing the tangent of an angle   Description   Returns the ratio of two sides of a right angle triangle   Rules at a Glance     The returned ratio is derived by dividing the length of the side opposite the angle by the [...]]]></description>
			<content:encoded><![CDATA[<p>Return Value   A Double containing the tangent of an angle   Description   Returns the ratio of two sides of a right angle triangle   Rules at a Glance     The returned ratio is derived by dividing the length of the side opposite the angle by the length  of the side adjacent to the angle.    This is a Shared member, so it can be used without creating any objects.  Programming Tips and Gotchas     You can convert degrees to radians using the following formula:  radians = degrees * (pi/180)     You can convert radians to degrees using the following formula:  degrees = radians * (180/pi)   See Also   Cos Function, Sin Function   Tanh Function   Class   System.Math   Syntax   Math.Tanh(number)  number   Use: Required  Data Type: Double or numeric expression  An angle in radians   Return Value   A Double denoting the hyperbolic tangent of the angle    <br />Note: If you are looking for best hosting provider to host and run your tomcat application check Astra <a target="_blank" href="http://www.omnicus.net/">tomcat hosting</a> services
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aquarium.omnicus.net/2007/02/01/return-value-a-double-containing-the-tangent-of-adsl-web-hosting/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Cox webspace -   If the column argument is omitted, the</title>
		<link>http://aquarium.omnicus.net/2007/02/01/cox-webspace-if-the-column-argument-is-omitted-the/</link>
		<comments>http://aquarium.omnicus.net/2007/02/01/cox-webspace-if-the-column-argument-is-omitted-the/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 13:18:36 +0000</pubDate>
		<dc:creator>mario</dc:creator>
		
	<category>vb</category>
		<guid isPermaLink="false">http://aquarium.omnicus.net/2007/02/01/cox-webspace-if-the-column-argument-is-omitted-the/</guid>
		<description><![CDATA[If the column argument is omitted, the text-insertion point will be moved to the beginning of  the next print zone.    The value of column determines the behavior of the insertion point:  Value of  column Position of insertion point  Current column  > column Moves one line down to [...]]]></description>
			<content:encoded><![CDATA[<p>If the column argument is omitted, the text-insertion point will be moved to the beginning of  the next print zone.    The value of column determines the behavior of the insertion point:  Value of  column Position of insertion point  Current column  > column Moves one line down to the column column.  column >  Output Width  Uses the formula column Mod width. If the result is less than the current insertion  point, the insertion point will move down one line; otherwise, the insertion point will  remain on the same line.  < 1 Column 1     The left hand column is always 1.    When expressions are output to files using the Print or PrintLine statement, the width of  the output is determined by the Width statement.    When output surface is divided into columns, the width of each column is the average width of  all characters in the current point size of the current font. This means that the number of  columns for tabulation purposes does not necessarily relate to the number of characters that  can be printed across the width of the output surface.  Programming Tips and Gotchas   The Tab function without a column argument is useful when outputting data to a file using the Print  or PrintLine statement especially in locales where the comma would be recognized as a decimal  separator.   See Also   Spc Function   Tan Function   Class   System.Math   Syntax   Tan(a)  a   Use: Required  Data Type: Double  An angle in radians    <br /> Note: If you are looking for good and quality webspace to host and run your java application check professional <a target="_blank" href="http://www.webhostingjava.net/">java hosting</a> services
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aquarium.omnicus.net/2007/02/01/cox-webspace-if-the-column-argument-is-omitted-the/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Struts hosting - End Module Programming Tips and Gotchas   To</title>
		<link>http://aquarium.omnicus.net/2007/02/01/struts-hosting-end-module-programming-tips-and-gotchas-to/</link>
		<comments>http://aquarium.omnicus.net/2007/02/01/struts-hosting-end-module-programming-tips-and-gotchas-to/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 06:39:33 +0000</pubDate>
		<dc:creator>mario</dc:creator>
		
	<category>vb</category>
		<guid isPermaLink="false">http://aquarium.omnicus.net/2007/02/01/struts-hosting-end-module-programming-tips-and-gotchas-to/</guid>
		<description><![CDATA[End Module   Programming Tips and Gotchas     To determine the CTS data type of a particular variable, pass the variable as an argument to  the TypeName function, and pass its return value as an argument to the SystemTypeName  function. For example:  strType = SystemTypeName(TypeName(myVar))    [...]]]></description>
			<content:encoded><![CDATA[<p>End Module   Programming Tips and Gotchas     To determine the CTS data type of a particular variable, pass the variable as an argument to  the TypeName function, and pass its return value as an argument to the SystemTypeName  function. For example:  strType = SystemTypeName(TypeName(myVar))     The existence of the SystemTypeName function clearly indicates that VB .NET data types are  wrappers for CTS data types.  VB .NET/VB 6 Differences   The SystemTypeName function is new to VB .NET.   See Also   TypeName Function, VbTypeName Function   Tab Function   Class   Microsoft.VisualBasic.FileSystem   Syntax   Tab[(column)]  column   Use: Optional  Data Type: Short  A column number to which the insertion point will move before displaying or printing the next   expression   Return Value   A TabInfo structure   Description   Moves the text-insertion point to a given column or to the start of the next print zone   Rules at a Glance    </p>
<p>Hint: If you are looking for high quality and reliable webspace provider to host and run your jsp hosting application check Sandzak <a target="_blank" href="http://www.sandzak.com/blog/">jsp web hosting</a> provider
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aquarium.omnicus.net/2007/02/01/struts-hosting-end-module-programming-tips-and-gotchas-to/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Type: String The name of a VB .NET</title>
		<link>http://aquarium.omnicus.net/2007/01/31/type-string-the-name-of-a-vb-net/</link>
		<comments>http://aquarium.omnicus.net/2007/01/31/type-string-the-name-of-a-vb-net/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 00:19:27 +0000</pubDate>
		<dc:creator>mario</dc:creator>
		
	<category>vb</category>
		<guid isPermaLink="false">http://aquarium.omnicus.net/2007/01/31/type-string-the-name-of-a-vb-net/</guid>
		<description><![CDATA[Type: String   The name of a VB .NET data type   Return Value   A String indicating the name of a CTS data type   Description   Returns the name of the Common Type System (CTS) data type that corresponds to a particular  Visual Basic data type  [...]]]></description>
			<content:encoded><![CDATA[<p>Type: String   The name of a VB .NET data type   Return Value   A String indicating the name of a CTS data type   Description   Returns the name of the Common Type System (CTS) data type that corresponds to a particular  Visual Basic data type   Rules at a Glance     vbname must be the name of a valid VB .NET data type, such as Boolean, Byte, Char, Date.  Decimal, Double, Integer, Long, Object, Short, Single, or String.    If vbname is not a valid VB .NET data type, the function returns Nothing.    If vbname does not directly correspond to a CTS data type, the function returns Nothing. For  example, user-defined types created with the Structure construct and classes created with  the Class construct both return Nothing if their data type names are passed to the function.  Example   Public Structure Point  Dim x As Integer  Dim y As Integer   End Structure   Public Class CEmployee   End Class   Module modMain   Public Sub Main   &#8216; Returns System.Int32 Dim i As Integer = 100 Console.WriteLine(&#8221;Type of i: &#8221; &#038; SystemTypeName(TypeName(i)))   &#8216; Returns Nothing Dim o As Object Console.WriteLine(&#8221;Type of o: &#8221; &#038; SystemTypeName(TypeName(o)))   &#8216; Returns Nothing Dim oEmp As New CEmployee Console.WriteLIne(&#8221;Type of oEmp: &#8221; &#038; SystemTypeName(TypeName(oEmp)))   &#8216; Returns Nothing Dim uPt As Point Console.Writeline(&#8221;Type of uPt: &#8221; &#038; SystemTypeName(TypeName(uPt)))   &#8216; Returns System.String Dim sName As String = &#8220;This is a string.&#8221; Console.WriteLine(&#8221;Type of sName: &#8221; &#038; SystemTypeName(TypeName(sName)))   End Sub    <br /> Note: If you are looking for top 10 and very good webhost to host and run your jsp application check Actions <a target="_blank" href="http://www.omnicus.net/">jsp hosting</a> services
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aquarium.omnicus.net/2007/01/31/type-string-the-name-of-a-vb-net/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Syntax SyncLock expression &#8230;[ code ] End SyncLock  (Wiki hosting)</title>
		<link>http://aquarium.omnicus.net/2007/01/31/syntax-synclock-expression-code-end-synclock-wiki-hosting/</link>
		<comments>http://aquarium.omnicus.net/2007/01/31/syntax-synclock-expression-code-end-synclock-wiki-hosting/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 15:38:19 +0000</pubDate>
		<dc:creator>mario</dc:creator>
		
	<category>vb</category>
		<guid isPermaLink="false">http://aquarium.omnicus.net/2007/01/31/syntax-synclock-expression-code-end-synclock-wiki-hosting/</guid>
		<description><![CDATA[Syntax   SyncLock expression  &#8230;[ code ]  End SyncLock   expression   Use: Required   Type: Any reference type (class, module, interface, array, or delegate)   An expression yielding a single result that can be used to determine the accessibility of code   code   Use: [...]]]></description>
			<content:encoded><![CDATA[<p>Syntax   SyncLock expression  &#8230;[ code ]  End SyncLock   expression   Use: Required   Type: Any reference type (class, module, interface, array, or delegate)   An expression yielding a single result that can be used to determine the accessibility of code   code   Use: Optional   The code statements to which access is synchronized and that will be executed sequentially   Description   Prevents multiple threads of execution in the same process from accessing shared data or resources  at the same time   Rules at a Glance   SyncLock blocks a thread&#8217;s access only if that thread belongs to the same object instance.   Programming Tips and Gotchas     The SyncLock statement wraps a call to the BCL&#8217;s System.Threading.Monitor.Enter method.    The BCL includes a number of other synchronization mechanisms, all of which are located in  the System.Threading namespace.  VB .NET/VB 6 Differences   The SyncLock statement is new to VB .NET. VB 6 provided the developer with no direct means of  controlling threads of execution in applications or components.   SystemTypeName Function   Class   Microsoft. VisualBasic.Information   Syntax   SystemTypeName(vbname)  vbname   Use: Required    <br /> Note: If you are looking for cheapest and affordable webspace to host and run your servlet application check Astra <a target="_blank" href="http://www.omnicus.net/">j2ee hosting</a> services
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aquarium.omnicus.net/2007/01/31/syntax-synclock-expression-code-end-synclock-wiki-hosting/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Phpbb hosting - The initial cost of the asset salvage Use:</title>
		<link>http://aquarium.omnicus.net/2007/01/31/phpbb-hosting-the-initial-cost-of-the-asset-salvage-use/</link>
		<comments>http://aquarium.omnicus.net/2007/01/31/phpbb-hosting-the-initial-cost-of-the-asset-salvage-use/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 08:15:12 +0000</pubDate>
		<dc:creator>mario</dc:creator>
		
	<category>vb</category>
		<guid isPermaLink="false">http://aquarium.omnicus.net/2007/01/31/phpbb-hosting-the-initial-cost-of-the-asset-salvage-use/</guid>
		<description><![CDATA[The initial cost of the asset   salvage   Use: Required Data Type: Double The value of the asset at the end of its useful life   life   Use: Required Data Type: Double The length of the useful life of the asset   period   Use: Required Data [...]]]></description>
			<content:encoded><![CDATA[<p>The initial cost of the asset   salvage   Use: Required Data Type: Double The value of the asset at the end of its useful life   life   Use: Required Data Type: Double The length of the useful life of the asset   period   Use: Required Data Type: Double The period whose depreciation is to be calculated   Return Value   A Double giving the sum-of-years depreciation of an asset for a given period   Description   Computes the sum-of-years&#8217; digits depreciation of an asset for a specified period. The sum-of-years&#8217;  digits method allocates a larger amount of the depreciation in the earlier years of the asset.   Rules at a Glance     life and period must be expressed in the same time unit. For example, if life represents  the life of the asset in years, period must be a particular year for which the depreciation  amount is to be computed.    All arguments must be positive numeric values.    To calculate the depreciation for a given period, SYD uses the formula:  (Cost-Salvage)*((Life-Period + 1)/(Life*(Life + 1)/2))   See Also   DDB Function, SLN Function   SyncLock Statement    <br />Hint: If you are looking for high quality webhost to host and run your jsp application check Vision <a target="_blank" href="http://www.visionwebhosting.net">web hosting jsp</a> services
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aquarium.omnicus.net/2007/01/31/phpbb-hosting-the-initial-cost-of-the-asset-salvage-use/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Example The GetTextColor function uses the  (1and1 web hosting) Switch function</title>
		<link>http://aquarium.omnicus.net/2007/01/30/example-the-gettextcolor-function-uses-the-1and1-web-hosting-switch-function/</link>
		<comments>http://aquarium.omnicus.net/2007/01/30/example-the-gettextcolor-function-uses-the-1and1-web-hosting-switch-function/#comments</comments>
		<pubDate>Tue, 30 Jan 2007 23:18:17 +0000</pubDate>
		<dc:creator>mario</dc:creator>
		
	<category>vb</category>
		<guid isPermaLink="false">http://aquarium.omnicus.net/2007/01/30/example-the-gettextcolor-function-uses-the-1and1-web-hosting-switch-function/</guid>
		<description><![CDATA[Example   The GetTextColor function uses the Switch function to return an RGB color value that depends on the  sign of the integer passed to it as a parameter. To access the Color structure, it imports the  System.Drawing namespace of the Base Class Library.   Private Function GetTextColor(lValue As Integer) As [...]]]></description>
			<content:encoded><![CDATA[<p>Example   The GetTextColor function uses the Switch function to return an RGB color value that depends on the  sign of the integer passed to it as a parameter. To access the Color structure, it imports the  System.Drawing namespace of the Base Class Library.   Private Function GetTextColor(lValue As Integer) As Integer   Dim fColor As New Color  Dim iColor As Integer  fColor = Switch(lValue > 0, Color.Blue, _   lValue = 0, Color.Black, _  lValue < 0, Color.Red)   ' Convert color name to RGB color and strip out  ' high order byte of high-order word  iColor = fColor.ToArgb and &#038;H00FFFFFF  GetTextColor = iColor   End Function   Programming Tips and Gotchas   The Switch function can prove to be an efficient alternative to If...Then...Else statements, but it  can't be used in situations where multiple lines of code are required to be executed on finding the first  True expression.   Programming Tips and Gotchas   Switch does not use short-circuiting. That is, even though it returns only the first True expression, it  evaluates all expressions. As a result, Switch will generate a runtime error if any of these expressions  are invalid.   See Also   Choose Function   SYD Function   Class   Microsoft.VisualBasic.Financial   Syntax   SYD(cost, salvage, life, period )  cost   Use: Required Data Type: Double    </p>
<p>Hint: This post is supported by Gama <a target="_blank" href="http://www.webhostingphp.net/">web hosting php</a> services
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aquarium.omnicus.net/2007/01/30/example-the-gettextcolor-function-uses-the-1and1-web-hosting-switch-function/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>arguments without parentheses. VB .NET features a standard  (Subdomains web hosting)</title>
		<link>http://aquarium.omnicus.net/2007/01/30/arguments-without-parentheses-vb-net-features-a-standard-subdomains-web-hosting/</link>
		<comments>http://aquarium.omnicus.net/2007/01/30/arguments-without-parentheses-vb-net-features-a-standard-subdomains-web-hosting/#comments</comments>
		<pubDate>Tue, 30 Jan 2007 16:36:38 +0000</pubDate>
		<dc:creator>mario</dc:creator>
		
	<category>vb</category>
		<guid isPermaLink="false">http://aquarium.omnicus.net/2007/01/30/arguments-without-parentheses-vb-net-features-a-standard-subdomains-web-hosting/</guid>
		<description><![CDATA[arguments without parentheses. VB .NET features a standard calling syntax in which  arguments are always enclosed in parentheses.   See Also   Function Statement   Switch Function   Class   Microsoft.VisualBasic.Interaction   Syntax   Switch(expr-1, value-1[, expr-2, value-2 &#8230; [, _  expr-n,value-n]])  expr   [...]]]></description>
			<content:encoded><![CDATA[<p>arguments without parentheses. VB .NET features a standard calling syntax in which  arguments are always enclosed in parentheses.   See Also   Function Statement   Switch Function   Class   Microsoft.VisualBasic.Interaction   Syntax   Switch(expr-1, value-1[, expr-2, value-2 &#8230; [, _  expr-n,value-n]])  expr   Use: Required   Data Type: Object   A number of expressions to be evaluated   value   Use: Required   Data Type: Object   An expression or value to return if the associated expression evaluates to True   Return Value   An Object value or expression   Description   Evaluates a list of expressions and, on finding the first expression to evaluate to True, returns an  associated value or expression   Rules at a Glance     A minimum of two expression/value pairs is required; additional pairs are optional.    Expressions are evaluated from left to right.    If none of the expressions is True, the Switch function returns Nothing.    If multiple expressions are True, Switch returns the value that corresponds to the first True  expression.    value can be a constant, variable, or expression.   </p>
<p>Hint: If you are looking for very good and affordable webspace to host and run your j2ee hosting application check Sandzak.com <a target="_blank" href="http://www.sanzdak.com/blog/">j2ee web hosting</a> services
</p>
]]></content:encoded>
			<wfw:commentRSS>http://aquarium.omnicus.net/2007/01/30/arguments-without-parentheses-vb-net-features-a-standard-subdomains-web-hosting/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
