Can someone help me on How to insert Image (jpeg) into MS Word Programmatically using VB.NET..not C#.NET???
I could hardly find any articles for the coding. Preferably using Bookmark...can i have the sample code.
View Complete Post
At the beginning of another lovely day of writing courseware in mad pursuit of unrealistic deadlines, I received a frantic call from a business partner. He was at the end of a long consulting project and had several hundred MicrosoftÃÂ® Word documents, all of which required their document properties to be set identically, except the Title property of the document, which was to be based on the document file name, minus the .
MSDN Magazine March 2006
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).
I am working on a localization project, some of the localized text are in graphics, some of the example graphics paths:
My web forms use <asp:image> controls and <img> tags (runat = sever) to point to graphics in /en/images. I need to a function to loop through all image control and point them to different paths based on the locale set at runt time. Which event should I override and how do I write it?
All my web pages inherit from a base page, I don't know if that makes differences.
I need your help!
I have a list of image names stored in a database, along with the id of the property they are associated with. I'd like to be able to display all of the images in a gridview and then allow the user to select the required image.
The problem I'm having is that the gridview is not displaying. I'm pretty sure it's something basic that I've missed, but can't for the life of me see what it is!
Any help would be greatly appreciated!
My gridview code in my aspx page:
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
My code behind (propId is the property id):
query = "SELECT id, filepath "
+ "FROM images "
+ "WHERE id = ?id";
MySql.Data.MySqlClient.MySqlCommand command = new MySql.Data.MySqlClient.MySqlCommand();
command.CommandText = query;
command.Connection = MyConn;
MySql.Data.MySqlClient.MySqlDataAdapter da = new MySql.Data.MySqlClient.MySqlDataAdapter();
da.SelectCommand = command;
DataSet ds = new DataSe
Dear Experts and Forum Users,
I am stuck with renaming an image file type before it is actually saved to picture library. I am achieving this using a custom web part with file upload and a simple button control.
Please look at the code below (I have added comments so that it is easy for you to understand excactly what I am doing)
If FileUpload.HasFile Then
' Get extension of existing file
Dim ext as String = Path.GetExtension(FileUpload.PostedFile.FileName)
' Assign New Name - 'Test'
FileUpload.SaveAs(how to declare this path + "Test" + ext)
' Upload the Image to Picture Library
' Finally Update the Picture Library
Problems with this code
Firstly, it is not working because fileupload control method saveAs() and fileupload control method postedFile.saveAs() both require a rooted path in this case C:\inetput\images and not http:\\url\ some url pointing to picture library - how do I actually rename the file and also save it to the picture library ?
Please can you suggest a workaround for this.