Jump to content

Vista printer CLSID


 Share

Recommended Posts

Currently i use

Func _access_PRINTER()
    ShellExecute("file:///::{2227A280-3AEA-1069-A2DE-08002B30309D}", "", @TempDir, "", @SW_MAXIMIZE)
EndFunc   ;==>_access_PRINTER

to access my printer in Windows XP.

I tried in Vista but it gives me an error that i couldn't launch it eventhough the CLSID is the same.

Any suggestion?

Link to comment
Share on other sites

Currently i use

Func _access_PRINTER()
    ShellExecute("file:///::{2227A280-3AEA-1069-A2DE-08002B30309D}", "", @TempDir, "", @SW_MAXIMIZE)
EndFunc   ;==>_access_PRINTER

to access my printer in Windows XP.

I tried in Vista but it gives me an error that i couldn't launch it eventhough the CLSID is the same.

Any suggestion?

ah well, i think i found the solution.

i used

Func _access_PRINTER()
    ShellExecute("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{2227A280-3AEA-1069-A2DE-08002B30309D}")
EndFunc

thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...