Get string from ASPathName

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default Get string from ASPathName

    Hello,
    I want to get the path of the current file opened by Acrobat.In the function ACCB1 void ACCB2 MyAVDocWillOpenFromFile (ASPathName fileName, ASFileSys fileSys, void* clientData). Only get ASPathName ,how to convert it to C style string ?

    Thanks!!
    yiyun0918@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Maintain query string and somehow auto refresh a pagewith that string intact
      I have a drill down where on page one the user selects criteria to narrow down the search for a speicific group of employees(like all hired between...
    2. #7056 [Com]: Setting string variables to value starting with '<' cause string to be empty.
      ID: 7056 Comment by: davidgjenkins at ntlworld dot com Reported By: tammy at synchronis dot com Status: Closed...
    3. string question: how to append x zeros to get fixed lenght string?
      "Bob Barrows" <reb_01501@yahoo.com> wrote in message news:uuhVv4mcDHA.656@tk2msftngp13.phx.gbl... newstring = Right("0000000" & i,8) ;-p
    4. Cannot create an object of type 'System.String[]' from its representation 'String[] Array'
      Hello, I am designing a .net custom control in VS.net 7.1 and my control exposes an array of strings which are supposed to be the items to show. To...
    5. String question: Returning portion of string with words surrounding highlighted search term?
      I'm looking to find or create an ASP script that will take a string, examine it for a search term, and if it finds the search term in the string,...
  3. #2

    Default Re: Get string from ASPathName

    Hi,

    If you use the function, ASFileSysDIPathFromPath that should return a string you can use.

    Normally you can call it like this, assuming all declarations are done.

    myString = ASFileSysDIPathFromPath ( NULL, theASPathName, NULL);

    HTH

    Malky
    malkyt8@adobeforums.com Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139