View Complete Post
hey guy, i need help in a very troubling matter. I want to make a textbox with a specific style, within this style a set of images as background parts, how can i attach these images to the custom control as whenever i take the .dll file and add it to the toolbar the images do not appear. So i tried to make them as resource files and their property as embedded in .resx file, so how to make the css style background image url to be linked to any of those image.
thanks in advance
When I change the file ending to something different (like studentid_temp1.jpg) the new cropped image saves without a problem because it does not have to overwrite the original.
I have set the permissions on the folder to allow read/write functionality.
Any ideas to easily accomplish this overwrite? I thought overwrite was kind of the default when a file came across with the same name, or is it because I still have the image open from the display (how would I fix that, if that's
I'm using the file upload to let the user upload a single file. Here's the code I'm using to then upload to the DB. How do I reverse this process and dowload the image into the control for it to display on a different page?
Here's my code for the upload - which I think works but can't confirm until I can see the download since all I see in the DB is "binary data"
'update DB with new Image
If FileUpload1.HasFile AndAlso FileUpload1.PostedFile.ContentLength > 0 Then
'Read the file in to a byte Array.
Dim filebyte As Byte() = FileUpload1.FileBytes
Dim fileBinary As New System.Data.Linq.Binary(filebyte)
Dim c3 = (From c In dc.ProductImages _
Where c.userID = userGuid _
c3.productImage = fileBinary
Catch ex As Exception
Here's my attempt at the retrieval, which isn't working:
Dim currentImage = F
I have an InfoPath web-enabled form in MOSS 2007, that is integrated with a K2 blackpoint process for an approval workflow.
Once the form (a Purchase Order request form) has been approved in the K2 workflow process, I switch the form view to a "print-friendly" view for the requestor to view from the browser. However, now I need to go one step further with this scenario:
1) I need to somehow insert/embed an image with the scanned-in signature of the approver (likely stored in a SP doc library) at the signature line section of my form. Also, what are the security requirements for storing such images, but not granting
all users access to these (e.g. only services accounts that need to access this for embedding into the form, etc.)?
2) Then I need to convert this final "print-friendly" view of the form (with the signature image) to a PDF document so that I can store it in SharePoint (and email it to the requestor using K2's email event capabilities).
Can anyone help me with a solution to both of these requirement, or point me to some resources for this (even 3rd party components are open-game).