MiggyD,<br>Thanks for the input but when I received notice of these posts I had already written and deployed the program. The only reference I had to it was the test version on my personal computer at home, so to answer edfair's question I pasted what I had. The only visual output I needed was...
No problem your explanation was maybe a little more detailed. I should note also that this version of the program printed to the debug window and not to the file. And your right it was written in VB6.
The only extranous code is the declaration of i which was left over from a previous print loop attempt. Line input reads one line at a time- I probably could have gotten away with input. The mid$(Inputfile,5,6)gives me the six characters in the string starting from the the fifth position
Here is what I wound up with that works,i.e., it gives me the desired output of: 1234,123456,,, written to a text file.<br><br>Private Sub cmdConvert_Click()<br>Dim Inputfile As String<br>Dim OutPutfile As String<br>Dim F1 As Integer<br>Dim F2 As Integer<br>Dim i As Variant<br>Dim j As...
You didn't say what version of netware but if it's using queue based printing I assume it less than five. My suggestion would be to delete and re-create the queue. It's not that difficult and I've found in novell that sometimes deleting and re-creating objects is much quicker than trying to...
Thanks Clayton I was pretty close when I was attempting to do this using arrays-- I was using static indices for reDim instead of using Ubound() and was running out of array range. Can I take this opportunity to ask another question?(ask a lot of questions,huh?)Is their a way without creating a...
Actually I did get it to work using a variation of your code. When I staticly defined the the code handles it didn't give me the file open error. I have since found that if you define multiple file handles as: f1=freefile,f2=f1+1 it will give you the next two free files. What was happening was...
how do i populate a two dimensional array when using the left() and mid() functions to filter the data. In other words: if I have rows of data in a text file like 1001123456654321 and i want do something like left$(textfile,4) and mid(textfile,5,6)what is the syntax...
FYI the rountine you suggested didn't work. For one as written it gives me the error that the outputfile is already open and when I close before the open statement it doesn't do the loop.
Thanks this looks like it might work. I was trying to make it too dificult I think. I was trying to use a dynamic multi-dimensional array, and was having trouble inputing the two strings using left and mid functins in the subscript assignment. Just for s&g's what is the correct way to assign...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.