|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hey guys can anyone help me on my search to find out what I can use, to build a power point slide from an access database. Basically what I need is when a user selects the information they want from the database it then generates a power point slide from the information that pretains to the requested information from the database with the format I build into it. Any ideas?
|
|
#2
|
||||
|
||||
|
Here's an example.
You would have to handle the formatting. Code:
<%
Set Conn = Server.CreateObject("ADODB.Connection")
Set fs = Server.CreateObject("Scripting.FileSystemObject")
Set pptFile = fs.CreateTextFile("C:\PPTTest\Test.ppt", True)
Conn.Open "Your ConnectionString"
Set rs = Conn.Execute("SELECT FieldName FROM TableName")
if rs.eof then
Response.write("No records returned")
Else
do until rs.eof
pptFile.WriteLine(rs("FieldName"))
rs.movenext
loop
End If
pptFile.Close
Conn.Close
Set Conn = Nothing
Set fs = Nothing
%>
|
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Using vbsript (or anything) to power point slide via a database |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|