|
-
May 23rd, 2004, 07:07 PM
#1
Thread Starter
Junior Member
Powerpoint couldn't be generated.... [ HELP!!]
I've compiled my VB program into an EXE application. When I run this EXE in my computer(which contains VB), the powerpoint can be automated. However, when the applicaiton is run from another computer(without VB), the powerpoint applicaiton cannot be automated.
Do I need any library/ocx/....??
I used this code below to generate the powerpoint.
ppApp = new powerpoint.application
-
May 26th, 2004, 08:37 AM
#2
That means you referenced something in the VB code, but you didn't package the referenced item when compiling.
You can... recompile the project including the referenced file (package and deployment)
Or
use :
VB Code:
Dim ppApp As Object
Set ppApp = CreateObject("Powerpoint.Application")
ppApp.Visible = True
Set ppApp = Nothing
This ofcourse assumes the user has powpoint installed...
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|