<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>VB.NET Forum RSS Feed (Replies Included)</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the 'VB.NET' forum at Programmer's Heaven, including replies.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Fri, 20 Nov 2009 20:30:16 -0700</pubDate>
    <lastBuildDate>Fri, 20 Nov 2009 20:30:16 -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>Re: need help!!</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409458/409641/re-need-help/#409641</link>
      <description>Thanks Sean for all your help.. I have tried the suggestion you gave me but they don't seem to work. I'm using vb.net express 2008 and mysql server 5.1. However when i use .selectedIndex or .SelectedText, the app doesnt crash...but fails to insert.&lt;br /&gt;
Besides intellisense does not give me the .SelectedItem.value option.&lt;br /&gt;
&lt;br /&gt;
By the way have you ever worked with winwedge???&lt;br /&gt;
Thanks for all your time.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409458/409641/re-need-help/#409641</guid>
      <pubDate>Fri, 20 Nov 2009 08:03:30 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: need help!!</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409458/409607/re-need-help/#409607</link>
      <description>Sorry for my delay in responding...&lt;br /&gt;
&lt;br /&gt;
It seems to me that your problem isn't a SQL error, but instead a syntax error.&lt;br /&gt;
&lt;br /&gt;
.SelectedItem is an Object (in this case, a DataViewRow, because it is bound from a datatable). You cannot convert a DataViewRow into a string value... What you need to use is .SelectedValue or .SelectedItem.Value&lt;br /&gt;
&lt;br /&gt;
So change the sql= line to this:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
sql = "insert into invoice(transactionid, description, quantity, weight, agent, airline, destination, price,time) values('" &amp;amp; TextBox1.Text &amp;amp; "', '" &amp;amp; TextBox2.Text &amp;amp; "', '" &amp;amp; TextBox3.Text &amp;amp; "', '" &amp;amp; TextBox4.Text &amp;amp; "', '" &amp;amp; ComboBox1.SelectedItem.Value &amp;amp; "', '" &amp;amp; ComboBox2.SelectedItem.Value &amp;amp; "', '" &amp;amp; ComboBox3.SelectedItem.Value &amp;amp; "', '" &amp;amp; TextBox5.Text &amp;amp; "', NOW());"
&lt;/pre&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409458/409607/re-need-help/#409607</guid>
      <pubDate>Thu, 19 Nov 2009 12:00:36 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: Two Dimensional Arrays in VB.NET</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408945/409525/re-two-dimensional-arrays-in-vbnet/#409525</link>
      <description>Thanks for the Thanks Ruth.&lt;br /&gt;
&lt;br /&gt;
Surprisingly, we don't get a lot of thank yous in here :)&lt;br /&gt;
&lt;br /&gt;
You bring up a good point, I have been teaching a student how to program and there isn't a lot of information out there for the complete-noob... most assumes you have some programming knowledge already.&lt;br /&gt;
I was thinking about putting my information up as free tutorials on my website in the near future. This is encouraging ;)&lt;br /&gt;
&lt;br /&gt;
-Sean C</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408945/409525/re-two-dimensional-arrays-in-vbnet/#409525</guid>
      <pubDate>Wed, 18 Nov 2009 11:05:45 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: Two Dimensional Arrays in VB.NET</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408945/409524/re-two-dimensional-arrays-in-vbnet/#409524</link>
      <description>Bless you guys...  this is the clearest I have seen this concept explained &amp;amp; I have been looking everywhere...  I am trying to teach myself VB.Net &amp;amp; arrays have really been giving me fits... I suspect I will need to be comfortable with them before I start trying to learn the database end of the deal, so I have really been putting lots of time in playing with arrays &amp;amp; trying to understand the 'why' behind each part of the process.&lt;br /&gt;
&lt;br /&gt;
Ruth&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408945/409524/re-two-dimensional-arrays-in-vbnet/#409524</guid>
      <pubDate>Wed, 18 Nov 2009 10:39:36 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: need help!!</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409458/409502/re-need-help/#409502</link>
      <description>hey seancampbell this is my code...&lt;br /&gt;
ON form load event..&lt;br /&gt;
Dim conn As New MySqlConnection&lt;br /&gt;
        conn.ConnectionString = "server=localhost;" _&lt;br /&gt;
                               &amp;amp; "database=cargomanager;" _&lt;br /&gt;
                              &amp;amp; "userid=root;" _&lt;br /&gt;
                              &amp;amp; "password=admin;"&lt;br /&gt;
        Try&lt;br /&gt;
            conn.Open()&lt;br /&gt;
        Catch myerror As MySqlException&lt;br /&gt;
            MsgBox("failed to connect to database")&lt;br /&gt;
        End Try&lt;br /&gt;
        sql0 = "select name as cname from agent"&lt;br /&gt;
        sql1 = "select name as dname from airline"&lt;br /&gt;
        sql2 = "select abbreviation as ename from destination"&lt;br /&gt;
        command.Connection = conn&lt;br /&gt;
        command.CommandText = sql0&lt;br /&gt;
        command1.Connection = conn&lt;br /&gt;
        command1.CommandText = sql1&lt;br /&gt;
        command2.Connection = conn&lt;br /&gt;
        command2.CommandText = sql2&lt;br /&gt;
        adapter.SelectCommand = command&lt;br /&gt;
        myadapter.SelectCommand = command1&lt;br /&gt;
        myadapter2.SelectCommand = command2&lt;br /&gt;
        adapter.Fill(dt)&lt;br /&gt;
        myadapter.Fill(dt1)&lt;br /&gt;
        myadapter2.Fill(dt2)&lt;br /&gt;
        ComboBox1.DataSource = dt&lt;br /&gt;
        ComboBox1.DisplayMember = "cname"&lt;br /&gt;
        ComboBox2.DataSource = dt1&lt;br /&gt;
        ComboBox2.DisplayMember = "dname"&lt;br /&gt;
        ComboBox3.DataSource = dt2&lt;br /&gt;
        ComboBox3.DisplayMember = "ename"&lt;br /&gt;
        conn.Close()&lt;br /&gt;
        conn.Dispose()&lt;br /&gt;
This is the insert statement on button click event..&lt;br /&gt;
Try&lt;br /&gt;
            sql = "insert into invoice(transactionid, description, quantity, weight, agent, airline, destination, price,time) values('" &amp;amp; TextBox1.Text &amp;amp; "', '" &amp;amp; TextBox2.Text &amp;amp; "', '" &amp;amp; TextBox3.Text &amp;amp; "', '" &amp;amp; TextBox4.Text &amp;amp; "', '" &amp;amp; ComboBox1.SelectedItem &amp;amp; "', '" &amp;amp; ComboBox2.Selecteditem &amp;amp; "', '" &amp;amp; ComboBox3.Selecteditem &amp;amp; "', '" &amp;amp; TextBox5.Text &amp;amp; "', NOW());"&lt;br /&gt;
            command.Connection = conn&lt;br /&gt;
            command.CommandText = sql&lt;br /&gt;
            command.ExecuteNonQuery()&lt;br /&gt;
            MsgBox("operation successfull")&lt;br /&gt;
        Catch myerror As MySqlException&lt;br /&gt;
            MsgBox("operation failed")&lt;br /&gt;
        End Try&lt;br /&gt;
this is the error msg&lt;br /&gt;
Operator '&amp;amp;' is not defined for string "insert into invoice(transactioni" and type 'DataRowView'.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409458/409502/re-need-help/#409502</guid>
      <pubDate>Wed, 18 Nov 2009 01:14:44 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <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>Re: need help!!</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409458/409462/re-need-help/#409462</link>
      <description>Have you looked at the contents of the Insert Statement to see why it is giving you an insert error? It'd be very helpful, for me to give you a good answer, if you provided the exact error messages and some sample code...&lt;br /&gt;
&lt;br /&gt;
Here is a suggestion on something to try so you can understand why your statement is crashing:&lt;br /&gt;
&lt;br /&gt;
MsgBox(ComboBox1.SelectedItem.GetType.ToString, vbOkOnly, "Test")&lt;br /&gt;
&lt;br /&gt;
You'll see that you get a type like "ListItem" or something from ComboBox1.SelectedItem. That is because ComboBox1.SelectedItem returns an OBJECT, not a VALUE, and that OBJECT is determined by the Datasource of the ComboBox (in this case you have added an item manually with ComboBox.Items.Add, so it uses a default data type and adds it to the datasource).....&lt;br /&gt;
&lt;br /&gt;
So here is some things you can use:&lt;br /&gt;
&lt;br /&gt;
ComboBox1.SelectedText 'this should work&lt;br /&gt;
ComboBox1.SelectedValue 'this works when you have a datasource and a valuemember set&lt;br /&gt;
ComboBox1.Items(ComboBox1.SelectedItem).Text&lt;br /&gt;
&lt;br /&gt;
Here is an example of how to check if something is selected, and get the value:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
'Assume ComboBox1 is the name of your combobox control
Dim ComboVal as STring = ""
If ComboBox1.SelectedValue &amp;gt; -1 Then 'Something is selected
  ComboVal = ComboBox1.SelectedText
Else
  'By Default you can type text into a ComboBox, if there is
  'text in the combo, and you haven't selected any, you can do
  'something here
End If
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409458/409462/re-need-help/#409462</guid>
      <pubDate>Tue, 17 Nov 2009 10:31:52 -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>Re: dynamic arrays in vb.net ?????</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409334/409394/re-dynamic-arrays-in-vbnet-/#409394</link>
      <description>thank u for the info, really helped, im still new to vb.net so im kinda learning as i go, thanx again!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409334/409394/re-dynamic-arrays-in-vbnet-/#409394</guid>
      <pubDate>Mon, 16 Nov 2009 13:46:01 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: Exit button with yes/no options</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409247/409392/re-exit-button-with-yesno-options/#409392</link>
      <description>If you want a form to close as apposed to a full application&lt;br /&gt;
&lt;br /&gt;
You can use:&lt;br /&gt;
&lt;br /&gt;
Me.Close() (This closes the form you call this code from, if that form is set as the startup form, it will close the whole application)&lt;br /&gt;
&lt;br /&gt;
Application.End (This closes the whole application, may or may not call your Form_Closing and Form_Closed routines of open forms, so be careful)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
If you open your application from a Sub Main, and you do not specify a form with Application.Run(), then you have to do a Application.End to end the running process.&lt;br /&gt;
&lt;br /&gt;
Hope this helps!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409247/409392/re-exit-button-with-yesno-options/#409392</guid>
      <pubDate>Mon, 16 Nov 2009 12:01:16 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: Exit button with yes/no options</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409247/409376/re-exit-button-with-yesno-options/#409376</link>
      <description>Thanks!  It helps very much!&lt;br /&gt;
&lt;br /&gt;
Best wishes Sean,&lt;br /&gt;
&lt;br /&gt;
Michael&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409247/409376/re-exit-button-with-yesno-options/#409376</guid>
      <pubDate>Mon, 16 Nov 2009 07:42:32 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: Exit button with yes/no options</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409247/409374/re-exit-button-with-yesno-options/#409374</link>
      <description>&lt;pre class="sourcecode"&gt;
  Dim intrebare As System.Windows.Forms.DialogResult
  intrebare = MsgBox("Doriti parasirea aplicatiei?", MsgBoxStyle.YesNo)
  If intrebare = MsgBoxResult.Yes  Then 
    Me.Close()
  Else 
  End If
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Hope this helps!</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409247/409374/re-exit-button-with-yesno-options/#409374</guid>
      <pubDate>Mon, 16 Nov 2009 07:09:44 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: dynamic arrays in vb.net ?????</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409334/409372/re-dynamic-arrays-in-vbnet-/#409372</link>
      <description>You a few options to solve the scenario you are facing.&lt;br /&gt;
&lt;br /&gt;
Firstly, and more directly to your questions, you can declare the size of an array dynamically like this:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
'Say I am getting data from the database, and i don't know how
'many rows I am getting...

'At somepoint, I will get a count for the amount of data coming back, and when I get that 'count' i can declare the array like so:

Dim RowCount as Integer = 15

Dim DynamArray(RowCount) As Integer
'Now DynamArray's bounds are 0 - 14

'You can also declare an array with no size:
Dim DynamArray() as Integer

'Then change the length afterwards:
ReDim DynamArray(RowCount)

'And Finally, if you want to add an item to the array:
ReDim Preserve DynamArray(DynamArray.Length)
DynamArray(DynamArray.Length - 1) = Value
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Since you understand how to do this enough to have done it in C++, I won't bore you with details... Here is another way to do it, look into using an arrayList, it dynamically holds multiple datatypes&lt;br /&gt;
&lt;br /&gt;
Dim aList As New ArrayList&lt;br /&gt;
aList.Add(Object)&lt;br /&gt;
aList.Count&lt;br /&gt;
aList.Item(0)&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409334/409372/re-dynamic-arrays-in-vbnet-/#409372</guid>
      <pubDate>Mon, 16 Nov 2009 06:53:14 -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>Re: Anyone interesed in doing VIRTUAL MALL project</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409181/409226/re-anyone-interesed-in-doing-virtual-mall-project/#409226</link>
      <description>RentACoder.com&lt;br /&gt;
&lt;br /&gt;
FindACoder.com&lt;br /&gt;
&lt;br /&gt;
You'll never learn to program if you have others do the work for you. Even if you feel that you "could" do it, without actually having done it, you are selling yourself short.&lt;br /&gt;
&lt;br /&gt;
Good luck!&lt;br /&gt;
SeanCampbell</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409181/409226/re-anyone-interesed-in-doing-virtual-mall-project/#409226</guid>
      <pubDate>Fri, 13 Nov 2009 07:31:01 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: Anyone interesed in doing VIRTUAL MALL project</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409181/409196/re-anyone-interesed-in-doing-virtual-mall-project/#409196</link>
      <description>Thanks for the reply.....but my problem is that I have to limited time to work on this project as I have other courses also to work on.&lt;br /&gt;
And this project was alloted at the last moment, so can you help me out&lt;br /&gt;
where to look for right people who can do this project and also how to approach them.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409181/409196/re-anyone-interesed-in-doing-virtual-mall-project/#409196</guid>
      <pubDate>Thu, 12 Nov 2009 22:55:27 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: Multidimensional array within a structure</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408131/409184/re-multidimensional-array-within-a-structure/#409184</link>
      <description>Hi ArisanLiam,&lt;br /&gt;
&lt;br /&gt;
You need 4 instances in your empty shrare 'layer' array variable.&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
Option Strict On
Public Class Form1

    Public Structure layerType
        Public tile(,) As Integer
        Public Sub New(ByVal i As Integer) 'The constructor takes a passed value 
            'from the creation command.
            ReDim tile(i, i)        'I ReDim to the passed integer
        End Sub
    End Structure

    Public Shared layer() As layerType

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        ReDim layer(3)               'Creates 4 entire copies ( 0,1,2 &amp;amp; 3 ) of the STRUCTURE so..

        'Pass the 3 to i in the New SUB for each instance in the layer array.
        layer(0) = New layerType(3)  'Create a new instance of layerType structure for array index 0.
        layer(1) = New layerType(3)  'Create a new instance of layerType structure for array index 1.
        layer(2) = New layerType(3)  'Create a new instance of layerType structure for array index 2.
        layer(3) = New layerType(3)  'Create a new instance of layerType structure for array index 3.

        layer(0).tile(0, 0) = 1      'Works finally.
        layer(3).tile(3, 3) = 1      'No longer gives null reference exception.

    End Sub
End Class
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
Dr M.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408131/409184/re-multidimensional-array-within-a-structure/#409184</guid>
      <pubDate>Thu, 12 Nov 2009 17:30:32 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: Two Dimensional Arrays in VB.NET</title>
      <link>http://www.programmersheaven.com/mb/VBNET/408945/409183/re-two-dimensional-arrays-in-vbnet/#409183</link>
      <description>Hi SeanCampbell,&lt;br /&gt;
&lt;br /&gt;
I guess you meant&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
SumHighs = SumHighs + WeatherData(I, 1)
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
in your last FOR NEXT loop.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
Dr M&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/408945/409183/re-two-dimensional-arrays-in-vbnet/#409183</guid>
      <pubDate>Thu, 12 Nov 2009 17:05:48 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: Anyone interesed in doing VIRTUAL MALL project</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409181/409182/re-anyone-interesed-in-doing-virtual-mall-project/#409182</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
In my experience on online forums, few people will do a full project / homework or an assignment, whatever you call it, for you when you say you are a student.&lt;br /&gt;
&lt;br /&gt;
They may help you in certain areas if you say you are stuck, say on accessing a database. Try some books on Vb.Net from your school / college / university.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409181/409182/re-anyone-interesed-in-doing-virtual-mall-project/#409182</guid>
      <pubDate>Thu, 12 Nov 2009 16:53:40 -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>Re: Help::Automatic textbox generation</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409171/409177/re-helpautomatic-textbox-generation/#409177</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I would do this with a button click though, not within a TextChanged event otherwise you will generate New TextBoxes every time the text is changed.&lt;br /&gt;
&lt;br /&gt;
As this looks like a WINDOWS FORM based project you would need.&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
t.Name = "TextBox" &amp;amp; count.ToString&lt;br /&gt;
&lt;br /&gt;
within the FOR NEXT next loop instead of&lt;br /&gt;
&lt;br /&gt;
t.Id = "TextBox" &amp;amp; count.ToString&lt;br /&gt;
&lt;br /&gt;
Remove the line&lt;br /&gt;
&lt;br /&gt;
count = count + 1&lt;br /&gt;
&lt;br /&gt;
as it interferes wih the FOR NEXT loop.&lt;br /&gt;
&lt;br /&gt;
How many TextBoxes are you wanting in the end?&lt;br /&gt;
&lt;br /&gt;
Best of luck and Happy coding.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409171/409177/re-helpautomatic-textbox-generation/#409177</guid>
      <pubDate>Thu, 12 Nov 2009 11:30:45 -0700</pubDate>
      <category>VB.NET</category>
    </item>
    <item>
      <title>Re: Help::Automatic textbox generation</title>
      <link>http://www.programmersheaven.com/mb/VBNET/409171/409176/re-helpautomatic-textbox-generation/#409176</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
Move the line of code.&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dim t As New TextBox to just after.&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For count As Integer = 4 to 6&lt;br /&gt;
&lt;br /&gt;
that way you generate a NEW textbox each time.&lt;br /&gt;
&lt;br /&gt;
Give each a Location too. Try&lt;br /&gt;
&lt;br /&gt;
t.Location = New Point(count * 75,50)&lt;br /&gt;
&lt;br /&gt;
within the loop too.&lt;br /&gt;
&lt;br /&gt;
If this is a Web based project you could also try.&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://forums.asp.net/"&gt;http://forums.asp.net/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Best of luck and Happy coding.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/VBNET/409171/409176/re-helpautomatic-textbox-generation/#409176</guid>
      <pubDate>Thu, 12 Nov 2009 11:28:56 -0700</pubDate>
      <category>VB.NET</category>
    </item>
  </channel>
</rss>