Solved

about Autorun file

Posted on 2002-07-30
2
185 Views
Last Modified: 2010-05-01
hi ,
how can i create autorun file on a CD for a pps file i dont think it is a vb question but i dont know the category of this question

thanx
loay
0
Comment
Question by:loay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 52

Accepted Solution

by:
Ryan Chong earned 20 total points
ID: 7187315
Basically, you must create an .inf file named Autorun.inf in the root of your CD. Then place the file in a folder on the cd and edit the Autorun.inf like this:

[Autorun]
Open=MyFolder\myExe.exe

I'm not quite sure if the autorun will run for a none exe file (in this case .pps file)

But here is a workaround, as for the above statement:

Open=MyFolder\myExe.exe

create an exe at MyFolder name it as myExe.exe

That by generating the myExe.exe file, we open the pps by using Shell function, example using VB:

Create a form, in the Form_Load Event:

Shell [my pps file's path]

Hope this make help
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8049096
Hi loay,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept ryancys's comment(s) as an answer.

loay, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month3 days, 21 hours left to enroll

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question