Good day,

Can anybody help me with this question please?
I want to know how to write info back to a program line.

In other words to be able to search for a file and put it into the
xslt.Load(".....")

This is the source code to transform XML to HTML

Dim xslt As New System.Xml.Xsl.XslTransform
xslt.Load("c:\database\transform.xslt")
xslt.Transform("c:\database\database.xml", "c:\database\database.htm", Nothing)

In the xslt.Load would I like to be able to insert a file from explorer as well as in the xslt.Transform part

Thanks.

Herman Dreyer

Recommended Answers

All 2 Replies

If you want the user to input the file, use the OpenFileDialog.

OpenFileDialog1.filename

will contain the selected file.

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.