Email form

harley
11-01-2004, 12:30 PM
Hi there,

i am working on a vb6 project which requires multiple checkbox selections at various stages. The final form displays all of the options in an invoice format. This uses a grid (populated by SQL) and image(taken from another form). Ideally i would like to save the form as a document (word.doc etc) and email it as an attachment. is there an easier way of doing this so that i can send the form in an email or is the attachment the best method

Many thanks harley :confused:

Wamphyri
11-01-2004, 01:31 PM
The attachment is probably the easiest way. As for it being the best way that all depends on what needs to be done with it on the other side.

harley
11-06-2004, 11:11 AM
I have used the FAQ section which you posted a few days ago and it works fine.

I have got the code to load a picture onto the clipboard however do you know if it is possible to open a new Word document (using your code) and then place the contents of the clipboard (a jpeg) into the word document. At present it prints a long integer representing the picture. Once the document has been created and saved it can then be emailed to a recipient.

Any help would be greatly appreciated

Harley

Wamphyri
11-09-2004, 07:32 AM
Sure, can I see the code that you are using to add the contents of the clipboard into the word document.

My initial thoughts would be try pasting the jpg from the clipboard to the word document using the Paste method of a Range object that encompases only the area that you wish the picture to go.

Another question comes to mind, where are you originally getting the jpeg.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum