PBSnake
03-05-2002, 07:17 PM
Hello all. I am looking to create som pre-canned routines. What I am thinking is a bunch of frames that has each pre-canned information on them. I would select them with a combo box. When selected the frame would come up and allow the user to enter in the data in. After data is entered it would place it in a text box or just on the form and also save it to a file. This I pretty much think I have a grasp on.
Where my trouble comes in is when I what to open the file. I want it to display on the form and allow be to cursor through the differant lines. And the frame that contains that pre-canned unit would display all the info and allow the user to change that data.
Each unit or pr-canned routine could have a differant amount of fields to fill in and the user could continue adding these to the file untill they inserted a end unit. Sort of like creating a small program. Because then the could run it and it would step through this file pulling out the dat and doing what it was told.
I am new to this VB thing and I hope I explained this ok. Bellow is what the units may look like and each of these would be a pre-canned unit that would be used.
UNO MOVE1 MOVE2 MOVE3
1 12.6 34.56 3.67
UNO STR1 OUT2 OUT3 OUT4
2 32 1 0 1
UNO IN2 MOVE2 TYPE OUT4
3 1 23.45 4 0
SPACE MOVE5 TYPE
45 34.2 3
UNO END
4
Each of the UNO's above would be a pre-canned unit The number under it is just a counter that increments ever time the user enters a new unit. All other numbers are the data that is required for that unit.
Sorry to be long winded I just want to explain as best I could. In hopes to get help quicker.
Thanks in advance
PBSnake
Where my trouble comes in is when I what to open the file. I want it to display on the form and allow be to cursor through the differant lines. And the frame that contains that pre-canned unit would display all the info and allow the user to change that data.
Each unit or pr-canned routine could have a differant amount of fields to fill in and the user could continue adding these to the file untill they inserted a end unit. Sort of like creating a small program. Because then the could run it and it would step through this file pulling out the dat and doing what it was told.
I am new to this VB thing and I hope I explained this ok. Bellow is what the units may look like and each of these would be a pre-canned unit that would be used.
UNO MOVE1 MOVE2 MOVE3
1 12.6 34.56 3.67
UNO STR1 OUT2 OUT3 OUT4
2 32 1 0 1
UNO IN2 MOVE2 TYPE OUT4
3 1 23.45 4 0
SPACE MOVE5 TYPE
45 34.2 3
UNO END
4
Each of the UNO's above would be a pre-canned unit The number under it is just a counter that increments ever time the user enters a new unit. All other numbers are the data that is required for that unit.
Sorry to be long winded I just want to explain as best I could. In hopes to get help quicker.
Thanks in advance
PBSnake