Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Basic4ppc Wishlist > Bug Reports
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Bug Reports Post about errors or bugs encountered.

Bug or by design??

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-26-2010, 11:20 AM
Basic4ppc Expert
 
Join Date: May 2008
Location: Italy
Posts: 540
Awards Showcase
Beta Tester 
Total Awards: 1
Default Bug or by design??

Hi,

I am writing this little project and have all related project-files saved in a folder on my desktop.

Then, I decided to make new version of the project, so what I did was to simply copy the .sbp and rename the copy into "same_name_of_file+version2.sbp". The new file is still in the same directory and this is good since many resources (images, text-files) are still available without changing application-path. My project also has a module (saved as "MyModule.bas").

Now, working with the new source-code just created (copied), I also made some modifications to the module-file (.bas). No problems. At least, that was what I thought...

When I re-opened the original source-code (still in the same directory), my program did not work anylonger due to the modifications I had made in the module-file (.bas)!

So I guess, I am better off in the future to copy the whole directory with all resources and work on the new version in the new directory in order to avoid this problem. However, it would be nice somehow, if at least the module-file (.bas) was linked to the sbp-file by using the same name of the sbp-file in order to avoid similar problems.

I'm still using 6.80 so I don't know yet if this happens also in the new beta version.
__________________
rgds,
moster67
Reply With Quote
  #2 (permalink)  
Old 02-27-2010, 06:50 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

It is by design

A module file is more than an extension to your main code file. In many cases you can reuse a module file in different projects.
If you want to have several projects in the same folder then you will need to make a copy of the modules, change their names and then update your main file to point to the new modules.
__________________
Basic4android documentation
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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
GPS Software Design, Kokai Senbashi alfcen Open Source Projects 13 10-20-2008 07:52 PM
Wrong numUpDown control during design on the device specci48 Bug Reports 0 05-20-2007 08:24 AM
Desktop Version - Design and Code at the same time sloopa Basic4ppc Wishlist 2 05-08-2007 06:55 PM


All times are GMT. The time now is 08:15 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0