Yes I can try that. But it are a lot of records I have, almost 30000. Wouldn't that be to big to use in a array?
Let me know what you think! If the performance is good for that kind of array then it's a good solution.
Thnx for the reply!
Hi GaryC132, thnx for your reply. I may have explained it wrong. I get the data directly from AS/400 into a string. I don't read the data from a file. Sorry for the bad explination.
I have one way that works.
Right now I get a certain amout of data into a string, I start cutting the string...
yes I know.
I know how it works with recordsets and database stuff. But I'm not reading from a database. I'm reading from a sort of txt file where all the data is kept on one line. The "|" is the line delimiter.
I know the URL you gave me, but that's all with recordsets and...
Hello,
this is the situation: I have a sort of text file with an unknown amount of data. This data has delimiters. ex: dkmqlsgfkjqsldfj|lqkjqslkfj|lksdjf|lkjslkfjlq|.
Now I show them on the screen like this:
dkmqlsgfkjqsldfj
lqkjqslkfj
lksdjf
lkjslkfjlq
ok for now, but I want to show the first...
Hello,
I have a file with lot's of data (sort of txt file). The data is as following:
ldfjmlkjf|lqkjqkjfq|nsbvcncb|mlksdflmq| ... what I mean, there are delimiters "|".
I made a asp script that cuts the data in parts and puts it in a xml file as following:
<client>
<dossier>...
If you work with a database, you can use something like this:
Dim cell1 as String
Private Sub DataGrid1_SelChange(Cancel As Integer)
DataGrid1.Col = 0
cell1 = DataGrid1.Columns(DataGrid1.Col).Value
search_data (cell1)
End Sub
Public Sub search_data(data As String)
rst.Open...
ok, something extra :)
When the data is being send, the date in the source directory gets deleted. Otherwise the source directory will get way too large.
ok until this point.
But I want to have a control on it. When there is an ftp error and the file has not been send, the source file can't be...
ok, I found a way that works:
With Inet1
.Cancel
.Protocol = icFTP
.URL = "ftp://hostname"
.UserName = "login"
.Password = "password"
.Execute , "PUT c:\temp\design.txt /test/design.txt"
End With
But offcourse, this is not the...
ok, I'll try that.
But isn't there any possible way for working with Inet?
Because the others aren't for free... and you know how bosses are... "make it work, ... and use the software we have!"
Frederico, I've tried your solution, but it still doesn't work. I don't get any error...
Hellow,
I need to open an ftp session in VB6 and send some files to that FTP. I already searched the site here for solutions, but those I found didn't work for me.
I use the Inet component.
I tried it as following, but nothing works.
Can somebody help me, thank you!
Private Sub...
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.