Dear All,
I have now been using the Free, Downloadable version of VB 2008, for some time, and have written about one dozen programmes using this language. In fact, having convetted those programmes from ones that I had already written in VB 6.
I am now thinking seriously about buying Visual Studio 2008 Professional, and need some advice.
I have found that, compared to VB 6, the VB 2008 programmes take a long time to get going. Even the VB 2008 package takes a long time to load, before I am able to start work, and takes even longer to close when I finish.
Also, I notice that after a lot of debugging, my whole computer slows down to a crawl, and I generally have to reboot.
I don’t like some of the kludge ways that I have now had to change my VB 6 code to VB 2008 code, because I can no longer use the arrays of Textboxes on the forms, but have to set up the following code:
Instead of simply:
Any suggestions, comments, or even ridicule, would be welcome.
Regards,
John
I have now been using the Free, Downloadable version of VB 2008, for some time, and have written about one dozen programmes using this language. In fact, having convetted those programmes from ones that I had already written in VB 6.
I am now thinking seriously about buying Visual Studio 2008 Professional, and need some advice.
I have found that, compared to VB 6, the VB 2008 programmes take a long time to get going. Even the VB 2008 package takes a long time to load, before I am able to start work, and takes even longer to close when I finish.
Also, I notice that after a lot of debugging, my whole computer slows down to a crawl, and I generally have to reboot.
I don’t like some of the kludge ways that I have now had to change my VB 6 code to VB 2008 code, because I can no longer use the arrays of Textboxes on the forms, but have to set up the following code:
Code:
Public objTextBoxes01 As New System.Collections.Generic.List(Of TextBox)
-
-
Public objTextBoxes05 As New System.Collections.Generic.List(Of TextBox)
-
-
objTextBoxes01.Add(frmLessThan5.txtItem1)
objTextBoxes01.Add(frmLessThan5.txtItem2)
-
-
objTextBoxes02.Add(frmLessThan5.txtQty1)
objTextBoxes02.Add(frmLessThan5.txtQty2)
-
-
objTextBoxes03.Add(frmLessThan5.txtUnit1)
objTextBoxes03.Add(frmLessThan5.txtUnit2)
-
-
objTextBoxes04.Add(frmLessThan5.txtDescription1)
objTextBoxes04.Add(frmLessThan5.txtDescription2)
-
-
objTextBoxes05.Add(frmLessThan5.txtUnitPrice1)
objTextBoxes05.Add(frmLessThan5.txtUnitPrice2)
For i = 0 To 6
Item(i) = objTextBoxes01.Item(i).Text
Qty(i) = CInt(objTextBoxes02.Item(i).Text)
Unit(i) = objTextBoxes03.Item(i).Text
ItemDescription(i) = objTextBoxes04.Item(i).Text
UnitPrice(i) = CDbl(objTextBoxes05.Item(i).Text)
Next
Instead of simply:
Code:
For x = 0 To 6
Item(x) = txtItem(x)
Qty(x) = Val(txtQty(x))
Unit(x) = txtUnit(x)
ItemDescription(x) = txtDescription(x)
UnitPrice(x) = Val(txtUnitPrice(x))
Next
Any suggestions, comments, or even ridicule, would be welcome.
Regards,
John