Solved

VB.Net Word Labels

Posted on 2009-07-09
4
605 Views
Last Modified: 2012-05-07
Hi Experts,

I have a question about VB.Net and Word Automation. Can you tell how I could create a Word document with customized labels in the document. I need a document with Labels of 105mm x 42.3mm. And then I need to fill these Labels with data from a table. When possible, I would like to do that without Crystal Reports. Any idea how I could do that?

Thank you in advance,
Zoidi
0
Comment
Question by:zoidi
  • 2
  • 2
4 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
Comment Utility
Use the Printing namespace and PrintDocument class to print the labels directly from your application without using Word.
0
 
LVL 1

Author Comment

by:zoidi
Comment Utility
Hi,

Thank you for your answer. Could you please tell me exactly how I could do that? How can I define where I can place the text I would like to print? I would really appreciate your help.

Thank you,
Zoidi
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
Comment Utility
0
 
LVL 1

Author Closing Comment

by:zoidi
Comment Utility
Hi,

Thank you, I think this is exactly what I need. It seems to be very easy. Thank you again.

Regards,
Zoidi
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

It is often necessary in this forum and others to illustrate Word fields as text with the field delimiters replaced with the curly brackets that the delimiters resemble when field codes are being displayed on the document. This means that the text c…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now