PBuck
asked on
BROWSE_FOR_PRINTER
I have all the code necessary to browse for folders using the SHBrowseForFolder API call. Works great!
All I have currently is:
Public Const BIF_RETURNONLYFSDIRS = &H1
I would like to have these too:
Public Const BIF_BROWSEFORCOMPUTER = ???
Public Const BIF_BROWSEFORPRINTER = ???
Shouldn't this information be found within API Viewer? Anyways, does anyone have the hex codes to fill in my constants please?
All I have currently is:
Public Const BIF_RETURNONLYFSDIRS = &H1
I would like to have these too:
Public Const BIF_BROWSEFORCOMPUTER = ???
Public Const BIF_BROWSEFORPRINTER = ???
Shouldn't this information be found within API Viewer? Anyways, does anyone have the hex codes to fill in my constants please?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I hate to keep bugging you, but what I thought I had I didn't. I have all the code present to browse for folders, I was thinking (or hoping) that all I had to do was replace the
Public Const BIF_RETURNONLYFSDIRS = &H1
with
Public Const BIF_BROWSEFORPRINTER = &H2000
But, this did not work as planned. Could you send some code that performs a Browse for printer.
Public Const BIF_RETURNONLYFSDIRS = &H1
with
Public Const BIF_BROWSEFORPRINTER = &H2000
But, this did not work as planned. Could you send some code that performs a Browse for printer.
ASKER
I have Visual Studio 6.0, is there a viewer (such as API Viewer within VB) for this header file? Or is my only option is to load VC ++ to view this code?