Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Visual basic homework Windows Forms.Net help! Problem 2 has two parts. We want to break apart an input string to facilitate extraction of target information.

Visual basic homework Windows Forms.Net help!

image text in transcribed

image text in transcribedimage text in transcribedimage text in transcribed

Problem 2 has two parts. We want to break apart an input string to facilitate extraction of target information. Right now we are just going to do the first part - Splitting up a string at some delimiter. If you remember we did that in the M3P8 video dealing with split. You need to clear the listbox before placing the text in it. There are two ways to use the split function. One uses a single character. One can use multiple characters as the delimiter. We are going to use both To break the input into paragraphs, use the single character for the paragraph return (vbcrlf) as the delimiter. The user enters any text in the Source Textbox, and when they hit the Extract Sentences button, place each separate paragraph in the listbox, and indicate how many items you found. To breakout hyperlinks from a webpage, use the html property you use to specify an anchor tag as the delimiter. If you recall, an html anchor tag would look something like USC. For the delimiter it is useful to use href= as the delimiter. The user enters any text in the Source Textbox, and when they hit the Extract Links button, place each items in the listbox, and indicate how many items you found. roblem z Source Text Extract Sentences Extract Links Items Found: blltemsFound 5 pts 5 pts . Tasks (100 possible) Design the form as above. Spend some time to align objects and lay thing out well. Properly Name all Objects. You only need to rename objects only if you need to reference them in the code. So you will need to rename 13 objects in this case. Add Comments at the top of each subroutine (but inside the subroutine) explaining what the subroutine does Have Object Strict On Put your name at the top of the form (Where is says Put your Name Here) Add color to the form (your choice of color) Do not have any empty stubs (you will lose 1 point for each) . 5 pts 5 pts 1 pts 4 pts . 5 pts Problem 2-Split Although not required, you might find it useful to modify the anchor of the listbox as illustrated in the demo. This is covered in video M2P7. Single Character Delimiter o Clear Listbox 1 pts o Use vbcrlf as the delimiter, and split the input string o Place each item in the listbox 5 pts Indicate how many items found String Delimiter Clear Listbox 1 pts Use href= as the delimiter, and split the input string Place each item in the listbox o Indicate how many items found 0 2 pts 0 0 5 pts 5 pts 1 pts

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions