Intercept Print to File dialog box from VB and complete it 2

Category:
C#, VB.NET, ASP.NET
Type:
Snippets
Difficulty:
Intermediate

Author: Anonymous

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
Hi, I was looking that in many forums people were trying to Intercept Print to File dialog box using a code from Doug Hill but it didnt work 100%. The code is fine but if you have some problems you can use this one. regards from Panama Si han tenido problemas tratando de automatizar la colocacion del Path en la ventana de print to file. Puede utilizar el sigguiente cdigo. El cual busca el id de la ventana y luego el id del objeto "edit" en el cual podran asignar el nombre del file que quiran. Saludos desde Panam

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: