|
-
Aug 12th, 2012, 04:31 PM
#3
Re: Need some help with gathering form data via screenshot...
Will this work for my application (VB 6.5 using Microsoft Office) ?
dd you try it? why not? i assume this code is in access application? what version of access?
i doubt it will work for you
you can use a method from microsoft to copy the form window into the clipboard then save as file, but i would have thought it would have been more efficient to parse the content of the form to a string and include in the email body
as the body can contain html, it could be as text or formatted html table, it depends what the receiver of the email is required to do with the infomation, as some sort of text, it can directly inserted into a database or whatever, as an image it is only suitable for human consumption
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|