I am currently working on a small app for a mass mailing for a customer. The customer would like to add an image to the message but it needs to be an inline attachment. I have looked around but have not found a way of doing so. Any help in this issue would be greatly appreciated.
P.S. BTW, this is not for spamming, it is to keep current customers informed of the company's new products.
User Profile
Collapse
-
Sending email with inline image VB.Net
-
Windows Task Manager posts false 'Not Responding' status
I built an app in VB .net express edition which distributes voice recordings of phone calls amongst certain folders based on the agent ID associated with the call. Windows taks manager changes its status to not responding a few seconds after having started yet it is actually doing its job. Any ideas? Let me know if any additional info is needed. -
SWEEEEEEEEEEEEE T!!!!
Thanks for the help. Hopefully the bruises on my head will heal soon :)... -
The original syntax is correct. I tried adding all the controls to the control collection and then removing the ones that are not textboxes but not all the non-textbox controls are removed. The two buttons are removed but only six of the nine labels are removed.
...Code:Dim contcoll As ControlCollection = Me.Controls Dim cont As Control For Each cont In contcoll If Not TypeOf cont Is TextBox Then contcoll.Remove(cont)
Leave a comment:
-
Yes, I did it by outputting the name of each control to a text file and the list was correct.
...Code:For i = 0 To (me.controls.Count - 1) File.AppendAllText("c:\testingemailallcontrols.txt", me.controls.Item(i).Name & vbCrLf) 'NextLeave a comment:
-
The controls were added directly to the fom and are not in any container....Leave a comment:
-
Trouble adding control to control collection
Im trying to add the textboxes in a form to a control collection which I will test later. For some reason my control collection ends up empty. None of the controls are added. Any help would be greatly appreciated. Code follows.
...Code:Dim contcoll As ControlCollection Dim cont As Control contcoll = New ControlCollection(Me) For Each cont In Me.Controls If TypeOf cont Is TextBox Then -
No offense taken. I'm actually just starting out in the world of VB. Any and all feedback is welcome. This actually is the entire code. The leak is actually not major. Just before checking for new posts on this thread, I decided to check the memory consumption of the process. As I was looking at it, the consumption dropped by 120K (then it went up 124K :-( ). It actually looks like it has stabilized. Im sure there's gotta be something...Leave a comment:
-
What exactly do you mean by works as intended? Based on my testing, if the process is found to be running, the value returned is an array with a length value of one (1); something along the lines of System.Diagnost ics.something (Encode). If the process is not running, the value of the length property is zero and the IF statement is not executed. I also tested by checking for running instances of notepad. The results were consistent. I guess...Leave a comment:
-
Thanks for the input. The GetProcessesByN ame method checks for the Encode process which is related to the dvr.exe application. Shell is only called if Encode is not found running....Leave a comment:
-
Memory leak?
This app is set to check for a particular process every 3 minutes. Seems there is a memory leak somewhere becuse it keeps using more memory. I would appreciate if someone would check to see how this can be fixed. This is running under WinXP Pro SP2, .net Framework 3.0, The code is below.
...Code:Imports System.Diagnostics Imports System.IO Public Class Form1 Private Sub Timer1_Tick(ByVal sender As System.Object,
No activity results to display
Show More
Leave a comment: