|
-
Mar 9th, 2008, 03:19 PM
#1
Thread Starter
New Member
New member query
Hello there everyone. I'm a new user to VB although I am fairly conversant with QBasic (lol i know..a long time ago). I used QBasic for printer operations and have never really got to grips with importing, manipulating and outputing files.
I would like to import a file (usually opened with notepad), make adjustments, and ooutput the new file.
As a cnc programmer, I would like to renumber my program file and also manipulate numbers.
The format is as follows...(example only)
N120 G0 X:123.123 Y:123.123 A:-123.123 etc etc
To renumber, as far as I understand, I would need to import the file, find the first line (N) make it 10, then find the next line and delete the number there, and rewrite to N+10 and repeat for all lines.
Also, I would like to be able to recalculate axis positions....for exaple ...add 180 to all A axis values.
Any advice on where to start would be greatly appreciated.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|