CRM SDK Examples??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Phil Adams

    #1

    CRM SDK Examples??

    Hi Peeps,
    I am trying to do some custom programming for CRM, but alas i am only a
    classic asp programmer.
    Can someone help me by translating this into asp.net in VB instead of C#, i
    can then get on as i think i am okay with the rest only not too clever with
    imports etc.
    This is in the CRM SDK under CRMIncident.Ope n Method.

    Thanks In Advance
    [C#]
    // server should be set with the name of the platform Web server
    string server = "myserverna me";

    // virtualDirector y should be set with the name of the Microsoft CRM
    // Virtual Directory on the platform Web server
    string virtualDirector y = "mscrmservices" ;
    string strDir = "http://" + server + "/" + virtualDirector y + "/";

    // BizUser proxy object
    Microsoft.CRM.P roxy.BizUser bizUser = new Microsoft.CRM.P roxy.BizUser ();
    bizUser.Credent ials = System.Net.Cred entialCache.Def aultCredentials ;
    bizUser.Url = strDir + "BizUser.sr f";

    // CRMIncident proxy object
    Microsoft.CRM.P roxy.CRMInciden t incident = new
    Microsoft.CRM.P roxy.CRMInciden t();
    incident.Creden tials = System.Net.Cred entialCache.Def aultCredentials ;
    incident.Url = strDir + "CRMIncident.sr f";

    // CRMAccount proxy object
    Microsoft.CRM.P roxy.CRMAccount account = new Microsoft.CRM.P roxy.CRMAccount
    ();
    account.Credent ials = System.Net.Cred entialCache.Def aultCredentials ;
    account.Url = strDir + "CRMAccount.srf ";

    string strErrorMsg;
    try
    {
    Microsoft.CRM.P roxy.CUserAuth userAuth = bizUser.WhoAmI( );

    // Set up the XML for a new account
    // The required fields are name and ownerid
    string strAccountXml = "<account>" ;
    strAccountXml += "<name>Acco unt Number 2</name>";
    strAccountXml += "<accountnumber >A01923</accountnumber>" ;
    strAccountXml += "<websiteurl>ww w.account1.com</websiteurl>";
    strAccountXml += "<ownerid type=\"" +
    Microsoft.CRM.F lags.ObjectType .otSystemUser.T oString() +"\">";
    strAccountXml += userAuth.UserId + "</ownerid>";
    strAccountXml += "</account>";

    string strAccountId = account.Create( userAuth, strAccountXml);

    // Set up the XML for a new incident
    string strIncidentXml = "<incident> ";
    strIncidentXml += "<title>inciden t 1</title>";
    strIncidentXml += "<accountid >" + strAccountId +"</accountid>";
    strIncidentXml += "<ownerid type=\"" +
    Microsoft.CRM.F lags.ObjectType .otSystemUser.T oString() +"\">";
    strIncidentXml += userAuth.UserId + "</ownerid>";
    strIncidentXml += "</incident>";

    // Create an incident
    string strIncidentId = incident.Create (userAuth, strIncidentXml) ;

    // Now open the incident
    incident.Open(u serAuth, strIncidentId, -1);

    }
    catch (System.Web.Ser vices.Protocols .SoapException err)
    {
    // Process the platform error here
    strErrorMsg = ("ErrorMessa ge: " + err.Message + " " + err.Detail.Oute rXml
    + " Source: " + err.Source );
    }
    catch (Exception err)
    {
    // Process other errors here
    strErrorMsg = ("ErrorMessa ge: " + err.Message );
    }



  • MS News \(MS ILM\)

    #2
    Re: CRM SDK Examples??

    Few pointers

    1) Remove all ; ';'

    2) Change + to &

    3) when declaring a variable
    C#: string virtualDirector y = "mscrmservices" ;
    VB.NET: Dim virtualDirector y as String = "mscrmservi ces"

    4) C#: strAccountXml += "<name>Acco unt Number 2</name>";
    this means strAccountXml = strAccountXml +
    "<name>Acco unt Number 2</name>"

    "Phil Adams" <padams@atcommu nications.co.uk > wrote in message
    news:%234X7PPna DHA.1748@TK2MSF TNGP12.phx.gbl. ..[color=blue]
    > Hi Peeps,
    > I am trying to do some custom programming for CRM, but alas i am only[/color]
    a[color=blue]
    > classic asp programmer.
    > Can someone help me by translating this into asp.net in VB instead of C#,[/color]
    i[color=blue]
    > can then get on as i think i am okay with the rest only not too clever[/color]
    with[color=blue]
    > imports etc.
    > This is in the CRM SDK under CRMIncident.Ope n Method.
    >
    > Thanks In Advance
    > [C#]
    > // server should be set with the name of the platform Web server
    > string server = "myserverna me";
    >
    > // virtualDirector y should be set with the name of the Microsoft CRM
    > // Virtual Directory on the platform Web server
    > string virtualDirector y = "mscrmservices" ;
    > string strDir = "http://" + server + "/" + virtualDirector y + "/";
    >
    > // BizUser proxy object
    > Microsoft.CRM.P roxy.BizUser bizUser = new Microsoft.CRM.P roxy.BizUser ();
    > bizUser.Credent ials = System.Net.Cred entialCache.Def aultCredentials ;
    > bizUser.Url = strDir + "BizUser.sr f";
    >
    > // CRMIncident proxy object
    > Microsoft.CRM.P roxy.CRMInciden t incident = new
    > Microsoft.CRM.P roxy.CRMInciden t();
    > incident.Creden tials = System.Net.Cred entialCache.Def aultCredentials ;
    > incident.Url = strDir + "CRMIncident.sr f";
    >
    > // CRMAccount proxy object
    > Microsoft.CRM.P roxy.CRMAccount account = new[/color]
    Microsoft.CRM.P roxy.CRMAccount[color=blue]
    > ();
    > account.Credent ials = System.Net.Cred entialCache.Def aultCredentials ;
    > account.Url = strDir + "CRMAccount.srf ";
    >
    > string strErrorMsg;
    > try
    > {
    > Microsoft.CRM.P roxy.CUserAuth userAuth = bizUser.WhoAmI( );
    >
    > // Set up the XML for a new account
    > // The required fields are name and ownerid
    > string strAccountXml = "<account>" ;
    > strAccountXml += "<name>Acco unt Number 2</name>";
    > strAccountXml += "<accountnumber >A01923</accountnumber>" ;
    > strAccountXml += "<websiteurl>ww w.account1.com</websiteurl>";
    > strAccountXml += "<ownerid type=\"" +
    > Microsoft.CRM.F lags.ObjectType .otSystemUser.T oString() +"\">";
    > strAccountXml += userAuth.UserId + "</ownerid>";
    > strAccountXml += "</account>";
    >
    > string strAccountId = account.Create( userAuth, strAccountXml);
    >
    > // Set up the XML for a new incident
    > string strIncidentXml = "<incident> ";
    > strIncidentXml += "<title>inciden t 1</title>";
    > strIncidentXml += "<accountid >" + strAccountId +"</accountid>";
    > strIncidentXml += "<ownerid type=\"" +
    > Microsoft.CRM.F lags.ObjectType .otSystemUser.T oString() +"\">";
    > strIncidentXml += userAuth.UserId + "</ownerid>";
    > strIncidentXml += "</incident>";
    >
    > // Create an incident
    > string strIncidentId = incident.Create (userAuth, strIncidentXml) ;
    >
    > // Now open the incident
    > incident.Open(u serAuth, strIncidentId, -1);
    >
    > }
    > catch (System.Web.Ser vices.Protocols .SoapException err)
    > {
    > // Process the platform error here
    > strErrorMsg = ("ErrorMessa ge: " + err.Message + " " +[/color]
    err.Detail.Oute rXml[color=blue]
    > + " Source: " + err.Source );
    > }
    > catch (Exception err)
    > {
    > // Process other errors here
    > strErrorMsg = ("ErrorMessa ge: " + err.Message );
    > }
    >
    >
    >[/color]


    Comment

    • MS News \(MS ILM\)

      #3
      Re: CRM SDK Examples??

      This is different, you have put some statics
      dim strAccountId as string = "{38A03BA8-7C0B-487F-836D-9DAD2A64B0D2}"
      where is it failing, what error? do you get?, did you debug

      I am not familiar with this.
      just a question: in the strAccountId do you have to have the '{' and '}'

      "Phil Adams" <padams@atcommu nications.co.uk > wrote in message
      news:%23lAu3ina DHA.1872@TK2MSF TNGP12.phx.gbl. ..[color=blue]
      > This is what i thought so i have changed it to below, but for some reason[/color]
      it[color=blue]
      > is still failing....
      >
      > <%@ Page Debug="false" Trace="false" %>
      > <script language="VB" runat="server">
      >
      > dim strServer as string = "crmsvr"
      > dim virtualDirector y as string = "MSCRMServi ces"
      > dim strDir as string = "http://" & strServer & "/" & virtualDirector y[/color]
      &[color=blue]
      > "/"
      > dim bizUser as Microsoft.CRM.P roxy.BizUser
      > dim incident as Microsoft.CRM.P roxy.CRMInciden t
      > dim strErrorMsg as string
      > dim strIncidentXml as string
      > dim strIncidentId as string
      > dim strAccountId as string = "{38A03BA8-7C0B-487F-836D-9DAD2A64B0D2}"
      >
      > ' BizUser proxy object
      > Microsoft.CRM.P roxy.BizUser bizUser = new Microsoft.CRM.P roxy.BizUser
      > bizUser.Credent ials = System.Net.Cred entialCache.Def aultCredentials
      > bizUser.Url = strDir & "BizUser.sr f"
      >
      > ' CRMIncident proxy object
      > Microsoft.CRM.P roxy.CRMInciden t incident = new
      > Microsoft.CRM.P roxy.CRMInciden t()
      > incident.Creden tials = System.Net.Cred entialCache.Def aultCredentials
      > incident.Url = strDir & "CRMIncident.sr f"
      >
      > try
      > Microsoft.CRM.P roxy.CUserAuth userAuth = bizUser.WhoAmI( )
      > ' Set up the XML string for the new incident
      > strIncidentXml = "<incident> "
      > strIncidentXml = strIncidentXml & "<title>Inciden t 1</title>"
      > strIncidentXml = strIncidentXml & "<accountid >" & strAccountId
      > &"</accountid>"
      > strIncidentXml = strIncidentXml & "<ownerid type=\"" &
      > Microsoft.CRM.F lags.ObjectType .otSystemUser.T oString() & "\">"
      > strIncidentXml = strIncidentXml & userAuth.UserId & "</ownerid>"
      > strIncidentXml = strIncidentXml & "<statuscode>15 </statuscode>"
      > strIncidentXml = strIncidentXml &
      > "<contractid>{3 09001C8-1A31-462E-A3BB-AFF6CF8CC4EF}</contractid>"
      > strIncidentXml = strIncidentXml &
      >[/color]
      "<contractdetai lid>{01F3DB31-834E-40DD-8E8A-E66493466AE3}</contractdetaili d>[color=blue]
      > "
      > strIncidentXml = strIncidentXml &
      > "<CFDCreditChec k>1</CFDCreditCheck> "
      > strIncidentXml = "</incident>"
      >
      > ' Create an incident
      > strIncidentId = incident.Create (userAuth, strIncidentXml)
      >
      > catch (System.Web.Ser vices.Protocols .SoapException err)
      >
      > ' Process the platform error here
      > strErrorMsg = ("ErrorMessa ge: " & err.Message & " " &
      > err.Detail.Oute rXml & " Source: " & err.Source )
      > end try
      > </script>
      >
      >
      > <html>
      > <head></head>
      > <title>Added New Incident</title>
      > <body>
      > Completed
      >
      > </body>
      > </html>
      >
      >[/color]


      Comment

      • Phil Adams

        #4
        Re: CRM SDK Examples??

        http://www.microsoft.com/BusinessSol...M/default.mspx
        Above is link to CRM, It is Microsofts attempt to join the CRM/ERP
        bandwagon.
        Although at the moment it is v1.0 and not avail outside the USA, It is far
        the best system i have seen.
        the SDK PDF is Attached maybe of help???

        WBR
        Phil Adams

        "MS News (MS ILM)" <sql_agentman@h otmail.com> wrote in message
        news:%23zGNOJoa DHA.1940@TK2MSF TNGP10.phx.gbl. ..[color=blue]
        > You may put a break point in the Catch block of a 'Try' statement and see
        > what the error message is.
        >
        > catch (System.Web.Ser vices.Protocols .SoapException err)
        > strErrorMsg = ("ErrorMessa ge: " & err.Message & " " & err.Detail.Oute rXml[/color]
        &[color=blue]
        > " Source: " & err.Source )
        >
        > Check if it goes to the catch block
        > if so see what's in strErrorMsg then go from there
        > What does this program suposed to do
        > I can not recreate it here.
        >
        > "Phil Adams" <padams@atcommu nications.co.uk > wrote in message
        > news:uI8Ed6naDH A.1872@TK2MSFTN GP12.phx.gbl...[color=green]
        > > Hi,
        > > Im sorry, i hope this helps to resolve my problem.
        > > where is it failing?? i don't exactly know as this code is from the
        > > Microsoft CRM SDK, and hence since it is a microsoft package it has its[/color]
        > own[color=green]
        > > error handler and dont know how to tell it to ignore it and just display[/color]
        > the[color=green]
        > > error...maybe there is a line i can add to the page??, but like i[/color]
        > previously[color=green]
        > > said i'm a classic asp programmer.
        > > do i need '{' and '}' yes as far as im aware as the database is SQL and[/color]
        > uses[color=green]
        > > GUIDs as the ID's in the tables.
        > >
        > > Many Thanks
        > > Phil Adams
        > >
        > > "MS News (MS ILM)" <sql_agentman@h otmail.com> wrote in message
        > > news:ubE6SwnaDH A.736@TK2MSFTNG P09.phx.gbl...[color=darkred]
        > > > This is different, you have put some statics
        > > > dim strAccountId as string = "{38A03BA8-7C0B-487F-836D-9DAD2A64B0D2}"
        > > > where is it failing, what error? do you get?, did you debug
        > > >
        > > > I am not familiar with this.
        > > > just a question: in the strAccountId do you have to have the '{' and[/color][/color][/color]
        '}'[color=blue][color=green][color=darkred]
        > > >
        > > > "Phil Adams" <padams@atcommu nications.co.uk > wrote in message
        > > > news:%23lAu3ina DHA.1872@TK2MSF TNGP12.phx.gbl. ..
        > > > > This is what i thought so i have changed it to below, but for some[/color]
        > > reason[color=darkred]
        > > > it
        > > > > is still failing....
        > > > >
        > > > > <%@ Page Debug="false" Trace="false" %>
        > > > > <script language="VB" runat="server">
        > > > >
        > > > > dim strServer as string = "crmsvr"
        > > > > dim virtualDirector y as string = "MSCRMServi ces"
        > > > > dim strDir as string = "http://" & strServer & "/" &[/color]
        > > virtualDirector y[color=darkred]
        > > > &
        > > > > "/"
        > > > > dim bizUser as Microsoft.CRM.P roxy.BizUser
        > > > > dim incident as Microsoft.CRM.P roxy.CRMInciden t
        > > > > dim strErrorMsg as string
        > > > > dim strIncidentXml as string
        > > > > dim strIncidentId as string
        > > > > dim strAccountId as string =[/color]
        > > "{38A03BA8-7C0B-487F-836D-9DAD2A64B0D2}"[color=darkred]
        > > > >
        > > > > ' BizUser proxy object
        > > > > Microsoft.CRM.P roxy.BizUser bizUser = new[/color]
        > > Microsoft.CRM.P roxy.BizUser[color=darkred]
        > > > > bizUser.Credent ials =[/color][/color]
        > System.Net.Cred entialCache.Def aultCredentials[color=green][color=darkred]
        > > > > bizUser.Url = strDir & "BizUser.sr f"
        > > > >
        > > > > ' CRMIncident proxy object
        > > > > Microsoft.CRM.P roxy.CRMInciden t incident = new
        > > > > Microsoft.CRM.P roxy.CRMInciden t()
        > > > > incident.Creden tials =[/color][/color]
        > System.Net.Cred entialCache.Def aultCredentials[color=green][color=darkred]
        > > > > incident.Url = strDir & "CRMIncident.sr f"
        > > > >
        > > > > try
        > > > > Microsoft.CRM.P roxy.CUserAuth userAuth = bizUser.WhoAmI( )
        > > > > ' Set up the XML string for the new incident
        > > > > strIncidentXml = "<incident> "
        > > > > strIncidentXml = strIncidentXml & "<title>Inciden t[/color][/color][/color]
        1</title>"[color=blue][color=green][color=darkred]
        > > > > strIncidentXml = strIncidentXml & "<accountid >" &[/color][/color][/color]
        strAccountId[color=blue][color=green][color=darkred]
        > > > > &"</accountid>"
        > > > > strIncidentXml = strIncidentXml & "<ownerid type=\"" &
        > > > > Microsoft.CRM.F lags.ObjectType .otSystemUser.T oString() & "\">"
        > > > > strIncidentXml = strIncidentXml & userAuth.UserId &[/color][/color]
        > "</ownerid>"[color=green][color=darkred]
        > > > > strIncidentXml = strIncidentXml &[/color][/color]
        > "<statuscode>15 </statuscode>"[color=green][color=darkred]
        > > > > strIncidentXml = strIncidentXml &
        > > > > "<contractid>{3 09001C8-1A31-462E-A3BB-AFF6CF8CC4EF}</contractid>"
        > > > > strIncidentXml = strIncidentXml &
        > > > >
        > > >[/color]
        > >[/color]
        >[/color]
        "<contractdetai lid>{01F3DB31-834E-40DD-8E8A-E66493466AE3}</contractdetaili d>[color=blue][color=green][color=darkred]
        > > > > "
        > > > > strIncidentXml = strIncidentXml &
        > > > > "<CFDCreditChec k>1</CFDCreditCheck> "
        > > > > strIncidentXml = "</incident>"
        > > > >
        > > > > ' Create an incident
        > > > > strIncidentId = incident.Create (userAuth, strIncidentXml)
        > > > >
        > > > > catch (System.Web.Ser vices.Protocols .SoapException err)
        > > > >
        > > > > ' Process the platform error here
        > > > > strErrorMsg = ("ErrorMessa ge: " & err.Message & " " &
        > > > > err.Detail.Oute rXml & " Source: " & err.Source )
        > > > > end try
        > > > > </script>
        > > > >
        > > > >
        > > > > <html>
        > > > > <head></head>
        > > > > <title>Added New Incident</title>
        > > > > <body>
        > > > > Completed
        > > > >
        > > > > </body>
        > > > > </html>
        > > > >
        > > > >
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]



        Comment

        • MS News \(MS ILM\)

          #5
          Re: CRM SDK Examples??


          did you add the porper References and Imports
          Project menu - Add References etc..


          "Phil Adams" <padams@atcommu nications.co.uk > wrote in message
          news:%23EmDqRpa DHA.2960@tk2msf tngp13.phx.gbl. ..[color=blue]
          > I have also found that the lines:
          > ' BizUser proxy object
          > Microsoft.CRM.P roxy.BizUser bizUser = new Microsoft.CRM.P roxy.BizUser
          > bizUser.Credent ials = System.Net.Cred entialCache.Def aultCredentials
          > bizUser.Url = strDir & "BizUser.sr f"
          > cannot work as there are no methods or functions of
          > Microsoft.CRM.P roxy.BizUser called Credentials OR Url.......Yet again
          > another microsoft typo?? the sdk seems to be riddled with typo errors and
          > references to objects , Properties and events that dont exist..
          >
          >[/color]


          Comment

          • Ken Dopierala Jr.

            #6
            Re: CRM SDK Examples??

            If you are translating this into VB.Net then you don't have to worry about
            numbers 2 and 4. The '+' sign works for strings in VB.Net just like it does
            in C# and VB.Net also supports the += operator. If you are converting this
            to a standard ASP 3.0 page then you will need to perform numbers 2 and 4.
            Good luck. Ken.

            "MS News (MS ILM)" <sql_agentman@h otmail.com> wrote in message
            news:uOKu9bnaDH A.2668@TK2MSFTN GP09.phx.gbl...[color=blue]
            > Few pointers
            >
            > 1) Remove all ; ';'
            >
            > 2) Change + to &
            >
            > 3) when declaring a variable
            > C#: string virtualDirector y = "mscrmservices" ;
            > VB.NET: Dim virtualDirector y as String = "mscrmservi ces"
            >
            > 4) C#: strAccountXml += "<name>Acco unt Number 2</name>";
            > this means strAccountXml = strAccountXml +
            > "<name>Acco unt Number 2</name>"
            >
            > "Phil Adams" <padams@atcommu nications.co.uk > wrote in message
            > news:%234X7PPna DHA.1748@TK2MSF TNGP12.phx.gbl. ..[color=green]
            > > Hi Peeps,
            > > I am trying to do some custom programming for CRM, but alas i am[/color][/color]
            only[color=blue]
            > a[color=green]
            > > classic asp programmer.
            > > Can someone help me by translating this into asp.net in VB instead of[/color][/color]
            C#,[color=blue]
            > i[color=green]
            > > can then get on as i think i am okay with the rest only not too clever[/color]
            > with[color=green]
            > > imports etc.
            > > This is in the CRM SDK under CRMIncident.Ope n Method.
            > >
            > > Thanks In Advance
            > > [C#]
            > > // server should be set with the name of the platform Web server
            > > string server = "myserverna me";
            > >
            > > // virtualDirector y should be set with the name of the Microsoft CRM
            > > // Virtual Directory on the platform Web server
            > > string virtualDirector y = "mscrmservices" ;
            > > string strDir = "http://" + server + "/" + virtualDirector y + "/";
            > >
            > > // BizUser proxy object
            > > Microsoft.CRM.P roxy.BizUser bizUser = new Microsoft.CRM.P roxy.BizUser[/color][/color]
            ();[color=blue][color=green]
            > > bizUser.Credent ials = System.Net.Cred entialCache.Def aultCredentials ;
            > > bizUser.Url = strDir + "BizUser.sr f";
            > >
            > > // CRMIncident proxy object
            > > Microsoft.CRM.P roxy.CRMInciden t incident = new
            > > Microsoft.CRM.P roxy.CRMInciden t();
            > > incident.Creden tials = System.Net.Cred entialCache.Def aultCredentials ;
            > > incident.Url = strDir + "CRMIncident.sr f";
            > >
            > > // CRMAccount proxy object
            > > Microsoft.CRM.P roxy.CRMAccount account = new[/color]
            > Microsoft.CRM.P roxy.CRMAccount[color=green]
            > > ();
            > > account.Credent ials = System.Net.Cred entialCache.Def aultCredentials ;
            > > account.Url = strDir + "CRMAccount.srf ";
            > >
            > > string strErrorMsg;
            > > try
            > > {
            > > Microsoft.CRM.P roxy.CUserAuth userAuth = bizUser.WhoAmI( );
            > >
            > > // Set up the XML for a new account
            > > // The required fields are name and ownerid
            > > string strAccountXml = "<account>" ;
            > > strAccountXml += "<name>Acco unt Number 2</name>";
            > > strAccountXml += "<accountnumber >A01923</accountnumber>" ;
            > > strAccountXml += "<websiteurl>ww w.account1.com</websiteurl>";
            > > strAccountXml += "<ownerid type=\"" +
            > > Microsoft.CRM.F lags.ObjectType .otSystemUser.T oString() +"\">";
            > > strAccountXml += userAuth.UserId + "</ownerid>";
            > > strAccountXml += "</account>";
            > >
            > > string strAccountId = account.Create( userAuth, strAccountXml);
            > >
            > > // Set up the XML for a new incident
            > > string strIncidentXml = "<incident> ";
            > > strIncidentXml += "<title>inciden t 1</title>";
            > > strIncidentXml += "<accountid >" + strAccountId +"</accountid>";
            > > strIncidentXml += "<ownerid type=\"" +
            > > Microsoft.CRM.F lags.ObjectType .otSystemUser.T oString() +"\">";
            > > strIncidentXml += userAuth.UserId + "</ownerid>";
            > > strIncidentXml += "</incident>";
            > >
            > > // Create an incident
            > > string strIncidentId = incident.Create (userAuth, strIncidentXml) ;
            > >
            > > // Now open the incident
            > > incident.Open(u serAuth, strIncidentId, -1);
            > >
            > > }
            > > catch (System.Web.Ser vices.Protocols .SoapException err)
            > > {
            > > // Process the platform error here
            > > strErrorMsg = ("ErrorMessa ge: " + err.Message + " " +[/color]
            > err.Detail.Oute rXml[color=green]
            > > + " Source: " + err.Source );
            > > }
            > > catch (Exception err)
            > > {
            > > // Process other errors here
            > > strErrorMsg = ("ErrorMessa ge: " + err.Message );
            > > }
            > >
            > >
            > >[/color]
            >
            >[/color]


            Comment

            Working...