Solved

VB.Net Word Labels

Posted on 2009-07-09
4
609 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
[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
  • 2
4 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 24822587
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
ID: 24822810
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
ID: 24822868
0
 
LVL 1

Author Closing Comment

by:zoidi
ID: 31601958
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 Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

The Selection object is designed for user interaction. It has a Range property, so it can be used in most places that a Range object can. Recorded macros must use the Selection because they are simply copying what the user is doing. A Range prope…
This is written from a 'VBA for MS Word' perspective, but I am sure it applies to most other MS Office components where VBA is used.  One thing that really bugs me is slow code, ESPECIALLY when it's mine!  In programming there are so many ways to…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…

734 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