Hi, its probably going to be an easy question for some of you guys, but i've looked around and i haven't found how to do it...
I want my program to read a text file and assign the values to different variables... but the thing is that the vars i want them assigned to are in the text file.
Here a quick look of what the text file looks like:
So simply, if i read that file with VB6, i want C150=0, C151 = 0, etc...Code:[Miranda] C150 = 0 ; Discrete (1= Helium used) ; C152 = 0 ; Discrete (1= bypass used) ; C151 = 0 ; Discrete (1= Vacuum used) ; C202 = 0 ; Discrete (1 = Bar code used) ; C203 = 1 ; Discrete (1 = Com with Tester) ; C207 = 1 ; Discrete (1 = Com with Chiller) ; C404 = 1 ; Discrete ; Use to trig recipe name in confirmation screen C212 = 0 ; Discrete (1 = Helium through heat sink) ; C204 = 0 ; Discrete (1 = Interlock controled by the box) ; C153 = 1 ; Discrete (1 = CTI used) ; C200 = 0 ; Discrete ;
Thanks




Reply With Quote