Jump to content
Sign in to follow this  
mrmacadamia

Vista printer CLSID

Recommended Posts

mrmacadamia

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?

Share this post


Link to post
Share on other sites
mrmacadamia

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

Share this post


Link to post
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
Sign in to follow this  

×