[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

adding html textbox to Windows Form

Posted on 2008-02-07
7
Medium Priority
?
587 Views
Last Modified: 2012-06-22
I use a Windows Form to add items to my online store. I have to manually add the <tags> to the item description so that I can change font, color, etc...

Is there a control I can add to my Windows Form so that this is easier? Perhaps there's a textbox control similar to the control many webpages use where you can preview how the text will look like.

I can easily modify the code and create a webform if there isn't a control for Windows (but there is for web).

Thanks,
Myers

VS2005
0
Comment
Question by:MyersA
  • 3
  • 3
7 Comments
 
LVL 7

Expert Comment

by:badbearontour
ID: 20842270
You can import a internet explorer panel into the windows app and preview your code through it no problem.

Add a webbrowser object to your form and add

webBrowser1.DocumentText = myFormattedHTML;

BB
0
 
LVL 71

Accepted Solution

by:
Éric Moreau earned 260 total points
ID: 20842781
0
 
LVL 2

Author Comment

by:MyersA
ID: 20845524
Thanks for the posts.

badbearontour: I actually wanted to eliminate the need to add the tags.

emoreau: XStandard seems like a good tool for this. Does the "XStandard Lite" version let you change font color?
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
LVL 71

Expert Comment

by:Éric Moreau
ID: 20846658
yes
0
 
LVL 2

Author Comment

by:MyersA
ID: 20847990
Great.

How can it be done?

Thanks.
0
 
LVL 71

Expert Comment

by:Éric Moreau
ID: 20849113
I thought I have already saw the font color tag in it but it was in another editor that needs to be hosted on a web page.
0
 
LVL 2

Author Closing Comment

by:MyersA
ID: 31428893
Thanks.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …

612 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