CodeNinja
07-26-2012, 07:30 AM
Hi Guys,
I am very close to figuring out every piece of my project at work. I have one bit of syntax I am unfamiliar with left and would love some help.
My project opens a series of pdf files via web browser (in my case tab #2 will open this pdf file, but I can control that if need be...). The part I am struggling with is saving the pdf file in a location I designate.
The method I believe I need to use is ie.OLECMDID_SAVE or SAVEAS. If I use dodefault, saveas will prompt me where to save with a dialog box. I do not want this prompt, so I can use dontpromptuser. The problem I have is as follows:
1- How do I tell the method to save in location C://Dir1/Dir2 (or whatever path I choose)?
2- How do I tell the method to save tab 2, not tab 1?
Do i use the optional variant pvain or pvaout somehow? If so what would that syntax look like?
Great thanks to those more experienced and wiser than me...
Josh / CodeNinja.
I am very close to figuring out every piece of my project at work. I have one bit of syntax I am unfamiliar with left and would love some help.
My project opens a series of pdf files via web browser (in my case tab #2 will open this pdf file, but I can control that if need be...). The part I am struggling with is saving the pdf file in a location I designate.
The method I believe I need to use is ie.OLECMDID_SAVE or SAVEAS. If I use dodefault, saveas will prompt me where to save with a dialog box. I do not want this prompt, so I can use dontpromptuser. The problem I have is as follows:
1- How do I tell the method to save in location C://Dir1/Dir2 (or whatever path I choose)?
2- How do I tell the method to save tab 2, not tab 1?
Do i use the optional variant pvain or pvaout somehow? If so what would that syntax look like?
Great thanks to those more experienced and wiser than me...
Josh / CodeNinja.