M Michael Nemtsev Apr 10, 2006 #2 It's interop work with SHGetFolderPath and CSIDL_PRINTERS flag (http://www.pinvoke.net/default.aspx/shell32/SHGetFolderPath.html) P> How do you open the Printers folder from code in VB.NET? --- WBR, Michael Nemtsev :: blog: http://spaces.msn.com/laflour "At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsch
It's interop work with SHGetFolderPath and CSIDL_PRINTERS flag (http://www.pinvoke.net/default.aspx/shell32/SHGetFolderPath.html) P> How do you open the Printers folder from code in VB.NET? --- WBR, Michael Nemtsev :: blog: http://spaces.msn.com/laflour "At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsch
P Paul Apr 10, 2006 #3 Thanks Michael. I was not able to get it to work. I successfully got the Windows path using CSIDL_WINDOWS = &H24. But when I tried it using the CSIDL_PRINTERS = &H4, it returns with a -1. I noticed that Microsoft says that it is not supported: http://msdn.microsoft.com/library/d...ui40/html/cerefSHGetSpecialFolderLocation.asp
Thanks Michael. I was not able to get it to work. I successfully got the Windows path using CSIDL_WINDOWS = &H24. But when I tried it using the CSIDL_PRINTERS = &H4, it returns with a -1. I noticed that Microsoft says that it is not supported: http://msdn.microsoft.com/library/d...ui40/html/cerefSHGetSpecialFolderLocation.asp