Jun 10, 2017 03:22 PM
(This post was last modified: Jun 11, 2017 05:55 AM by George Bin Laden.)
The problem is solved thank you very much :)
|
.NET
Sending multiple screenshots to email [VB.NET] |
|
Jun 10, 2017 03:22 PM
(This post was last modified: Jun 11, 2017 05:55 AM by George Bin Laden.)
The problem is solved thank you very much :)
(Jun 10, 2017 03:36 PM)Owl Wrote: The mail attachment is a collection, you can call the add method multiple times. I also confirm with Okra, here is the MSDN for reference. msdn.microsoft.com/en-us/library/system.net.mail.attachment(v=vs.110).aspx
Jun 11, 2017 02:31 AM
(This post was last modified: Jun 11, 2017 03:00 AM by George Bin Laden.)
So do I create more picture boxes and add the same command in them?
The problem is they are all under the same timer (that sends the mail) that runs every 1 minute. Looping how I add the attachment would just give me more identical screenshots as they are all being executed under the same timer. What should I do?
Jun 11, 2017 04:03 AM
(This post was last modified: Jun 11, 2017 05:27 AM by George Bin Laden.)
I managed to solve it, took a bit of time but got there in the end :D Thanks.
I was going to suggest using system hooks instead of screenshots every x seconds. taking screenshots and pushing them through the network so fast will eventually be an issue (for several reasons).
check out the MSDN for hooks, msdn.microsoft.com/en-us/library/windows/desktop/ms632589(v=vs.85).aspx (Jun 11, 2017 04:03 AM)George Bin Laden Wrote: I managed to solve it, took a bit of time but got there in the end :D Thanks. You should say at least thank you and DON'T take credit for it. (Jun 12, 2017 01:01 PM)n0$f3ratu$ Wrote: You should say at least thank you and DON'T take credit for it. Are you alright in the head or something? I clearly said thanks???? |
|
|
| Possibly Related Threads... | |||
| Thread / Author | Replies | Views | Last Post |
| [C#] by john ronaldsadJul 20, 2022 06:49 PM | 4 | 237 |
Jul 20, 2022 06:49 PM Last Post: john ronaldsad |
| [C#] by icemanonadderallMay 19, 2018 10:27 AM | 9 | 423 |
May 19, 2018 10:27 AM Last Post: Dalvik |
| [.NET] by anthoo12Feb 2, 2018 11:46 PM | 16 | 2,064 |
Feb 2, 2018 11:46 PM Last Post: v.e.n.o.m |