TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
agastheswar
NA
1
1.8k
Open application in remote system
Dec 7 2012 11:20 AM
Hey Lets say i have 2 computers x and y which are both connected in LAN . computer x has a power point which i need to open in computer x itself using computer y. I have a c# code which can open application from remote system in current system but it can open application in remote system itself. Can any one help me out with this??
C# code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.Office.Core;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
void OpenSlideShow(string strPres)
{
Microsoft.Office.Interop.PowerPoint.Application oPPT;
Microsoft.Office.Interop.PowerPoint.Presentations objPresSet;
Microsoft.Office.Interop.PowerPoint.Presentation objPres;
//the location of your powerpoint presentation
//Create an instance of PowerPoint.
oPPT = new Microsoft.Office.Interop.PowerPoint.ApplicationClass();
// Show PowerPoint to the user.
oPPT.Visible = Microsoft.Office.Core.MsoTriState.msoTrue;
objPresSet = oPPT.Presentations;
//open the presentation
objPres = objPresSet.Open(strPres, MsoTriState.msoFalse,
MsoTriState.msoTrue, MsoTriState.msoTrue);
objPres.SlideShowSettings.Run();
}
protected void btn_presentation1_Click(object sender, EventArgs e)
{
string strPres = @"\\bijou.dt.asu.edu\dtpub$\People\Rahul\Presentations\rahul.pptx";
OpenSlideShow(strPres);
}
protected void TextBox1_TextChanged(object sender, EventArgs e)
{
}
}
Reply
Answers (
0
)
Using Grid view how to check Vendor name already exists
ARRAYS THAT WILL CONCATTENATE TEXT AND NUMBERS