Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention. Check out this how-to article for more information.
Protected Sub btnSummary_Start_Click(sender As Object, e As System.EventArgs) Handles btnSummary_Start.Click If IsPostBack Then 'First, prepare the Retail_Flash_Detail table Dim targetDir As String Dim p As New Process targetDir = ("\\tta-cwdw\Apps") p.StartInfo.WorkingDirectory = targetDir p.StartInfo.FileName = "Retail_Flash_Detail.exe" p.StartInfo.Arguments = txtSummary_ManualDate.Text p.StartInfo.CreateNoWindow = False p.Start() p.WaitForExit() If rdlEmail_or_Display_Summary_Report.Items(0).Selected = True Then 'Email to recipients 'Call code to email report to recipients Else 'Display report on screen Session("mSales_Date_Parm") = txtSummary_ManualDate.Text Response.Redirect("rptStoresFlashSummary.aspx") End If End If End Sub
Join the community of 500,000 technology professionals and ask your questions.