Hi folks,
I am using a label printing software named CodeSoft in my asp.net app thru COM Interop. Codesoft provides a function called CopyImageToFile which can be used to generate a BMP file for lable print preview effect. when i use this funtion in windows form app, it works and can generated the BMP file containing the correct label variables' values. but when i use this funtion in asp.net, i watched that it can generate the bmp file, but the label variables's values doen't show. for example, i designed a label and created one form variable named "VarPartCode", in C# code, i assign value "1245-783-TS" to it.  Calling CopyImageToFile in windows form app works with the "1245-783-TS" string correctly showed on the generated BMP file. However, Calling it from asp.net can generate BMP file but showed blank which should have shown "1245-783-TS" as windows form app did. I used processmonitor to tra ...

Go to the complete details ...