Results 1 to 2 of 2

Thread: How to get App.LogPath to function?

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Posts
    45
    I've been fiddling with these new functions: (new to me)

    App.StartLogging ("C:\etc", vbAutoLog)
    App.LogEvent ("It Worked", vbLogEventTypeInformation)

    Those two functions worked fine. I got a nice log file and everything. *smiles proudly*

    I thought that later in the application I'd be able to do something like this:

    StringVariable = App.LogPath
    Debug.Print StringVariable

    Yet that doesn't seem to be working. I get "" values. I was hoping to get the value of the log path as set in the StartLogging Method. What is wrong here?
    -Gregg
    -NoOBie At LaRg3

  2. #2
    Fanatic Member
    Join Date
    Mar 2000
    Location
    That posh bit of England known as Buckinghamshire
    Posts
    658
    Have a look at this thread.

    But to sum it up, the LogEvent method does not work in the VB IDE, only the compiled executable.
    Iain, thats with an i by the way!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width