Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > ASP > ASP PowerPoint (PowerPoint.Application) > ASP Config PowerPoint (PowerPoint.Application)



Clound SSD Virtual Server

ASP Config PowerPoint (PowerPoint.Application)

ASP PowerPoint.Application เป็น DCOM ที่เข้ามาจัดการในส่วนของ PowerPoint เป็นงานฟรีเซ็นเตชั่นของโปรแกรม Microsoft PowerPoint สำหรับในภาษา ASP แล้วจะเป็นในรูปแบบการ Convert หรือจัดการเอกสารที่มีอยู่แล้วซะมากกว่าครับ ในส่วนของการสร้างหรือแก้ไขเอกสารค่อนข้างจะทำได้ยากกว่า เพราะรูปแบบคำสั่งผมได้ลองหาข้อมูลดูแล้วมีน้อยมากครับ

Syntax

Server.CreateObject("PowerPoint.Application")



AspConnectPowerPoint.asp

<% Option Explicit %>
<html>
<head>
<title>ThaiCreate.Com ASP PowerPoint.Application Tutorial</title>
</head>
<body>
<%
	Dim pptApp
	Set pptApp = Server.CreateObject("PowerPoint.Application")
	If IsObject(pptApp) Then
	Response.write("Connect to PowerPoint.Application")
	Else
	Response.write("Can Not Connect to PowerPoint.Application")
	End IF
%>
</body>
</html>


Error Message
Error Type:
Server object, ASP 0178 (0x80070005)
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
/myasp/AspConnectPowerPoint.asp, line 9


หรือบน Windows Server

Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/myasp/AspConnectPowerPoint.asp, line 9



ในการใช้งาน PowerPoint.Application จะต้องกำหนดในส่วนของ Permission ด้วยน่ะครับ เหมือนกับการกำหนดในส่วนของ Excel


Excel.Application




เริ่มการแก้ Config ของ PowerPoint.Application

Control Panel -> Administrative Tools -> Component Services

Component Services -> Computers -> My Computer -> DCOM Config


โดยแก้ Application ชื่อ Microsoft PowerPoint Presentation


ASP & PowerPoint


ASP & PowerPoint

Tab Security -> Launch and Activation Permissions -> Customize -> Edit

ASP & PowerPoint


Add User ชื่อ IUSR_Machine-name และ IWAM_Machine-name



ASP & PowerPoint

ถ้าไม่ติดอะไร จะสามารถทำการเชื่อมต่อไปยัง PowerPoint.Application ได้สำเร็จ






   
Share


ช่วยกันสนับสนุนรักษาเว็บไซต์ความรู้แห่งนี้ไว้ด้วยการสนับสนุน Source Code 2.0 ของทีมงานไทยครีเอท


ลองใช้ค้นหาข้อมูล


   


Bookmark.   
       
  By : ThaiCreate.Com Team (บทความเป็นลิขสิทธิ์ของเว็บไทยครีเอทห้ามนำเผยแพร่ ณ เว็บไซต์อื่น ๆ)
  Score Rating :  
  Create/Update Date : 2008-10-09 12:17:39 / 2008-12-11 07:25:48
  Download : Download  ASP Config PowerPoint (PowerPoint.Application)
 Sponsored Links / Related

 
ASP Connect to PowerPoint.Application
Rating :

 
ASP & PowerPoint - Create Slides & Presentations
Rating :

 
ASP & PowerPoint - AddTextbox
Rating :

 
ASP & PowerPoint - Font Style
Rating :

 
ASP & PowerPoint - Add/Insert Picture (AddPicture)
Rating :

 
ASP & PowerPoint - Create Multiple Slides
Rating :

 
ASP & PowerPoint - Open Template Modify/Edit Slides
Rating :

 
ASP & PowerPoint - Save Slides To HTML Format
Rating :

 
ASP & PowerPoint - Convert PPT To HTML Slides
Rating :

 
ASP & PowerPoint - Convert PPT To WMF Format
Rating :

 
ASP & PowerPoint - Convert PPT To GIF Format
Rating :

 
ASP & PowerPoint - Convert PPT To JPG Format
Rating :

 
ASP & PowerPoint - Convert PPT To JPG and Send Email Attachment
Rating :


ThaiCreate.Com Forum


Comunity Forum Free Web Script
Jobs Freelance Free Uploads
Free Web Hosting Free Tools

สอน PHP ผ่าน Youtube ฟรี
สอน Android การเขียนโปรแกรม Android
สอน Windows Phone การเขียนโปรแกรม Windows Phone 7 และ 8
สอน iOS การเขียนโปรแกรม iPhone, iPad
สอน Java การเขียนโปรแกรม ภาษา Java
สอน Java GUI การเขียนโปรแกรม ภาษา Java GUI
สอน JSP การเขียนโปรแกรม ภาษา Java
สอน jQuery การเขียนโปรแกรม ภาษา jQuery
สอน .Net การเขียนโปรแกรม ภาษา .Net
Free Tutorial
สอน Google Maps Api
สอน Windows Service
สอน Entity Framework
สอน Android
สอน Java เขียน Java
Java GUI Swing
สอน JSP (Web App)
iOS (iPhone,iPad)
Windows Phone
Windows Azure
Windows Store
Laravel Framework
Yii PHP Framework
สอน jQuery
สอน jQuery กับ Ajax
สอน PHP OOP (Vdo)
Ajax Tutorials
SQL Tutorials
สอน SQL (Part 2)
JavaScript Tutorial
Javascript Tips
VBScript Tutorial
VBScript Validation
Microsoft Access
MySQL Tutorials
-- Stored Procedure
MariaDB Database
SQL Server Tutorial
SQL Server 2005
SQL Server 2008
SQL Server 2012
-- Stored Procedure
Oracle Database
-- Stored Procedure
SVN (Subversion)
แนวทางการทำ SEO
ปรับแต่งเว็บให้โหลดเร็ว


Hit Link
   







Load balance : Server 01
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่