Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

To Buy, or Not To Buy?

Status
Not open for further replies.

johnmtb

Programmer
Jul 12, 2008
37
US
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:

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
 
RiverGuy,

what i meant then is, can i buy Visual Basic 2008 Standard?

that is Visual Basic on it's own?

regards,

john
 
For Standard, you can only buy Visual Studio Standard, which comes with Visual Basic, C# and C++.
 
RiverGuy,

in that case, i believe i will just stay with the downloadable version, as i do not want C# and C++.

thank you all,

regards,

john
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top