Please could someone help me with this one? I have developed a small application to call several powerpoint presentations. The user will enter the powerpoint number and the powerpoint will be shown in Viewshow form. However this is not the case. The powerpoints are showing in the normal powerpoint form where the users can edit the texts in the presentation even though the powerpoint presentation are saved as viewshow. Please help with the code to display powerpoint in VIEWSHOW form:(;(If this is displayed in a form is fine, part my working code is as shown below;
Imports PowerPoint = Microsoft.Office.Interop.PowerPoint
Imports Office = Microsoft.Office.Core
Imports Graph = Microsoft.Office.Interop.Graph
Public Class frmTest
Public Sub SelectCase()
Select Case txtNumberEntery.Text
Case 1
System.Diagnostics.Process.Start("Powerpnt.exe", "C:\Test\1.pps")
txtNumberEntery.Text = ""
txtNumberEntery.Focus()
Case 2
System.Diagnostics.Process.Start("Powerpnt.exe", "C:\Test\2.pps")
txtNumberEntery.Text = ""
txtNumberEntery.Focus()
Case 3
System.Diagnostics.Process.Start("Powerpnt.exe", "C:\Test\3.pps")
txtNumberEntery.Text = ""
txtNumberEntery.Focus()
Case 4
Case Else
MessageBox.Show("Entered is invalid. ", "Invalid Option!")
txtNumberEntery.Clear()
txtNumberEntery.Focus()
End Select
End Sub