Advertisement

06.30.2008 at 09:01AM PDT, ID: 23527342
[x]
Attachment Details

Mailto: "To Address" From Database

Asked by Collegeguyes in Microsoft Visual Basic.Net, OE-WindowsLive

Tags: Epicor Manufactoring Solutions and Microsoft, Epicor Vista, Microsoft Outlook, OutLook 2003, VB.net or VB.net 8.0

Im Using VB.net Coding to fill in the "To Address" in Microsoft Outlook. However i must be doing something wrong cause i cant get the Address to apprear. This is the the Code that i have in place at the moment.  Anything helps or if there is a different Syntax i can use.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
Dim recKey As String = ""
 
        Dim workDataView As EpiDataView = CType(oTrans.EpiDataViews("Customer"), EpiDataView) 
 
        If (workDataView.dataView.Count > 0 and workDataView.Row >= 0) Then   
recKey = workDataView.dataView(workDataView.row)("EMailAddress").ToString()
    
  End If
 
   If (recKey.Length > 0) Then
    Process.Start("Mailto:(recKey)")
 
        End If
 
            End Sub
[+][-]06.30.2008 at 11:17PM PDT, ID: 21905280

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual Basic.Net, OE-WindowsLive
Tags: Epicor Manufactoring Solutions and Microsoft, Epicor Vista, Microsoft Outlook, OutLook 2003, VB.net or VB.net 8.0
Sign Up Now!
Solution Provided By: webtubbs
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06.30.2008 at 11:52PM PDT, ID: 21905404

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628