Link to home
Start Free TrialLog in
Avatar of zoidi
zoidiFlag for Luxembourg

asked on

VB.Net Word Labels

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
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Use the Printing namespace and PrintDocument class to print the labels directly from your application without using Word.
Avatar of zoidi

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zoidi

ASKER

Hi,

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

Regards,
Zoidi