Hello,
I am developping a VB application dealing with MSGraph graphs. I want to create a pdf document of the graph handled from inside the app.
To print the graph in .pdf format I do the following:
first: I set the pdf printer as the default printer to use;
second: I use PrintForm to transfer the graph to the printer.
Everything works fine, except the default name of the file.
When the Adobe common dialog opens to save the file, it always prompts "Microsoft Visual Basic" as the default name to be saved.
I would like to assign a custom file name from inside the application, but till now I tried with no success.
I do not know how to access to ADOB PDF default settings in order to change the file name that is prompted.
I need some help, so I am asking: is anyone so generous to give me an advice to solve my problem ?
I am developping a VB application dealing with MSGraph graphs. I want to create a pdf document of the graph handled from inside the app.
To print the graph in .pdf format I do the following:
first: I set the pdf printer as the default printer to use;
second: I use PrintForm to transfer the graph to the printer.
Everything works fine, except the default name of the file.
When the Adobe common dialog opens to save the file, it always prompts "Microsoft Visual Basic" as the default name to be saved.
I would like to assign a custom file name from inside the application, but till now I tried with no success.
I do not know how to access to ADOB PDF default settings in order to change the file name that is prompted.
I need some help, so I am asking: is anyone so generous to give me an advice to solve my problem ?