|
|
#1 (permalink) |
|
Monster Member
Join Date: Dec 2006
Location: the immunity syndicate
Age: 30
Posts: 2,998
Rep Power: 5
|
im having trouble getting a OLE function to open up a power point presentation without me having to enter in the file path in the Sourcedoc section. im trying to use app.path so that when someone else uses it, it will function.
olePP.SourceDoc = (App.Path & "\onlinetut.ppt") olePP.CreateLink (App.Path & "\onlinetut.ppt") i put a breakpoint in the .sourcedoc and its not finding the pathway and not opening it automatically or through a double click. help. Last edited by FuRbY*; 17-06-2007 at 04:27 PM.. |
|
|
|
|
|
|
|
#2 (permalink) |
|
Pro Member
Join Date: Jun 2006
Age: 19
Posts: 5,593
Rep Power: 8
|
Have you saved the project yet? If the project isn't saved, App.Path points to the Visual Basic install directory (where the IDE executable is).
chem
__________________
There are no stupid questions... but there are alot of inquisitive idiots. - |
|
|
|
|
|
#4 (permalink) |
|
Pro Member
Join Date: Jun 2006
Age: 19
Posts: 5,593
Rep Power: 8
|
An easier way, is to do this:
Code:
Dim blah As String blah = App.Path ' BREAKPOINT HERE chem
__________________
There are no stupid questions... but there are alot of inquisitive idiots. - |
|
|
|




