Hi ,
The above code is working gr8 in development machine.Once i deploy it in the server its giving 'Handle Invalid' error.
Any suggestion
User Profile
Collapse
-
CopyFromScrenn - The handle invalid error
Hi All,
I am using the below code to take print screen of my web page.
> using (Bitmap bitmap = new Bitmap(620, 850))
{
using (Graphics g = Graphics.FromIm age(bitmap))
{
g.CopyFromScree n(new Point(bounds.Le ft, bounds.Top), Point.Empty, bounds.Size);
}
bitmap.Save(Sys tem.AppDomain.C urrentDomain.Ba seDirectory.ToS tring()... -
Thanks 4 the suggestion.
I did like below
...Code:Public Shared Function CheckValue(ByVal InString As String,ByVal input as String) As Char Dim output As String = String.Empty Dim Parts() As String = InString.ToString().Split(",") For i As Integer = 0 To Parts.Length - 1 If Parts(i) = input Then output = Chr(0120) Exit ForLast edited by Frinavale; Dec 6 '10, 02:57 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.Leave a comment:
-
How to compare against column with multiple values seperated by comma?
Hi All,
I am using rdlc report, i have a column in database which i want to display in the report.
vehicleDamageAr ea=1,2,3
In the report i need to mark the placeholders with these values .
=iif((Fields!ve hicleDamageArea .Value="3"),Chr (253),Chr(168)) like this.
But as we know,it will check the whole value 1,2,3="3" not the spilted values.
Any suggestion to check by spilting... -
Nilla2010 started a topic How to circle a textbox or box in crystal report based on formula field value?in .NETHow to circle a textbox or box in crystal report based on formula field value?
HI ,
I am having Y [yes] and N [No] in PDF and i need to circle anyone based on the boolean value in Crystal report.Any suggestions pls...... -
How to generate PDF dynamically from Database content
Hi folks, I am generating a PDF file which is 5 pages and all the data are coming from Sqlserver. The PDF contains lot of images,watermar k and the number sections has to controled dynamically based on database data. What is the best way to generate PDF.i am debating with Crystal report,MSRS[sometimes it requires Activex installation,wh ich is done only by Admin],Itextsharp ,telerik ??? Any suggestion would help me.Please see my PDF template
... -
How to save the contents(images) on a panel as an image using asp.net/C#?
Hi,
How to save the drawing (contents) on a panel as an image using C# and asp.net.I found Panel1.DrawToBi tmap but its not working in the asp.net ,is there any assembly i am missing or the function is altogether different ?
Thanks -
How to rotate image on Mouse event?
Hi,
I would like to rotate image on mouse event.If i move the image left side by mouse it should rotate on left side and vice versa.
Thanks in advance -
Frinny,
Now i moved to Jquery and able to acheive the required functionalities excep resize and rotateLeave a comment:
-
Generating a diagram in asp.net
I am working on a tool to construct a diagram in asp.net .The user is allowed to select the images from panel [generated dynamically based on user input in dropdown box] and its copy should be created on the diagram area, it should be draggable and should over lay with each other .
So far I am able to create the diagram objects dynamically and on click on each object its copy will be created on the diagram area [I am passing the instance... -
Retain position of a DragPanel Extender
HI,
How to retain the position of dynamically created DragPanel Extender after postback ?.In addition i am having multiple panels dragged into the common area to draw a picture. So i have to retain the position of multiple controls.I do have code for retaining position in Javascript for server controls.
...Code:function pageLoad() { // call the savePanelPosition when the panel is moved $find('DragP1').add_move(savePanelPosition);Last edited by Frinavale; Sep 20 '10, 01:54 PM. Reason: Fixed the code tags. The end code tags is not [End Code]...it is [/code] -
Frinny ,
Thanks for your reply.Hiddenfil ed didn't worked for and i used session variable and able to create in page_init.
Thanks again.Leave a comment:
-
Dynamic Controls in asp.net
I am having some issues in dynamically created controls. My scenario is when the user selects a dropdown values, it should dynamically create image buttons, where URL is from database. Then when the user click’s any one of the image, it should create the same image in the placeholder. The problem is when I give the on click event in the code behind its not working and I know it has to be initialized in Page init, but since the creation is based...Last edited by Frinavale; Sep 16 '10, 03:55 PM. Reason: In the future, please post code in [code] ... [/code] tags. Added code tags. -
Hi All,
I working on same scenario mentioned in the thread suject, need to click the image in the panel and create the same in a container which should be movable.Can you please post the full code for me to check and use in my apps.
Thanks in advanceLeave a comment:
No activity results to display
Show More
Leave a comment: