473,503 Members | 3,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to compare 2 files in VBDOTNET?

hi all
i want to compare two files,one is a xml file which has some certain
rules,and the other one is a "pl/sql" file.
i want to check each and every line of the "pl/sql" file which should
satisfy the rules written in xml file,if any error occurs,it should
display an error message in a new window(Or msgbox)
i want to do it with visual basic.net.
rules are in regular expression in that xml file,
i need full coding or atleast some tips..
expecting your response,
thank you,
rajesh.

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 20 '05 #1
1 1183
* sv*******@yahoo-dot-com.no-spam.invalid (rajesh) scripsit:
i want to compare two files,one is a xml file which has some certain
rules,and the other one is a "pl/sql" file.
i want to check each and every line of the "pl/sql" file which should
satisfy the rules written in xml file,if any error occurs,it should
display an error message in a new window(Or msgbox)
i want to do it with visual basic.net.
rules are in regular expression in that xml file,
i need full coding or atleast some tips..
expecting your response,


XML: 'System.Xml' namespace.
Regular Expressions: 'System.Text.RegularExpressions.Regex' class.
File/IO: 'System.IO' namespace, 'StreamReader' class.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5100
by: Nicolas Fleury | last post by:
Hi everyone, Is there a way to compare recursively two objects (compare their members recursively)? I'm only interested in equality or non-equality (no need for lower-than...). Thx and...
5
10036
by: drabee | last post by:
Please help 2 things: 1-I need c# code to compare 2 audio files .or any other .net code 2-code to receive bluetooth file from mobile and save it using .net code
10
2242
by: Ammu | last post by:
hi everybody! does anyone know how to get a gradient titlebar in vbdotnet app...? pls help. thanks in advance.
11
1343
by: Jim Madsen | last post by:
Hi all-- Two years ago I bought a copy of vbdotnet2003 and the book "Learn MS VBDotNet 2003 in 21 Days", published by Sams. I started working through the book, but lost interest. This...
6
6824
by: yinglcs | last post by:
Hi, i have 2 files which are different (1 line difference): $ diff groupresult20070226190027.xml groupresult20070226190027-2.xml 5c5 < x:22 y:516 w:740 h:120 area: --- But when I use the...
0
843
by: HardQuestion | last post by:
Hi, I like to know how to use xsd files in vbdotnet project Suppose I've an access db then how to create xsd file pls tell Thanx in advance
8
2576
by: Perl Beginner | last post by:
I am new to Perl and new to this site. I have the same question that I keep seeing, but not finding an answer…why doesn’t the compare function work? I’ve been going at this for a while. My code is...
3
1168
by: prigupta2 | last post by:
Private Sub EnlargeDrawing(ByVal DrawControl As System.Drawing.Graphics) DrawControl.Height = VB6.TwipsToPixelsY(4980) DrawControl.Width = VB6.TwipsToPixelsX(4980) Error 1 'Height' is not a member...
12
18239
by: blackirish | last post by:
Hi all, I am trying to merge 2 XML files that first of all i need to compare nodes of both files according to 2 attributes in the nodes. If those 3 attributes are equal, i need to replace the...
0
7192
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
7064
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...
1
6974
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5559
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4991
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4665
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1492
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
369
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.