Solved

ELUA Textbox formatting?

Posted on 2006-06-16
2
244 Views
Last Modified: 2010-04-17
I'm using a simple form and textbox to display my EULA.

All is well excecpt the text formating is one large word-wrap style.

I don't want to import a text file to prevent end users from stealing the agreement and using it elsewhere.....

Q. How can I present the text in a nice readable form.

I'm currently using this code:

textBox1.Text = " END USER LICENSE AGREEMENT "+
                     // I would like a space here and other places too........//
                    " NOTICE: THIS SOFTWARE END USER LICENSE AGREEMENT ('EULA') IS A LEGAL AND BINDING AGREEMENT BETWEEN "+
                    " ME AND YOU ..............."+ BY SELECTING “I AGREE’ AND CLICKING THE.......... ";
                   
0
Comment
Question by:kvnsdr
[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
2 Comments
 
LVL 1

Expert Comment

by:kwebster7327
ID: 16923165
For VB, you can include the text in a .BAS built into your program. Just load up the string in there and you're off. When you load up the screen, stick in vbCrLf's and vbTab's to get the format right.

strEula = " END USER LICENSE AGREEMENT " & vbCrLf & vbCrLf & _
                    " NOTICE: THIS SOFTWARE END USER LICENSE AGREEMENT ('EULA') IS A LEGAL AND BINDING AGREEMENT BETWEEN " & _
...

Hint: Use a multiline label (my pref), or a disabled textbox. I believe the MS standard font is Tahoma, but don't quote me on that.
0
 
LVL 32

Accepted Solution

by:
jhance earned 250 total points
ID: 16923798
Most often these things are displayed in the RichTextBox control.  You can write and format the text using MS Word or WordPad and then save it in RTF.  Then you can just display the RTF in the RichTextBox and it will be nicely formatted.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java Loop 6 74
Do Wend Macro not working 22 56
MS Access VBA How To Properly Set Up A multipart/related HTTP Request 13 65
Java array 10 56
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

756 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