?
Solved

Current document name in wordperfect

Posted on 2003-02-20
3
Medium Priority
?
202 Views
Last Modified: 2010-05-01
How do i get current document name in wordperfect 2000 using visual basic macro?
For example:

Line1: Set Application = CreateObject("WordPerfect.PerfectScript")
Line2: Application.fileName

This didn't work
I get the error: 'Object doesn't support this property or method on line 2
0
Comment
Question by:Junebug
[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
3 Comments
 

Author Comment

by:Junebug
ID: 7997568
Never Mind :)
The solution is Application.EnvDOSName
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8359290
Junebug, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    DELETE this question

DanRollins -- EE database cleanup volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8362926
PAQ'd and points refunded

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 6 hours left to enroll

765 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