Hi freinds i have a docx file where in it works like a form where in the textform fields in it are filled with the database values on a button click. In the same form i have siganture field.
I have stored the signature of various customers as jpeg images with the file names like this James Doe.Jpg etc.
Now i want to compare the CustomerName(James Doe) field with the signature image file and get the corresponding signature image(James Doe) on the Word doc .
Since this is an MSWord issue and not an ASP.NET issue I cant really help ya much (never tried) but I would assume the same way you are filling your document with data from the DB you should be able to fill the image details.
(P.S. I'm moving this thread to where it's more appropriate).
Have you read the book? - ASP.Net 3.5 CMS Development (now on Kindle)
v5.1 of iTracker (Inventory Tracker Starter Kit) is out, Download it now!
akpaga22
Member
181 Points
252 Posts
Getting a image on MS word?
Feb 25, 2013 07:49 PM|LINK
Hi freinds i have a docx file where in it works like a form where in the textform fields in it are filled with the database values on a button click. In the same form i have siganture field.
I have stored the signature of various customers as jpeg images with the file names like this James Doe.Jpg etc.
Now i want to compare the CustomerName(James Doe) field with the signature image file and get the corresponding signature image(James Doe) on the Word doc .
How can i achieve it..Thank you in advance
Curt_C
All-Star
66014 Points
7639 Posts
Moderator
Re: Getting a image on MS word?
Feb 25, 2013 07:55 PM|LINK
...and you are trying to do this in a Web Application?
Store the ImageName for the individuals in the DB (or name the image with the username) and then load it from your initial call to get the data.
v5.1 of iTracker (Inventory Tracker Starter Kit) is out, Download it now!
akpaga22
Member
181 Points
252 Posts
Re: Getting a image on MS word?
Feb 25, 2013 07:58 PM|LINK
"name the image with the username"..Thats how i an naming the iamges Curt..But how do you read the image and put it on MS word Doc..
Thank you for your response
Curt_C
All-Star
66014 Points
7639 Posts
Moderator
Re: Getting a image on MS word?
Feb 25, 2013 08:03 PM|LINK
Since this is an MSWord issue and not an ASP.NET issue I cant really help ya much (never tried) but I would assume the same way you are filling your document with data from the DB you should be able to fill the image details.
(P.S. I'm moving this thread to where it's more appropriate).
v5.1 of iTracker (Inventory Tracker Starter Kit) is out, Download it now!