Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21916

Input value within line of data

$
0
0
Hi,

I have a file which contains values such as

Print #ff, "IK_" & UCase(txtAction(0).Text) & "=(Gamekey=GI_AxisLeftY,Value=1.000000)"

I only need to retrieve the text that was saved in the textbox.

For example the output of the above line would be

IK_UP=(Gamekey=GI_AxisLeftY,Value=1.000000)

I only need retrieve the value that was in the textbox.

I have tried using instr:

InStr(4, entry, "=(Gamekey=", vbTextCompare)

however, for some reason it just returns numbers rather than the data that is actually in the file.

Thanks,


Nightwalker

Viewing all articles
Browse latest Browse all 21916

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>