T
trevor.niemack
I have got some code to attach a doc to an email but I have a few
problems with it.
The first is a syntax error on the code below:
ElseIf ListBox1.Items.ToString <> ("") Then
Dim Counter As Integer
For Counter 0 To listbox1.Items.Count - 1
the 0 is underlined with a syntax error.
The other thing is that actual attachement, I have used the open
dialogue to select a file and it comes back with a unhandled exception
as below:
Could not find file 'C:\System.Windows.Forms.ListBox+ObjectCollection'.
problems with it.
The first is a syntax error on the code below:
ElseIf ListBox1.Items.ToString <> ("") Then
Dim Counter As Integer
For Counter 0 To listbox1.Items.Count - 1
the 0 is underlined with a syntax error.
The other thing is that actual attachement, I have used the open
dialogue to select a file and it comes back with a unhandled exception
as below:
Could not find file 'C:\System.Windows.Forms.ListBox+ObjectCollection'.