Announcement

Collapse
No announcement yet.

parse string

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • parse string

    When I parse the string c:\test to get the drive and folder, it does not work when the drive letter is written with small c. With C:\test it works.

    This problem seem only occurs with Windows 98


    ------------------
    CdG

  • #2
    Re: parse string

    What is the full path that you are testing with? What file name have you used?

    ------------------
    Sincerely,

    Darryl Hnatiuk
    Indigo Rose Corporation

    Comment


    • #3
      Re: parse string

      in as screen with edit boxes I let the user fill in a path where the data is to be installed : ex. ->c:\test. I store that text in the variable %bead%. Later I use the parse functiuon on that variable %bead% to get the drive and folder.
      When the data in that variable begins with a small c: then the function does not work. When the text in the variabel is C:\test the function works ..

      This is only the case when %iswin98%=true



      ------------------
      CdG

      Comment


      • #4
        Re: parse string

        I just ran a test on a clean Windows 98 machine and didn't have any problem with the string function that you described.

        When you say that it does not work, what do you mean by that. What output are you receiving? Are you receiving any error messages?
        What build of Windows 98 are you using?
        What are the exact actions that you are using?

        What full version number are you using? You can find this information by going to HELP->ABOUT SETUP FACTORY.

        It may be easier if you sent me a project file that will illustrate what you are encountering. You can send it to [email protected].

        ------------------
        Sincerely,

        Darryl Hnatiuk
        Indigo Rose Corporation

        Comment


        • #5
          Re: parse string

          Just a thought, CdGroote: if by chance you're using a non-English keyboard or character set, you might want to verify the character you're entering into the field.

          This probably isn't the case, but it might be worth ruling out...are you sure you're entering a lower-case C, and not some other character that looks like a lower-case C? Like ç ("c cedile") or something?
          --[[ Indigo Rose Software Developer ]]

          Comment


          • #6
            Re: parse string

            No, it is a c that I am Using, and not an other character.

            I have changed the procedure, so that I am not using an edit box anymore to get the path, but a select install folder screen.

            When I diable the install folder field, the use must use the tree-structure to chose the folder, an the setup program returns automatically a major C or D for the drive, so the problem is solved..

            Today I tried again with a minor c and the function worked normally. I have upgraded to 6.0.0.4 version and Use windows 98 2nd.
            Yesterday it was impossible the get the good result.

            c:\test was in varable %bead%. The result of the parse function to get the drive and the folder was twice an empty string. (when
            %iswin98%=true)

            Was it windows that was playing tricks?

            I think I have banned the problem by using an other screen to get the data

            regards,

            C de Groote

            Comment

            Working...
            X