Hello I have a requirement to print the images.For small images with the resolution (1024 X 768), print works fine. if the resolution is more. I need to either compress the image or print in multiple pages. Can you please help me how to compress an image? Best Regards Shankar
sivasankar anumula
Posts
-
How to print large images(jpeg) in C# -
Unexpected Error(32810) while compiling a VB 6.0 ProjectHi. I have an issue with VB 6.0 Binary Compatibility. I have one dll (Let's say a.dll which is in VC++) and another VB Activex Dll (Let's say b.dll) is using a.dll. b.dll is binary compatible. I have made small changes to the a.dll and i have referred to the new version of a.dll in b.dll project. Now when I try to compile I get an error "Unexpected Error (32810)". I have spent lot of time on this and unable to find out the root cause. Can anybody please explain the issue and solution for this issue. Best regards Shankar
-
How to create a calendar views in using C# win formsHello I have a requirement that I need to show the vacaation plans of the Employees in the form of Gannt Chart. For that i need to implment custom calendar which can show different kinds of views like Monthly,weekly etc. Can any body suggest good design for this in developing the user control, If any body know free custom calendar available already, kindly let me know. Best Regards Shankar
-
Issue while passing variant safearray to ADO recordsetvntFieldValue.vt =VT_VARIANT | VT_ARRAY;; SAFEARRAY* psaOut; psaOut =Segment->GetBlob(); // C# API return the byte() in the form of safearray if(psaOut != 0) { SAFEARRAYBOUND aDim[1]; aDim[0].lLbound= 0; aDim[0].cElements= psaOut->rgsabound->cElements;; vntFieldValue.parray=SafeArrayCreate(VT_VARIANT,1,aDim); SafeArrayCopyData(psaOut,vntFieldValue.parray); } pADORecset->Fields->GetItem(FLD_WBTRBSEG_SEGMENT)->PutValue(vntFieldValue); The line in bold color throws an exception. Could you please help me in passing the variant safearraay to set the value for recorset parameter.
-
How to pass Array of objects from com TO C#I have the scenario where i need make the calls to C# APIs from ATL COM Client application and i have to pass array of IUnknown* objects. How to achive this? Can any one help me? Regards Shankar
-
How to disbale outlook security warnings while sending mailsI am getting a warning message while sending mails,meeting rquests programatically. How to suppress these warnings? can you plz help me?
-
How to open a windows form window from an outlook mailIn My scenario, i will be sending an automated mails to the employess. in that mail, i will be providing a hyperlink which points to a outlook addin which inturn opens a windows form window. How can i automate the above task. like clicking on the hyperlink, i should be able to load the addin as well.. Can you help me in this regard??