Click here to Skip to main content
15,901,666 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

I am having one VB6 program for printing.
please tell me how to use that in c#.

Thank you
Posted

1 solution

Instead of using obsolete VB6 code for printing, why don't you implement it directly using C#? there are many tutorials available[^].
If you don't want to follow the suggested approach then, in order to call it from C#, you need to convert your VB6 application into a COM component (or, at least, into DLL).
 
Share this answer
 
Comments
Black_Rose 24-Sep-14 0:44am    
I tried using c# but i was facing some alignment issues.that's why i did using this approach.
please tell me how to convert it to COM or dll..??
Black_Rose 24-Sep-14 0:51am    
This is what i faced problem in c#

http://www.codeproject.com/Questions/820271/Need-help-in-formatting-the-data?arn=0

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