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.


Compiling Problems - Images must not include spaces


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-31-2008, 06:38 AM
Junior Member
 
Join Date: Jun 2007
Posts: 36
Default Compiling Problems - Images must not include spaces

Hi All,

I'm trying to compile my program using the optimised compile. I have CF Net 2.0 installed but an error occurs:-

error CS2001: Source file 'icon.bmp' could not be found.

Although I have some 800 lines of code and 4 forms I don't think it ever calls for a file 'icon.bmp'. Just in case I added a picture and called it icon.bmp into the same directory however still no joy. Any ideas would be appreciated.

P.S. I have compiled an earlier version of the program using the legacy compiler with no probs and the program runs fine within B4PPC.

Reply With Quote
  #2 (permalink)  
Old 05-31-2008, 07:17 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,185
Default

It is probably some image you've added with the visual designer.
If you don't find it please upload your source code.
Reply With Quote
  #3 (permalink)  
Old 05-31-2008, 08:48 AM
Junior Member
 
Join Date: Jun 2007
Posts: 36
Default

Thanks Erel,

I'll try to upload the file as I really can't see where it is calling for icon.bmp. It's probably something simple but I just can't see it. It obviously won't run without all the other files. Let me know if you need them also.

P.S. I apologise in advance for what is probably very messy code. I am a beginner.

Thanks,

JT
Attached Files
File Type: sbp Airbus.sbp (24.7 KB, 9 views)
Reply With Quote
  #4 (permalink)  
Old 05-31-2008, 09:02 AM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Switzerland
Posts: 699
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

To be able to test your program you should also join the bitmaps you are using, because the program is looking for those first. So it's nor easy to check the behaviour. Otherwise we must first look what bitmap is missing, add some dummy bitmaps and so on.

Best regards.
__________________
Klaus
Switzerland
Reply With Quote
  #5 (permalink)  
Old 05-31-2008, 09:23 AM
Junior Member
 
Join Date: Jun 2007
Posts: 36
Default



OK I tried that but it maxed out the upload limit after the first bmp. There are 22 bmp's, 3 tables and a number of txt files so I guess it's not really practical. The entire folder is 2.5mb. Maybe I could email it?

Thanks again for your help.

JT
Reply With Quote
  #6 (permalink)  
Old 05-31-2008, 05:35 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,185
Default

This is a bug.
Embedded image names must not include spaces.
It will be fixed in the next release.
Reply With Quote
  #7 (permalink)  
Old 06-01-2008, 01:06 AM
Junior Member
 
Join Date: Jun 2007
Posts: 36
Default

Thanks again Erel that fixed that problem. Next error is:-

CS1525 invalid expression term ')'
Table1.loadcsv("table1.csv",",",true)

Sorry again...

JT
Reply With Quote
  #8 (permalink)  
Old 06-01-2008, 02:27 AM
Senior Member
 
Join Date: Jul 2007
Posts: 147
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Hi J12345T.

I don't this is right.

Table1.loadcsv("table1.csv",",",true)

I think this is, the true's false wording depends on how you have your headers and col's set up.

Table1.LoadCSV ("table1.csv", ",", True, True)

__________________
Using 6.30
dennishea
Reply With Quote
  #9 (permalink)  
Old 06-01-2008, 08:55 AM
Junior Member
 
Join Date: Jun 2007
Posts: 36
Default

Thanks.

You are correct however it seemed to work fine with the legacy compiler... I've corrected the error however I'm now getting other errors. I guess my code is just sloppy although not intentionally so; I'm just a beginner at all of this.

Cheers,

JT
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
Optomized compiling problems again. J12345T Questions & Help Needed 10 09-08-2008 12:34 PM
Trim Spaces from Beginning and end of Strings BPak Questions & Help Needed 23 03-24-2008 07:51 PM
Is it possible to include DLL in exe Mr_Gee Questions & Help Needed 7 03-15-2008 01:30 AM
Remove spaces from string forisco Questions & Help Needed 2 11-16-2007 11:07 AM
Include dll in the exe hung Questions & Help Needed 3 07-24-2007 01:05 PM


All times are GMT. The time now is 06:37 PM.


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