Mirage Engine
[MS4][Resolved] Error With Books - Printable Version

+- Mirage Engine (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+------ Forum: Bugs Reports (https://mirage-engine.uk/forums/forumdisplay.php?fid=9)
+------ Thread: [MS4][Resolved] Error With Books (/showthread.php?tid=3198)



[MS4][Resolved] Error With Books - Jonathan - 12-10-2009

I am having trouble with my book system that i made, there error only occurs when i try to save the book so im guessing its in the saving subs. I have tried to find and fix this error but it keeps eluding me. I am posting a download of the source incase anyone wants to help me.

Download: REMOVED


Re: [MS4] Error With Books - xp79 - 12-10-2009

I understand asking for help,
But posting your ENTIRE source?
are you sure?


Re: [MS4] Error With Books - Jonathan - 12-10-2009

Most of it is just stuff from tutorials section so....


Re: [MS4] Error With Books - Xlithan - 15-10-2009

I was going to help, until I noticed the source was using byte arrays.


Re: [MS4][Resolved] Error With Books - Jonathan - 15-10-2009

Fixed it, I had this

Code:
Public Type BookRec
    Name As String
    Page1 As String
    Page2 As String
End Type

Instead of

Code:
Public Type BookRec
    Name As String * NAME_LENGTH
    Page1 As String * 2000
    Page2 As String * 2000
End Type