Problem with Regex

HARRY

Active Member
Licensed User
Longtime 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?

Harry
 

HARRY

Active Member
Licensed User
Longtime User
Default Problem with Regex

Erel,

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?

Harry
 

Erel

B4X founder
Staff member
Licensed User
Longtime 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.
 

Attachments

  • Regex.zip
    14.7 KB · Views: 258

HARRY

Active Member
Licensed User
Longtime 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.

Harry
 
Top