Problem with Regex

Discussion in 'Questions (Windows Mobile)' started by HARRY, Jan 7, 2008.

  1. HARRY

    HARRY Active Member Licensed User

    Hi Erel,

    On the device I get the following error message (translated):
    File or assembly name Regex version = 1.0.2808.28557, etc... or one of the dependencies cannot be found.

    Followed by a separate message headed with .Net Initialization error: "loading of required parts has failed. " and a story about .NetCompact Framework. As recommended I reinstalled .Net CF 2.0 , but no improvement.

    Any idea what is wrong?

  2. Erel

    Erel Administrator Staff Member Licensed User

    It looks like you are missing Regex.dll in the compiled executable folder.
  3. HARRY

    HARRY Active Member Licensed User

    Default Problem with Regex


    I realize that I have bothered you in the past with a number of rather stupid problems, but Regex.dll really is in the directory of the executable.

    When .NET CF 2 is installed I do not need previous versions, do I?

    Yesterday I have had problems with my PPC and loaded a Spb BackUp, but I wrote the program which causes the problem to-day!

    Does Regex use components?

  4. Erel

    Erel Administrator Staff Member Licensed User

    You don't need previous versions of .Net CF.
    Regex library doesn't depend on any other components.

    You should make sure that you are using the most updated Regex.dll on both the device and desktop.

    I've attached an example that uses Regex.
    Please copy it to the device and see if it works.

    Attached Files:

  5. HARRY

    HARRY Active Member Licensed User

    Hi Erel,

    I feel ashamed and I should work more carefully. Of course the library was in the same directory as the program, but when you copy the program to another directory in stead of the link to it then the library is missing. Sorry.

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice