Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Problem with Regex


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-07-2008, 01:43 PM
Knows the basics
 
Join Date: Apr 2007
Location: Netherlands
Posts: 86
Default Problem with Regex

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
Reply With Quote
  #2 (permalink)  
Old 01-07-2008, 01:54 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

It looks like you are missing Regex.dll in the compiled executable folder.
Reply With Quote
  #3 (permalink)  
Old 01-07-2008, 03:32 PM
Knows the basics
 
Join Date: Apr 2007
Location: Netherlands
Posts: 86
Default 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
Reply With Quote
  #4 (permalink)  
Old 01-07-2008, 04:44 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
Default

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
File Type: zip Regex.zip (14.7 KB, 12 views)
Reply With Quote
  #5 (permalink)  
Old 01-10-2008, 09:07 AM
Knows the basics
 
Join Date: Apr 2007
Location: Netherlands
Posts: 86
Default Problem with Regex

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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
RegEx-library - Split ? moster67 Basic4ppc Wishlist 11 09-15-2008 05:51 PM
Help with regex match and replace tsteward Questions & Help Needed 1 09-02-2008 05:38 PM
Get all links from an html file using regex MM2forever Questions & Help Needed 2 10-13-2007 08:56 AM


All times are GMT. The time now is 05:00 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0