15,949,741 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Chaegie (Top 5 by date)
Chaegie
21-Mar-19 11:29am
View
below is my sample xml input. i load the said xml using xdocument
<xpre id="123"><para>the quick <bold>brown</bold> fox jump over the lazy dog. The house full of excitement. The blue car is very nice</para>
i have an object
object x;
x.ID= 123;
x.startIndex =20
x.endIndex = 24
x.Opentag = <action>
x.Closetag =
expected Output.
<xpre id="123"><para>the quick <bold>brown</bold> fox <action>jump</action> over the lazy dog. The house full of excitement. The blue car is very nice</para>
Chaegie
7-Apr-15 12:17pm
View
i need to insert an element after the closing record . please refer to my expected output
Chaegie
15-Jun-10 2:31am
View
in .net there is an option called try and catch.. so any problem within code that was written inside the try statement.. .net will fire it in catch statement telling what seems to be the problem.
so in your case.. upon writing in the usb and during writing there is a problem it will fire in catch statement.. like onerror go to.. something like that..
Chaegie
15-Jun-10 2:20am
View
here it is.. hope you can find some logic on it.
Dim arValues() As String = txtFile.Split(vbcrlf)
For i = 0 To arValues.Count -1
''do some coding here
Next
Chaegie
13-Jun-10 4:09am
View
Thanks for the reply but i need to use xml document for the reason that the rest of the code uses xml document. This is an existing application and i need to change due to some request.