Announcement

Collapse
No announcement yet.

Using PTree in VB

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using PTree in VB

    I have just purchased and installed PTreeW, and and have
    encountered a problem (maybe mine) with ptCreateIndex.

    When using the function within an IF statement, i.e.

    [removed]

    the function returns "True" and the message box appears.
    However, the index file IS CREATED..

    Can anyone shed some light for me???


    ------------------

  • #2
    By the terms of your PowerTree license, you may not publicly post or distribute source code that makes use of PowerTree. Please refer your question to tech support ([email protected]).

    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Comment


    • #3
      This effect seems to be specific to VB, as the problem does not occur with PowerBASIC compilers...!

      The solution is to call the function as if it were a SUB, and test the .ErrType return value separately.



      ------------------
      Lance
      PowerBASIC Support
      mailto:[email protected][email protected]</A>
      Lance
      mailto:[email protected]

      Comment

      Working...
      X