Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Bug Reports
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.


Error loading source code


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-23-2008, 07:51 AM
Junior Member
 
Join Date: Dec 2007
Location: Germany
Posts: 17
Default Error loading source code

Hi Erel,

after my update to 6.01 I've done some changes on one of my sources.
Now I can't open this source any more - still get the message "Error loading file. Input string was not in a correct format."

As I've seen in a text editor the source is still saved under 6.01.

Do you have any idea to get this source working again?
Reply With Quote
  #2 (permalink)  
Old 01-23-2008, 07:55 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,849
Default

Did you edit the designer text?
Reply With Quote
  #3 (permalink)  
Old 01-23-2008, 08:01 AM
Junior Member
 
Join Date: Dec 2007
Location: Germany
Posts: 17
Default

No, I only have done a look inside to see on which version the source was saved.
I've done no changes or something. Read only.
Reply With Quote
  #4 (permalink)  
Old 01-23-2008, 08:03 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,849
Default

Can you upload the file?
If not please sent it to me: erel@basic4ppc.com
Reply With Quote
  #5 (permalink)  
Old 01-23-2008, 08:06 AM
Junior Member
 
Join Date: Dec 2007
Location: Germany
Posts: 17
Default

It's on the way...
Reply With Quote
  #6 (permalink)  
Old 01-23-2008, 08:11 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,849
Default

I've sent you the fixed file.
Your file got modified probably by some external editor.
Reply With Quote
  #7 (permalink)  
Old 01-23-2008, 08:40 AM
Junior Member
 
Join Date: Dec 2007
Location: Germany
Posts: 17
Default

Definetly *not*

But its readable again - thank you!
Reply With Quote
  #8 (permalink)  
Old 01-23-2008, 09:26 AM
Junior Member
 
Join Date: Dec 2007
Location: Germany
Posts: 17
Default

Another problem now...

If I like to add a image on form1 and I save the changed form, I got the message: "StartIndex cannot be less than zero. Parameter name: startIndex".
This now occurs on every change I do at form1.
Now I'm unable to open the form editor or compile the project...

Last edited by Roadrunner : 01-23-2008 at 09:29 AM.
Reply With Quote
  #9 (permalink)  
Old 01-23-2008, 10:50 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,849
Default

I've fixed your form using FormDuplicator and it now seems to work fine.
Reply With Quote
  #10 (permalink)  
Old 06-02-2008, 04:09 AM
Junior Member
 
Join Date: May 2008
Posts: 32
Default

FWIW I'm seeing similar issues with 6.30
Selecting multiple controls on a page and using Tools | Duplicate Control causes an error (duplicating the label name so the form won't reload in the designer)
I've also noticed seemingly at random everything is fine but then I can't can back into the designer with various different error messages blocking it (and most of the object/control tree disappearing as I guess it fails to parse the form)
Not sure if it could be Vista SP1 related?

If I then open the source in notepad and check for the following things I can usually fix it
- raddmenu instead of admenu
- baddform instead of addform
- multiple "end sub" at the end of the designer section (remove all but one)
- search for (and rename) duplicate label, textbox etc

Would be nice if it didn't do it in the first place though
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
Source Code Folders On The Device RandomCoder Basic4ppc Wishlist 13 03-23-2008 01:01 PM
Add file association to Basic4ppc source code files (on the device) Erel Code Samples & Tips 8 01-16-2008 07:01 AM
Include source code from an external file Zemog Questions & Help Needed 2 06-29-2007 08:38 AM
Source Code Form Issues Louis Questions & Help Needed 3 06-16-2007 08:17 PM
The best folder for your source code Erel Code Samples & Tips 0 05-01-2007 07:17 PM


All times are GMT. The time now is 01:56 AM.


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