?
Solved

Drawing a table on my form

Posted on 2015-01-30
2
Medium Priority
?
139 Views
Last Modified: 2015-01-30
Experts, my application generates word documents for internal use. The data in the documents is put into a word table similar to what is shown in the picture. As you can see from my form I have given the use the ability to format certain aspects of the appearance of the tables in the document that will be produced. Currently to provide the preview I create an instance of word and actually build the table according to the user selections. Then select and copy the table and then create a bipmap from the image on the clip board. What I dont like about this is having to wait for word and the image is not a very good image. Could someone give me some examples of how I could accomplish this by drawing this table directly on the form and do away with the process I am currently using?

Thanks in advance...

Form View
0
Comment
Question by:Basicfarmer
[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 86

Accepted Solution

by:
Mike Tomlinson earned 2000 total points
ID: 40580568
Have you considered using the DataGridView?  It can be formatted to some degree.

Another option would be to use a TableLayoutPanel (with Labels in it) which can handle those rows at the top and bottom that span multiple columns.
0
 

Author Closing Comment

by:Basicfarmer
ID: 40581041
Mike, thanks for the advice. I have looked at the table layout control and that looks like the way to go.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

765 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