Hi there,

I have a form with two buttons and a treeview

button1 opens an XML file which then displays it in the treeview
button2 should display a print preview of the XML file or what is in the treeview

how to get the preview of my openfiledialog1.filename to show in my print preview?

any help would be appreciated
thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.