This is a code-snippet from a VB.NET print module
Dim dialog As Object = CreateObject("WIA.CommonDialog")
I've tried this in C# as follows:
Type t = Type.GetTypeFromProgID("WIA.CommonDialog");
But then I cannot access dialog.ShowPhotoPrintingWizard();
I've referenced the waauit.dll now and add using WIA at top.
But still I want to get the other way(without referencing WIA).