I am developing a application in vb6 and access 2007 but I am facing a problem like i need to select some items from a List box and then add length and breadth of the corresponding Items. I do not know which control should i use grid control or simple text boxes.
ex:
Item Name Rate Length Width Total_Amount
Item 1 100 3 4 1200
I know Item rate corresponding to the items will be coming from access table and I just need to add length & breadth only.
Hope to get some idea from you.
Thank you
解决方案You shouldn't be installing Visual Studio IDE on the client computer - you should be building your application and installing that. The .net framework should already be available on their machine (assuming you are not using Windows2000 or something silly like that)
Bear in mind that if you are going to use VB6 you will need to include all of the runtime components in your install (some are included with Windows but not necessarily all the ones you need). Your installer cannot be written in VB6 because it will need the runtime components to run. Catch-22.
An editable grid in VB6 is a pain. There have been several 3rd party products to provide such grids over the years but I cannot recommend any of them (and I've dealt with quite a few)
I suggest using simple text boxes to capture the data and have a Submit button (or similar) that copies the data to the grid/list. Make sure that you have some labels or read-only textboxes containing the "other" data from the row so that the user has some context of what they are entering.
If you want to post details of the "some database error" was then we may be able to help you overcome it.