Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI, just wanted to know how can i make use of Win Api in C#. I know we have certain function that can be used to get the system information like BIOS , OS version, OS etc.
But All this are gona make the C# developers accustomed to certain Functions an they are nt gona learn the core programming.
I am very new to C# programming recently i got a work to add a feature of Print Functionality in my application I used Print Preview Dialog and Print dialog and finished it soon... but still i dnt know, how Windows Print API should be called and how do they work and how can i make my own Controls ie I wanna create my own Print Preview Dialog. Any help?
Posted

Access to WinAPI is granted by Platform Invoke, see for instance [^], [^].
However, I'm not sure that would be the best way for customizing the Print Preview Dialog.
:)
 
Share this answer
 
rinky3011 wrote:
I am very new to C# programming recently i got a work to add a feature of Print Functionality in my application


If you're very new to C# programming, then why have you been given work to do ?
 
Share this answer
 
Comments
#realJSOP 5-May-10 7:11am    
When I was new to C#, my first task was coming up with an encryption scheme for streaming video. This is nothing, comparitivly speaking. :)
rinky3011 7-May-10 0:39am    
Thanks that was Encouraging :D

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900