473,394 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

compare between two lines from two differnt text file

36
hi every one

i have text file and it updated every day and i want to copy first line from this file and pasted in new text file to compare between the first line in both text file
what is the code can i use to do this

thank you .
May 14 '07 #1
3 1730
Dököll
2,364 Expert 2GB
hi every one

i have text file and it updated every day and i want to copy first line from this file and pasted in new text file to compare between the first line in both text file
what is the code can i use to do this

thank you .
Hiya, mse07!

How is the file updated, what language?

Does the line of text get deleted in order to update?

Do you have a working code for all to see? Might help to see what's a miss...

In a bit, and please stay tuned...

Dököll
May 14 '07 #2
Killer42
8,435 Expert 8TB
Yes, I think we need more specific info on how much you've attempted, and which part(s) is/are giving you trouble. And what version of VB you're using.
May 15 '07 #3
mse07
36
ok i use batch file and after run that it created two files:
1- log file .
2- text file contain some information .

the text file is updated every day by run the batch file

i need to ensure if this text file is updated or not .

note :

if updated the text file ,first line is changed and i want to use it to help me to ensure if text file is updated or not .
May 15 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: jyoti | last post by:
Hi there, I am trying to compare two strings and get the differenc in vbscript. Example: Str1="This is a test text" Str2="This is a fine test text but a little long" I like to compare str1...
5
by: PyPK | last post by:
I have two files file1 in format <id> <val1> <test1> <test2> 'AA' 1 T T 'AB' 1 T F file2 same as file1 <id> <val1> <test1> <test2> 'AA' 1 T T 'AB' 1 T T
5
by: Megan | last post by:
Hi everybody- I'm helping a friend with a music database. She has an old one and is creating a new one. She wants to compare records and fields in the old database with records and fields in the...
7
by: Prabhudhas Peter | last post by:
I have two object instances of a same class... and i assigned values in both object instances (or the values can be taken from databse and assigned to the members of the objects)... Now i want to...
5
by: Morten Snedker | last post by:
Hi folks, Every 14 days a production file is read into a SQL-server. Each line must be handled individually and managed by code. The last file contains approx. 610,000 lines and gains +40,000...
6
by: Justin Fancy | last post by:
Hi Everyone, I'm lookin for a very confusing loop (to me), to compare two files. Here it is. I have two arrays with paths stored in both. example: /en/aviation/you.htm. I need to search array...
1
by: anithas | last post by:
I need to write a C program to compare two files not in the same sequence. ie. Take one line from first file....compare with all lines in second file....If there is no match....put it in a third...
12
by: loial | last post by:
I have a requirement to compare 2 text files and write to a 3rd file only those lines that appear in the 2nd file but not in the 1st file. Rather than re-invent the wheel I am wondering if anyone...
2
by: =?Utf-8?B?UFM=?= | last post by:
Hi, Is there a way to compare PDF, Word Document, Excel using C# like WinDiff utility that compares text file and display the result with the modified text in both the document? -- Thanks,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.