Amol.....
.........Also can I run a Power Point presentation through VB?
If yes then pls. tell me the code.
You can use automation. In a click event on a form to launch the slide show put:
Dim pwp As Object
Set pwp = createObject("PowerPoint.Application.8")
pwp.Visible = True
pwp.Presentations.Open "c:\....... file.ppt" && path and filename to your show
pwp.ActivePresentation.SlideShowSettings.Run
Set pwp = Nothing
This is covered in Lesson 14 of Micorsoft VB 6.0 Professional Step by Step by Michael Halverson. Great Book!
Hope it helps.
Tom Gahagan
REST
Tom Gahagan
Alliance
Computer Solutions
"Music, like sex, is much too important to be left to professionals."
Robert Shaw