?
Solved

Text Manipulation

Posted on 1999-01-19
8
Medium Priority
?
170 Views
Last Modified: 2010-05-03
A cloze test is: given a text with some words blanked out,
fill in the blanks.For any given text and number N, I want
to implement a fill-in-the-blanks test, where every Nth  
word is a blank.  The user would then type in a word he  
thinks may be the answer (for each and every blank), and  
the program will tell him whether he is right or not, and
may even provide hints such as the first letter if he
inputs the wrong word more than once.
How do I create this in VB?

0
Comment
Question by:rockettt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 12

Expert Comment

by:mark2150
ID: 1469416
Set up a form with a multiline text box and a text box control array. Load the text box with the phrase that you're going to use, replace every Nth word with "_"'s to show where the word goes. As each word is located, create another text box in the array. Save your words in an array. After the form is complete, let the operator select each box. Put code in the text(index)_Change event and watch for <Enter>. Index value points to your word array as well as to which box operator is in.

For 50 points, that's all you're going to get from me! (grin)

0
 

Author Comment

by:rockettt
ID: 1469417
I'm only a beginner in VB 6.0 Profesional edition(!!), so i need more information...thanks though.

0
 
LVL 12

Expert Comment

by:mark2150
ID: 1469418
For 50 points you're not going to get runnable code! (grin)

What didn't you understand?

M

0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:rockettt
ID: 1469419
how do i get more points, and how many do you want for runnable code?
:P
0
 
LVL 12

Accepted Solution

by:
mark2150 earned 150 total points
ID: 1469420
What is this, a school assignment? The above instructions are enough to get you started in the right direction. You start roughing out the above and you'll have a good start. *THEN* if you have difficulty I'm willing to help. *BUT* if you want *ME* to do all the work, well my rate on my web page is $50/hr. (Not meaning to sound snotty, but that's how it is.)

M

0
 

Author Comment

by:rockettt
ID: 1469421
Sorry.  It's a final year thesis, so i'm getting a  bit panicky!
never mind, thanks for the help, i'll give it a go.
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1469422
I thought it smelled like a homework assignment! (grin)

Seriously, take a swipe at it and *then* give us a shout.

Visit my web page: www.cyberchute.com/rvbus/madmark
be sure to sign the guestbook.

Write me direct at: mark_lambert@ntsc.navy.mil

M



0
 

Author Comment

by:rockettt
ID: 1469423
Thanks Mark.
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question