I have a code
objImpRep.PublishXML "c:\temp\abc.xml" (where objImpRep is an object and publishxml is used to generate xml in the given path)
i have hardcoded the path and want a saveas dialogbox here. how do i include here. what is commondialogbox and how do i include that here.
The question is a little confusing. Are you using Visual Basic? What version?
Are you saying that you want to use a "Save As..." dialogue instead of using a hard-coded path? If so, check out the
Microsoft Common Dialog Control". You just add this to your project, and follow the instructions in the documentation.