<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>VB.NET Forum RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest threads from the 'VB.NET' forum at Programmer's Heaven, excluding replies.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Fri, 20 Nov 2009 21:03:12 -0700</pubDate>
    <lastBuildDate>Fri, 20 Nov 2009 21:03:12 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>hamming code</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409477/409477/hamming-code/</link>
      <description>has any1 ever tried to program the hamming code in vb.net? and are u willing to share !?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409477/409477/hamming-code/</guid>
      <pubDate>Tue, 17 Nov 2009 20:19:58 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>need help!!</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409458/409458/need-help/</link>
      <description>On my form load event, i populate three comboboxes by code.... in the button click event i try to insert into the database and i use combobox.selecteditem and it generates an insert error.&lt;br /&gt;
but when i use combobox.selectedindex, it runs.&lt;br /&gt;
dont know wat to do.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409458/409458/need-help/</guid>
      <pubDate>Tue, 17 Nov 2009 09:06:19 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>dynamic arrays in vb.net ?????</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409334/409334/dynamic-arrays-in-vbnet-/</link>
      <description>im trying to declare an array with an unknown length and no way of figuring it out untill the actual data has been placed within the array, in c++ it possible to fill a dynamic array with data and then find out the length if u need 2, but in vb.net im not sure, i know abt the redim concept, but does it work in this case...&lt;br /&gt;
&lt;br /&gt;
thank u sooo much !!!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409334/409334/dynamic-arrays-in-vbnet-/</guid>
      <pubDate>Sun, 15 Nov 2009 19:40:07 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Drag and drop from IE8</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409333/409333/drag-and-drop-from-ie8/</link>
      <description>I have an app where I let the user select text from a website and drop it into a textbox on my app.  This works well when the browser is Firefox, but IE8's protected mode doesn't allow it.  In earlier versions when you tried you'd get a pop up asking to authorize it, and if you did it went into the registry into IE's lowrights/dragdrop.  It no longer seems to do this.  If I already have the lowrights entry, then IF I hold down the ctrl key, it will work.&lt;br /&gt;
&lt;br /&gt;
So does anyone know how I'm supposed to get this to work again?  Also what is the ctrl key telling IE8 when I'm doing a drag and drop.  I can't find that documented anywhere.&lt;br /&gt;
&lt;br /&gt;
Any help would be greatly appreciated.&lt;br /&gt;
&lt;br /&gt;
Dan&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409333/409333/drag-and-drop-from-ie8/</guid>
      <pubDate>Sun, 15 Nov 2009 19:06:46 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Exit button with yes/no options</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409247/409247/exit-button-with-yesno-options/</link>
      <description>Hi everyone and thanks for reading my question!&lt;br /&gt;
&lt;br /&gt;
This is my first topic related on vb.net!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I want to implement an exit button with yes/no option in vb.net.&lt;br /&gt;
&lt;br /&gt;
Here's what I've tried:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
Dim intrebare As String
        intrebare = MsgBox("Doriti parasirea aplicatiei?", MsgBoxStyle.YesNo)
        If intrebare = "Yes" Then ' if we press yes it quits vb.net
'here is the problem how to say him if he selects yes to quit from 'visual studio 2008?            

'Me.Close() if I select yes I want that it exits my full 'software , so exits visual studio 2008 is it possible?
           
        Else 
          'ok
            Me.Close()&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
No syntax error the problem is that even if I select yes or no it returns to me to the initial form. I want to return me on initial form only if I press No Button of MessageBox.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409247/409247/exit-button-with-yesno-options/</guid>
      <pubDate>Fri, 13 Nov 2009 10:56:23 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>vb6 handles .net com class event</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409229/409229/vb6-handles-net-com-class-event/</link>
      <description>i have the ComClassSearchCustomers class  and interface IComClassSearchCustomersat .net which used to create a tlb file. The class raise an event inside new. After that i have a vb6 form Form1 which catch the event , but it never see the event. Any ideas? &lt;br /&gt;
Option Strict On&lt;br /&gt;
Option Explicit On&lt;br /&gt;
Imports System.Runtime.InteropServices&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Guid("BB86EB1C-6444-424f-B83B-A667561E06C3"), _&lt;br /&gt;
ComSourceInterfaces(GetType(IComClassSearchCustome
rs))&amp;gt; _&lt;br /&gt;
Public Class ComClassSearchCustomers&lt;br /&gt;
&lt;br /&gt;
    Public Delegate Sub printReportEventHandler(ByVal codes As String)&lt;br /&gt;
    Public Event printReport As printReportEventHandler&lt;br /&gt;
&lt;br /&gt;
       Public Sub New()&lt;br /&gt;
         MyBase.New()&lt;br /&gt;
         RaiseEvent printReport(“MARIA”)&lt;br /&gt;
    End Sub&lt;br /&gt;
End Class&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Imports System.Runtime.InteropServices&lt;br /&gt;
&lt;br /&gt;
&amp;lt;Guid("D8F7EC74-0EFC-4e43-9B59-4CF741DF616D"), _&lt;br /&gt;
InterfaceType(ComInterfaceType.InterfaceIsIDispatc
h)&amp;gt; _&lt;br /&gt;
Public Interface IComClassSearchCustomers&lt;br /&gt;
    &amp;lt;DispId(1)&amp;gt; _&lt;br /&gt;
            Sub printReport(ByVal codes As String)&lt;br /&gt;
End Interface&lt;br /&gt;
Public WithEvents Instance As Search.ComClassSearchCustomers&lt;br /&gt;
&lt;br /&gt;
 Private Sub Form_Load()&lt;br /&gt;
 Set Instance = New Search.ComClassSearchCustomers&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
Private Sub Instance_printReport(ByVal codes As String)&lt;br /&gt;
MsgBox ("raise")&lt;br /&gt;
End Sub&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409229/409229/vb6-handles-net-com-class-event/</guid>
      <pubDate>Fri, 13 Nov 2009 08:08:27 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Anyone interesed in doing VIRTUAL MALL project</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409181/409181/anyone-interesed-in-doing-virtual-mall-project/</link>
      <description>Hi, I a have a small term project titled "Virtual Mall".&lt;br /&gt;
Is there someone who is interested in doing this project.&lt;br /&gt;
The project is based on VB.Net and SQL Server 2005.&lt;br /&gt;
The deadline is Nov 30th.&lt;br /&gt;
&lt;br /&gt;
Let me know who can do this so I can mail the details and get in touch with him/her.&lt;br /&gt;
Budget is moderate as I am a student.&lt;br /&gt;
Reply ASAP.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409181/409181/anyone-interesed-in-doing-virtual-mall-project/</guid>
      <pubDate>Thu, 12 Nov 2009 15:17:35 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Help::Automatic textbox generation</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409171/409171/helpautomatic-textbox-generation/</link>
      <description>Sub textbox1_textchanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged&lt;br /&gt;
 Dim count As Integer&lt;br /&gt;
            Dim t As New TextBox&lt;br /&gt;
            For count = 4 To 6&lt;br /&gt;
                MsgBox("vbbvbnv")&lt;br /&gt;
                t.Text = "TextBox" &amp;amp; count.ToString()&lt;br /&gt;
                t.ID = "TextBox" &amp;amp; count.ToString()&lt;br /&gt;
                Panel1.Controls.Add(t)&lt;br /&gt;
                count = count + 1&lt;br /&gt;
            &lt;br /&gt;
            Next count&lt;br /&gt;
&lt;br /&gt;
end sub&lt;br /&gt;
&lt;br /&gt;
ERROR::::Multiple controls with the same ID 'TextBox6' were found. FindControl requires that controls have unique IDs. &lt;br /&gt;
Description: An unhandled exception occurred during the execution of the current web request.How Can i Rectify this&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409171/409171/helpautomatic-textbox-generation/</guid>
      <pubDate>Thu, 12 Nov 2009 08:26:32 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Help::Automatic textbox generation</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409170/409170/helpautomatic-textbox-generation/</link>
      <description>Sub textbox1_textchanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged&lt;br /&gt;
 Dim count As Integer&lt;br /&gt;
            Dim t As New TextBox&lt;br /&gt;
            For count = 4 To 6&lt;br /&gt;
                MsgBox("vbbvbnv")&lt;br /&gt;
                t.Text = "TextBox" &amp;amp; count.ToString()&lt;br /&gt;
                t.ID = "TextBox" &amp;amp; count.ToString()&lt;br /&gt;
                Panel1.Controls.Add(t)&lt;br /&gt;
                count = count + 1&lt;br /&gt;
            &lt;br /&gt;
            Next count&lt;br /&gt;
&lt;br /&gt;
end sub&lt;br /&gt;
&lt;br /&gt;
ERROR::::Multiple controls with the same ID 'TextBox6' were found. FindControl requires that controls have unique IDs. &lt;br /&gt;
Description: An unhandled exception occurred during the execution of the current web request.How Can i Rectify this&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409170/409170/helpautomatic-textbox-generation/</guid>
      <pubDate>Thu, 12 Nov 2009 08:25:01 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>System.InvalidOperationException error</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409159/409159/systeminvalidoperationexception-error/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I have designed a application in VB.net using the MS Office spreadsheet component.&lt;br /&gt;
&lt;br /&gt;
When launching the app on the client PC it gives a 'Windows has encountered a problem and  needs to close' error, when clicked on Debug the error says 'An Unhandled exception occured ('System.InvalidOperationException') in 'ApplicationName.exe'.&lt;br /&gt;
&lt;br /&gt;
The client PC runs WinXP SP3 with .NET framework 3.5 with SP1 and Office Web Components, also has Office 2007 installed.&lt;br /&gt;
&lt;br /&gt;
When I remove the spreadsheet componenet from the app and redeploy the app to the client it works fine!&lt;br /&gt;
&lt;br /&gt;
Please help.&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409159/409159/systeminvalidoperationexception-error/</guid>
      <pubDate>Thu, 12 Nov 2009 05:43:22 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Printing picturebox on printer</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409043/409043/printing-picturebox-on-printer/</link>
      <description>I would like to print the content of a picturebox to the printer.&lt;br /&gt;
I am using the code below.  I am sending the graph to the printer, the same way i send it to the picturebox.  BUT, only the grid and text gets printed.  The bars of the graph is not printed.&lt;br /&gt;
&lt;br /&gt;
What am i doing wrong&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;Private Sub btnPrintGraph_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrintGraph.Click
        PrintPreviewDialog1.ShowDialog()
    End Sub

    Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage
        Dim canvas As Graphics = e.Graphics
        Dim heighestamount As Integer
        ' ----- Create an array of data points to plot.
        Dim chartData() As Single = {mark0, mark10, mark20, mark30, mark40, mark50, mark60, mark70, mark80, mark90}
        ' ----- Create some pens.
        heighestamount = 0
        For a = 0 To 9
            If heighestamount &amp;lt; chartData(a) Then
                heighestamount = chartData(a)
            End If
        Next
        Dim penRed As New Pen(Color.Red, -1)
        Dim penBlack As New Pen(Color.Black, -1)
        Dim penShadow As New Pen(Color.Gray, -1)
        ' ----- Prepare to add labels.
        Dim labelFont As New Font("Arial", 3, FontStyle.Regular)
        Dim labelFont2 As New Font("Arial", 5, FontStyle.Regular)
        Dim labelBrush As New SolidBrush(Color.Blue)
        ' ----- Used to plot the various elements.
        Dim x1, y1 As Single 'Lower left corner
        Dim x2, y2 As Single 'Upper right corner
        Dim scaleX, scaleY As Single
        Dim xScan, yScan As Single
        Dim oneBar As RectangleF
        ' ----- Set the scaling.
        x1 = -20
        y1 = -20
        x2 = 110
        y2 = 110
        scaleX = PictureBox1.ClientSize.Width / (x2 - x1)
        scaleY = PictureBox1.ClientSize.Height / (y2 - y1)
        canvas.ScaleTransform(scaleX, -scaleY) '(inverted)
        canvas.TranslateTransform(-x1, -y2) '(inverted)
        ' ----- Color the background.
        canvas.Clear(Color.Cornsilk)

        ' ----- Draw chart outline rectangle.
        canvas.DrawRectangle(penBlack, New Rectangle(0, 0, 100, 100))

        ' ----- Draw the chart grid.
        For xScan = 10 To 90 Step 10
            canvas.DrawLine(penBlack, xScan, 0, xScan, 100)
        Next xScan
        For yScan = 1 To 100 Step 100 / heighestamount
            canvas.DrawLine(penBlack, 0, yScan, 100, yScan)
        Next yScan

        ' ----- Draw some shadowed bars.
        For xScan = 0 To 90 Step 10
            ' ----- Draw the shadow first.
            oneBar.X = xScan + 0.6
            oneBar.Y = 0
            oneBar.Width = 6
            oneBar.Height = (chartData((xScan \ 10)) * 5 - 2)
            canvas.FillRectangle(New SolidBrush(Color.FromArgb(127, Color.Gray)), oneBar)

            ' ----- Now draw the bars in front.
            oneBar.X = xScan + 2
            oneBar.Y = 0
            oneBar.Height = (chartData((xScan \ 10)) * 5)
            canvas.FillRectangle(New SolidBrush(Color.Red), oneBar)
        Next xScan
        ' ----- Need to un-invert the scaling so text labels are
        '       right-side-up.
        canvas.ResetTransform()
        canvas.ScaleTransform(scaleX, scaleY)
        canvas.TranslateTransform(-x1, -y1)
        ' ----- Label the Y-axis.
        For yScan = 1 To 100 Step 100 / heighestamount
            canvas.DrawString(Math.Round(yScan / heighestamount, 0).ToString, labelFont, labelBrush, _
               -2 * yScan.ToString.Length - 3, 98 - (yScan))
        Next yScan
        ' ----- Label the X-axis.
        For xScan = 0 To 100 Step 10
            canvas.DrawString(xScan.ToString, labelFont, labelBrush, _
               xScan + 1.7 - 2 * xScan.ToString.Length, 93)
        Next xScan
        canvas.DrawString("Distrubution Chart:" &amp;amp; grouping &amp;amp; " " &amp;amp; testname, labelFont2, Brushes.Red, 5, 100)
        ' ----- Clean up.
        labelFont.Dispose()
        labelBrush.Dispose()
        penRed.Dispose()
        penBlack.Dispose()
        penShadow.Dispose()
        canvas = Nothing
        mark0 = 0
        mark10 = 0
        mark20 = 0
        mark30 = 0
        mark40 = 0
        mark50 = 0
        mark60 = 0
        mark70 = 0
        mark80 = 0
        mark90 = 0
    End Sub&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409043/409043/printing-picturebox-on-printer/</guid>
      <pubDate>Tue, 10 Nov 2009 12:30:34 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Newbie Question: How to put sound effect on a buttons?</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409014/409014/newbie-question-how-to-put-sound-effect-on-a-buttons/</link>
      <description>I want to learn more... Please help me..&lt;br /&gt;
&lt;br /&gt;
Im using VB 2008 Express Edition right now&lt;br /&gt;
but VB.Net is also acceptable. please help me....&lt;br /&gt;
&lt;br /&gt;
Thanks a lot.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409014/409014/newbie-question-how-to-put-sound-effect-on-a-buttons/</guid>
      <pubDate>Tue, 10 Nov 2009 04:07:07 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Convert  PDF To Word</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409013/409013/convert--pdf-to-word/</link>
      <description>Hi all&lt;br /&gt;
&lt;br /&gt;
i am doing a vb.net windows application&lt;br /&gt;
In that i want to conver PDF file to word throgh code.&lt;br /&gt;
Is there any way for this ?? if so, please help.&lt;br /&gt;
Any help is appreciated.&lt;br /&gt;
Thanks in advance &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409013/409013/convert--pdf-to-word/</guid>
      <pubDate>Tue, 10 Nov 2009 04:02:47 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>problem with VB.NET SAPI 5.1</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408992/408992/problem-with-vbnet-sapi-51/</link>
      <description>hi to everyone&lt;br /&gt;
 i having this problem about sapi 5.1 and vb.net.. i cant run the program becuase it gives me an error.. i think the engine is not running or my codes is incorrect.. &lt;br /&gt;
&lt;br /&gt;
can you help me guys to solve this problem?? &lt;br /&gt;
&lt;br /&gt;
very much appreciated.. thanks!!&lt;br /&gt;
&lt;br /&gt;
here's my code...&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;Private Sub main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        gmode = 0
        gRestoreGrammar = False

        On Error GoTo GeneralFail
        Dim engine
        REM Initialize the recognizer. We want command and control, so find and select that engine (or best match)
        AxDirectSR1.Initialized = 1

        engine = AxDirectSR1.Find("MfgName=Microsoft;Grammars=1")
        AxDirectSR1.Select(engine)

        REM menu.txt is our uncompiled grammar. Compile and load it now.
                AxDirectSR1.GrammarFromFile("C:\Documents and Settings\kaex21\My Documents\Visual Studio 2008\Projects\Project1\WindowsApplication6\Windows
Application6\menu.txt")
        REM Now load the synthesizer, find and select any female voice from microsoft
        AxDirectSR1.EngineId(AxDirectSR1.Find("MfgName=Mic
rosoft;Grammars=1"))

        REM Start the voice interface...control goes to DirectSS1_AudioStop after this is said, gMode=0
        AxDirectSS1.Speak("Welcome to kaex restaurant, sit back and enjoy as you take your order.")

        REM sometimes the vb environment comes to front while we're loading, so take the screen back
        Me.Show()
        GoTo done
GeneralFail:
        MsgBox("Unable to start using text to speech or recognition.")
done:

    End Sub&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408992/408992/problem-with-vbnet-sapi-51/</guid>
      <pubDate>Mon, 09 Nov 2009 19:00:40 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>problem with VB.NET SAPI 5.1</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408991/408991/problem-with-vbnet-sapi-51/</link>
      <description>hi to everyone&lt;br /&gt;
 i having this problem about sapi 5.1 and vb.net.. i cant run the program becuase it gives me an error.. i think the engine is not running or my codes is incorrect.. &lt;br /&gt;
&lt;br /&gt;
can you help me guys to solve this problem?? &lt;br /&gt;
&lt;br /&gt;
very much appreciated.. thanks!!&lt;br /&gt;
&lt;br /&gt;
here's my code...&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;Private Sub main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        gmode = 0
        gRestoreGrammar = False

        On Error GoTo GeneralFail
        Dim engine
        REM Initialize the recognizer. We want command and control, so find and select that engine (or best match)
        AxDirectSR1.Initialized = 1

        engine = AxDirectSR1.Find("MfgName=Microsoft;Grammars=1")
        AxDirectSR1.Select(engine)

        REM menu.txt is our uncompiled grammar. Compile and load it now.
                AxDirectSR1.GrammarFromFile("C:\Documents and Settings\kaex21\My Documents\Visual Studio 2008\Projects\Project1\WindowsApplication6\Windows
Application6\menu.txt")
        REM Now load the synthesizer, find and select any female voice from microsoft
        AxDirectSR1.EngineId(AxDirectSR1.Find("MfgName=Mic
rosoft;Grammars=1"))

        REM Start the voice interface...control goes to DirectSS1_AudioStop after this is said, gMode=0
        AxDirectSS1.Speak("Welcome to kaex restaurant, sit back and enjoy as you take your order.")

        REM sometimes the vb environment comes to front while we're loading, so take the screen back
        Me.Show()
        GoTo done
GeneralFail:
        MsgBox("Unable to start using text to speech or recognition.")
done:

    End Sub&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408991/408991/problem-with-vbnet-sapi-51/</guid>
      <pubDate>Mon, 09 Nov 2009 18:58:55 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>sapi 5.1 in vb.net problem!! voice program</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408954/408954/sapi-51-in-vbnet-problem-voice-program/</link>
      <description>hello to everyone.. i having a problem with my program.. it seem like it wont detect a voice.. my program is all about ordering a food in the restaurant via voice commands.. i used notepad instead of xml.. can you help me?? thank you in very much.. your reply is very much appriciated..&lt;br /&gt;
&lt;br /&gt;
here's my code..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Public gmode As Integer&lt;br /&gt;
    Public gRestoreGrammar As Boolean&lt;br /&gt;
    Public additional As Boolean&lt;br /&gt;
&lt;br /&gt;
    Private Sub AxDirectSR1_PhraseFinish(ByVal flags As Long, ByVal beginhi As Long, ByVal beginlo As Long, ByVal endhi As Long, ByVal endlo As Long, ByVal Phrase As String, ByVal parsed As String, ByVal results As Long)&lt;br /&gt;
        If (parsed = "") Then&lt;br /&gt;
            AxDirectSR1.Deactivate()&lt;br /&gt;
            If (Rnd() &amp;gt; 0.5) Then&lt;br /&gt;
                AxDirectSS1.Speak("kindly repeat your order again sir.")&lt;br /&gt;
            Else&lt;br /&gt;
                AxDirectSS1.Speak("please follow the menu.")&lt;br /&gt;
            End If&lt;br /&gt;
        Else&lt;br /&gt;
            If (parsed = "ok") Then&lt;br /&gt;
                AxDirectSR1.Deactivate()&lt;br /&gt;
                If (additional = False) Then&lt;br /&gt;
                    gmode = 2&lt;br /&gt;
                    AxDirectSS1.Speak("Would like to have drinks?")&lt;br /&gt;
&lt;br /&gt;
                Else&lt;br /&gt;
                    gmode = 3&lt;br /&gt;
                    AxDirectSS1.Speak("would that be all sir?")&lt;br /&gt;
                End If&lt;br /&gt;
            ElseIf (parsed = "cancel") Then&lt;br /&gt;
                Dim Item As String&lt;br /&gt;
                Item = ListBox1.Items.Count - 1&lt;br /&gt;
                If (Item &amp;gt;= 0) Then&lt;br /&gt;
                    ListBox1.Items.Remove(ListBox1.Items.Count - 1)&lt;br /&gt;
                    AxDirectSR1.Deactivate()&lt;br /&gt;
                    AxDirectSS1.Speak("your order cancel")&lt;br /&gt;
                End If&lt;br /&gt;
            ElseIf (parsed = "no") Then&lt;br /&gt;
                If (gmode = 2) Then&lt;br /&gt;
                    gmode = 3&lt;br /&gt;
                    additional = True&lt;br /&gt;
                    AxDirectSR1.Deactivate()&lt;br /&gt;
                    AxDirectSS1.Speak("verifying your order")&lt;br /&gt;
                ElseIf (gmode = 3) Then&lt;br /&gt;
                    gmode = 0&lt;br /&gt;
                    gRestoreGrammar = True&lt;br /&gt;
                    AxDirectSR1.Deactivate()&lt;br /&gt;
                    AxDirectSS1.Speak("you can continue your order")&lt;br /&gt;
                Else&lt;br /&gt;
                    gmode = 0&lt;br /&gt;
                    gRestoreGrammar = True&lt;br /&gt;
                End If&lt;br /&gt;
            ElseIf (parsed = "yes") Then&lt;br /&gt;
&lt;br /&gt;
                If (gmode = 2) Then&lt;br /&gt;
                    'form2.Show()&lt;br /&gt;
                    gmode = 3&lt;br /&gt;
                    AxDirectSR1.Deactivate()&lt;br /&gt;
                    AxDirectSS1.Speak("would that be all")&lt;br /&gt;
&lt;br /&gt;
                ElseIf (gmode = 3) Then&lt;br /&gt;
                    Dim total As Integer&lt;br /&gt;
                    total = 0&lt;br /&gt;
                    For i = 0 To ListBox1.Items.Count - 1&lt;br /&gt;
                        total = total + Val(ListBox1.Items(i))&lt;br /&gt;
                    Next i&lt;br /&gt;
                    ListBox1.Items.Add("---total is: $" + Format(total, "###0.00"))&lt;br /&gt;
                    gmode = 1&lt;br /&gt;
                    gRestoreGrammar = True&lt;br /&gt;
&lt;br /&gt;
                    AxDirectSR1.Deactivate()&lt;br /&gt;
&lt;br /&gt;
                    AxDirectSS1.Speak("Your total will be $" + Format(total, "###0.00") + " at the next window please.")&lt;br /&gt;
                End If&lt;br /&gt;
            Else&lt;br /&gt;
                AxDirectSR1.Deactivate()&lt;br /&gt;
                ListBox1.Items.Add(parsed)&lt;br /&gt;
            End If&lt;br /&gt;
        End If&lt;br /&gt;
&lt;br /&gt;
        ListBox1.SelectedIndex = ListBox1.Items.Count - 1&lt;br /&gt;
        AxDirectSS1.Speak(Phrase)&lt;br /&gt;
&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub DirectSS1_AudioStop(ByVal hi As Long, ByVal lo As Long)&lt;br /&gt;
        If (gmode = 1) Then&lt;br /&gt;
            ListBox1.Items.Clear()&lt;br /&gt;
            gmode = 0&lt;br /&gt;
            AxDirectSS1.Speak("Hi! May I take your order?")&lt;br /&gt;
        Else&lt;br /&gt;
            If (gmode = 2) Or (gmode = 3) Then&lt;br /&gt;
                'HighLightOrder (False)&lt;br /&gt;
                AxDirectSR1.GrammarFromFile("C:\Documents and Settings\kaex21\My Documents\Visual Studio 2008\Projects\Project1\WindowsApplication6\Windows
Application6\yesno.txt")&lt;br /&gt;
&lt;br /&gt;
            ElseIf (gRestoreGrammar) Then&lt;br /&gt;
                'HighLightOrder (True)&lt;br /&gt;
                AxDirectSR1.GrammarFromFile("C:\Documents and Settings\kaex21\My Documents\Visual Studio 2008\Projects\Project1\WindowsApplication6\Windows
Application6\menu.txt")&lt;br /&gt;
                gRestoreGrammar = False&lt;br /&gt;
&lt;br /&gt;
            End If&lt;br /&gt;
            REM we had to turn off listening before talking, so now that we are done talking we&lt;br /&gt;
            REM should start listening again&lt;br /&gt;
            AxDirectSR1.Activate()&lt;br /&gt;
        End If&lt;br /&gt;
    End Sub&lt;br /&gt;
   &lt;br /&gt;
    Private Sub main_Terminate()&lt;br /&gt;
        AxDirectSR1.Deactivate()&lt;br /&gt;
    End Sub&lt;br /&gt;
  Private Sub main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load&lt;br /&gt;
        gmode = 0&lt;br /&gt;
        gRestoreGrammar = False&lt;br /&gt;
&lt;br /&gt;
    End Sub&lt;br /&gt;
    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick&lt;br /&gt;
        On Error GoTo GeneralFail&lt;br /&gt;
        REM we just use this function once, on the first callback, then the timer isn't needed anymore&lt;br /&gt;
        Timer1.Enabled = False&lt;br /&gt;
        Dim engine As String&lt;br /&gt;
        REM Initialize the recognizer. We want command and control, so find and select that engine (or best match)&lt;br /&gt;
        AxDirectSR1.Initialized = 1&lt;br /&gt;
&lt;br /&gt;
        engine = AxDirectSR1.Find("MfgName=Microsoft;Grammars=1")&lt;br /&gt;
        AxDirectSR1.Select(engine)&lt;br /&gt;
&lt;br /&gt;
        REM Burger.txt is our uncompiled grammar. Compile and load it now.&lt;br /&gt;
        'HighLightOrder(True)&lt;br /&gt;
        'AxDirectSR1.GrammarFromFile(app.path + "\menu.txt")&lt;br /&gt;
        AxDirectSR1.GrammarFromFile("C:\Documents and Settings\kaex21\My Documents\Visual Studio 2008\Projects\Project1\WindowsApplication6\Windows
Application6\menu.txt")&lt;br /&gt;
        REM Now load the synthesizer, find and select any female voice from microsoft&lt;br /&gt;
        Dim voice As String&lt;br /&gt;
        voice = AxDirectSS1.Find("MfgName=Microsoft;Gender=2")&lt;br /&gt;
        AxDirectSS1.Select(voice)&lt;br /&gt;
&lt;br /&gt;
        REM Start the voice interface...control goes to DirectSS1_AudioStop after this is said, gMode=0&lt;br /&gt;
        AxDirectSS1.Speak("Welcome to kaex restaurant, sit back and enjoy as you take your order.")&lt;br /&gt;
&lt;br /&gt;
        REM sometimes the vb environment comes to front while we're loading, so take the screen back&lt;br /&gt;
        Me.Show()&lt;br /&gt;
        GoTo done&lt;br /&gt;
GeneralFail:&lt;br /&gt;
        MsgBox("Unable to start using text to speech or recognition.")&lt;br /&gt;
done:&lt;br /&gt;
    End Sub&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408954/408954/sapi-51-in-vbnet-problem-voice-program/</guid>
      <pubDate>Sat, 07 Nov 2009 00:16:33 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Two Dimensional Arrays in VB.NET</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408945/408945/two-dimensional-arrays-in-vbnet/</link>
      <description>I'd really appreciate it if anyone could help me out with two dimensional arrays. I am to enter a high and low temperature for five stations and find the average high and low. I understand that I need a two dimensional array to enter the values such as temp(5, 2) , and that I need to used a dual loop structure to enter the values, but I am having trouble figuring out how to initialize or execute the array. It is just a console application. Thanks for any suggestions. &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408945/408945/two-dimensional-arrays-in-vbnet/</guid>
      <pubDate>Fri, 06 Nov 2009 19:18:53 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Converting VBA to VB.NET</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408892/408892/converting-vba-to-vbnet/</link>
      <description>Hello All,&lt;br /&gt;
&lt;br /&gt;
I am a newbie to Visual Studio and am looking to convert my VBA scripts to an Add-In.  The first thing I need to do is create the custom toolbar.&lt;br /&gt;
&lt;br /&gt;
In VBA:&lt;br /&gt;
Set MyBar = CommandBars("My Macros")&lt;br /&gt;
Debug.Print MyBar&lt;br /&gt;
If MyBar Is Nothing Then&lt;br /&gt;
    Set MyBar = CommandBars.Add(Name:="My Macros", Position:=msoBarTop, &lt;br /&gt;
temporary:=False)&lt;br /&gt;
    MyBar.Protection = msoBarNoCustomize&lt;br /&gt;
    MyBar.Visible = True&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
In Visual Studio using VB this is where my porting comes unstuck and where I need to be pointed in the right direction.&lt;br /&gt;
&lt;br /&gt;
MyBar = CommandBars("My Macros")&lt;br /&gt;
If MyBar Is Nothing Then&lt;br /&gt;
  CommandBars.Add(Name:="My Macros", Position:=MsoBarPosition.msoBarTop, Temporary:=False)&lt;br /&gt;
  MyBar.Protection = MsoBarProtection.msoBarNoCustomize&lt;br /&gt;
  MyBar.Visible = True&lt;br /&gt;
End If&lt;br /&gt;
&lt;br /&gt;
The problem is with the use of "CommandBars".  I have imported &lt;br /&gt;
Microsoft.VisualStudio.CommandBars.  The context message I receive is:&lt;br /&gt;
'Reference to a non-shared member requires an object reference.'  Everything else is good.&lt;br /&gt;
&lt;br /&gt;
This has been buggin me for a couple of days.  I've tried using &lt;br /&gt;
_CommandBars.CommandBars - nup; Application.CommandBars - nup; among other &lt;br /&gt;
attempts.&lt;br /&gt;
&lt;br /&gt;
Any ideas, please?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Michael A.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408892/408892/converting-vba-to-vbnet/</guid>
      <pubDate>Thu, 05 Nov 2009 15:14:40 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Access 2007 &amp; VB 2008</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408887/408887/access-2007--vb-2008/</link>
      <description>I have a real problem here.  I am connecting to an access 2007 database (accdb) via an OLEDB connection, and I have no idea why this code isn't working!&lt;br /&gt;
&lt;pre class="sourcecode"&gt;Imports System.Data.OleDb
Public Class Form1

    Private Sub Form1_Load(...)
        Dim dbCon As OleDbConnection
        Dim dbCmd As OleDbCommand
        Dim dbRead As OleDbDataReader

        dbCon = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0
;Data Source=C:\My.accdb;Persist Security Info=False;")
        dbCon.Open()  

        dbCmd = New OleDbCommand("SELECT * FROM CITY", dbCon)
        dbRead = dbCmd.ExecuteReader
        Do While dbRead.Read
            MsgBox(dbRead(1))
        Loop
    End Sub
End Class
&lt;/pre&gt;&lt;br /&gt;
The result is the program crashes with no errors.  I tried it in a different form/project and it launches the forum without any messages. So, in short, I'm getting no error messages and I don't know why.  It will not go past dbCon.Open().  Please help!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408887/408887/access-2007--vb-2008/</guid>
      <pubDate>Thu, 05 Nov 2009 12:52:31 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Automatic generation of textboxes in vb.net</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408860/408860/automatic-generation-of-textboxes-in-vbnet/</link>
      <description>&amp;lt;script language="vb" runat="server"&amp;gt;&lt;br /&gt;
        Sub generate(ByVal s As Object, ByVal e As EventArgs)&lt;br /&gt;
            Dim i As Integer&lt;br /&gt;
            ' Dim numtexts As Integer&lt;br /&gt;
            For i = 1 To 10&lt;br /&gt;
                Dim t As New TextBox()&lt;br /&gt;
                t.Text = "TextBox" &amp;amp; i.ToString()&lt;br /&gt;
                t.ID = "TextBox" &amp;amp; i.ToString()&lt;br /&gt;
                Controls.Add(t)&lt;br /&gt;
               &lt;br /&gt;
            Next i&lt;br /&gt;
&lt;br /&gt;
        End Sub&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
error:Control 'TextBox1' of type 'TextBox' must be placed inside a form tag with runat=server. &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408860/408860/automatic-generation-of-textboxes-in-vbnet/</guid>
      <pubDate>Thu, 05 Nov 2009 00:40:23 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Pick multiples from single table on one form?</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408835/408835/pick-multiples-from-single-table-on-one-form/</link>
      <description>I am using VB 2005 and Access 2007&lt;br /&gt;
&lt;br /&gt;
How can I select four different things from the same list?&lt;br /&gt;
&lt;br /&gt;
Basically, here's what I'm trying to do:  I have table of intermediates.  On my form, I want to be able to choose up to four different intermediates, which will be used in creating calibration standards.  &lt;br /&gt;
&lt;br /&gt;
In my CalStandards table I have listed intermediate1 through intremediate4&lt;br /&gt;
These 4 different intermediates are the 4 comboboxes used on the form.&lt;br /&gt;
&lt;br /&gt;
When I place the four comboboxes, they all point to the same thing.  If one changes, they all change.&lt;br /&gt;
&lt;br /&gt;
So, here's what I did next: I added 4 different datasources, each pointing to the intermediates table in the dataset; (Intermediates1-Intermediates4), as well as the the whole dataset (LabDataSet). I dragged CalStandards under the LabDataSet to the form, then from the CalStandards table, I dragged the four Intermediate(1-4)Descriptions to the form. &lt;br /&gt;
&lt;br /&gt;
Intermediate1Description ComboBox: DataSource = IntermediatesBindingSource, Display and Value Member = IntermediateDescription, SelectedValue = IntermediatesBindingSource - IntermediateDescription &lt;br /&gt;
&lt;br /&gt;
Intermediate2Description ComboBox: DataSource = IntermediatesBindingSource1, Display and Value Member = IntermediateDescription, SelectedValue = IntermediatesBindingSource1 - IntermediateDescription &lt;br /&gt;
&lt;br /&gt;
While they no longer match, I cannot move from one combobox to the next. It appears that I have the comboboxes setup incorrectly, which I don't understand because I have set my comboboxes the same way in other applications. &lt;br /&gt;
&lt;br /&gt;
Well, apparently I had text assigned under the (DataBindings). Removing that allows me to move to and from comboboxes. But here's something curious, Say I have A, B, and C populated in the combobox. A is the first, and is what is initially showing. If I choose B, then A disappears, and the choice is B, B, and C. Then if I choose C, A is still gone, and the choice becomes C, B, C.  &lt;br /&gt;
&lt;br /&gt;
Where is A going? Does this mean that there is still something wrong with my comboboxes? If so, what?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408835/408835/pick-multiples-from-single-table-on-one-form/</guid>
      <pubDate>Wed, 04 Nov 2009 11:12:56 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Share Module to Any New Project</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408691/408691/share-module-to-any-new-project/</link>
      <description>Dear Forum&lt;br /&gt;
&lt;br /&gt;
I’m beginning at VB.Net and plan to Upgrade My VB 6 code to VB.Net 2005&lt;br /&gt;
&lt;br /&gt;
In VB 6, I can write a Bas module and Add the module to every project to share the function inside&lt;br /&gt;
But  i can’t find on VB.Net&lt;br /&gt;
&lt;br /&gt;
I trying to create a set of functions which will work for all forms in a visual studio .net visual basic 2005 project.  &lt;br /&gt;
I do not want to have to put the function code inside of every form.  It would be tedious and sloppy programming.&lt;br /&gt;
&lt;br /&gt;
Any Solution please ?&lt;br /&gt;
tq&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408691/408691/share-module-to-any-new-project/</guid>
      <pubDate>Sun, 01 Nov 2009 22:29:30 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Share Module to Any New Project</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408690/408690/share-module-to-any-new-project/</link>
      <description>Dear Forum&lt;br /&gt;
&lt;br /&gt;
I’m beginning at VB.Net and plan to Upgrade My VB 6 code to VB.Net 2005&lt;br /&gt;
&lt;br /&gt;
In VB 6, I can write a Bas module and Add the module to every project to share the function inside&lt;br /&gt;
But  i can’t find on VB.Net&lt;br /&gt;
&lt;br /&gt;
I trying to create a set of functions which will work for all forms in a visual studio .net visual basic 2005 project.  &lt;br /&gt;
I do not want to have to put the function code inside of every form.  It would be tedious and sloppy programming.&lt;br /&gt;
&lt;br /&gt;
Any Solution please ?&lt;br /&gt;
tq&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408690/408690/share-module-to-any-new-project/</guid>
      <pubDate>Sun, 01 Nov 2009 22:27:56 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Read FingerPrint Data</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408685/408685/read-fingerprint-data/</link>
      <description>Dear Friends,&lt;br /&gt;
&lt;br /&gt;
we have using finger print machine for capturing our in and outs, for that we using fox pro program its gets data through IP address.  &lt;br /&gt;
&lt;br /&gt;
so i want to develop a new application for capturing purpose by VB.NET &lt;br /&gt;
i have no idea about this&lt;br /&gt;
can you please direct me to get some points.&lt;br /&gt;
&lt;br /&gt;
if you have any samples its highly appreciated.&lt;br /&gt;
&lt;br /&gt;
Thanks. &lt;br /&gt;
&lt;br /&gt;
Nelson Rodrigo&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=1278"&gt;FPImage.JPG&lt;/a&gt; (3868 bytes | downloaded 11 times)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408685/408685/read-fingerprint-data/</guid>
      <pubDate>Sun, 01 Nov 2009 20:29:48 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Math Challenge!</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408474/408474/math-challenge/</link>
      <description>Here's the challenge: I have 4 points of a circle: top, bottom, left and right. I don't want to draw a circle in the screen or something like that! I only want to know if a point is INSIDE the circle.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Top: 50&lt;br /&gt;
Bottom: -50&lt;br /&gt;
Left: -50&lt;br /&gt;
Right: 50&lt;br /&gt;
&lt;br /&gt;
Does the point (60, 60) inside the circle? NO&lt;br /&gt;
Does the point (10, 10) inside the circle? YES&lt;br /&gt;
&lt;br /&gt;
I need a function like that:&lt;br /&gt;
&lt;br /&gt;
Public Function Contais(Top, Bottom, Left, Right, Point_X, Point_Y) as Boolean&lt;br /&gt;
&lt;br /&gt;
Help!!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408474/408474/math-challenge/</guid>
      <pubDate>Wed, 28 Oct 2009 09:51:58 -0700</pubDate>
      <category>VB.NET</category>
    </item>
  </channel>
</rss>