web 2.0

ASP.NET(vb.net) & PowerPoint - Create Slides & Presentations

ASP.NET(vb.net) & Connect to PowerPoint.Application - This isĀ  example scripts how to use ASP.NET create Slides & Presentations.

ShotDev Focus:
- ASP.NET(vb.net) & Connect to PowerPoint.Application

Example

AspNetConnectPowerPoint.aspx

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="AspNetConnectPowerPoint.aspx.vb" Inherits="AspNetConnectPowerPoint" %>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<form id="form1" runat="server">
<asp:Label id="lblText" runat="server"></asp:Label>
</form>
</body>
</html>

AspNetConnectPowerPoint.aspx.vb


Imports Microsoft.Office.Interop.PowerPoint
Public Class AspNetConnectPowerPoint
Inherits System.Web.UI.Page

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim ppApp As Microsoft.Office.Interop.PowerPoint.Application
Try
ppApp = New Microsoft.Office.Interop.PowerPoint.Application
Me.lblText.Text = "Object PowerPoint Created"
Catch ex As Exception
Me.lblText.Text = "PowerPoint Err. " & ex.Message
End Try

End Sub
End Class

Screenshot

ASP.NET(vb.net) & Connect to PowerPoint.Application

.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.