Board Logo
« Failing to make distributing exe »

Welcome Guest. Please Login or Register.
Nov 24th, 2017, 6:17pm


Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ


« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Failing to make distributing exe  (Read 1772 times)
sendalot
New Member
Image


member is offline

Avatar




PM


Posts: 2
xx Failing to make distributing exe
« Thread started on: Nov 15th, 2011, 10:12pm »

So I followed the steps in a guide that tells me to copy 9 files from JustBasic folder and rename jbrun101.exe to my tkn file name. (With tkn file in the folder)

But when I try to run it, I get this error.
"Runtime Error: Index: 0 is outside of collection bounds (see error.log for more information).

Below is pasted error message. Please help me!! Thanks!!



Code:
Error log timestamp Tuesday 11/15/11 09:46:46 PM

Runtime error: index: 0 is outside of collection bounds

Error(Exception)>>defaultAction
Error(Exception)>>activateHandler: <anUndefinedObject> 
Error(Exception)>>handle
Error(Exception)>>signal
Error class(Exception class)>>signal: <'index: 0 is outside ...'> 
OrderedCollection(Object)>>error: <'index: 0 is outside ...'> 
OrderedCollection(IndexedCollection)>>errorInBounds: <0> 
OrderedCollection>>at: <0> put: <anOrderedCollection> 
BasicOnDemandCompiler class>>readTknFile: <aMixedFileStream> callingProgram: <anUndefinedObject> commandLine: <''> 
Basic class>>start
Message>>perform
NotificationManager>>empty
NotificationManager>>runPendingEvents
NotificationManager>>runEventLoop
Message>>perform
Message>>evaluate
Process>>safelyEvaluate: <aMessage> 
Process>>evaluate: <aMessage> 


Error log timestamp Tuesday 11/15/11 10:11:36 PM

Runtime error: index: 0 is outside of collection bounds

Error(Exception)>>defaultAction
Error(Exception)>>activateHandler: <anUndefinedObject> 
Error(Exception)>>handle
Error(Exception)>>signal
Error class(Exception class)>>signal: <'index: 0 is outside ...'> 
OrderedCollection(Object)>>error: <'index: 0 is outside ...'> 
OrderedCollection(IndexedCollection)>>errorInBounds: <0> 
OrderedCollection>>at: <0> put: <anOrderedCollection> 
BasicOnDemandCompiler class>>readTknFile: <aMixedFileStream> callingProgram: <anUndefinedObject> commandLine: <''> 
Basic class>>start
Message>>perform
NotificationManager>>empty
NotificationManager>>runPendingEvents
NotificationManager>>runEventLoop
Message>>perform
Message>>evaluate
Process>>safelyEvaluate: <aMessage> 
Process>>evaluate: <aMessage> 
 
« Last Edit: Nov 16th, 2011, 4:48pm by Stefan Pendl » User IP Logged

tsh73
JB-Supporter


member is offline

Avatar




PM

Gender: Male
Posts: 3619
xx Re: Failing to make distributing exe
« Reply #1 on: Nov 16th, 2011, 01:21am »

Create TKN file in JB folder.
Drag'n'drop that TKN file over jbrun101.exe (in JB folder).
Does it work that way?
It should, if not, it might be something up with your JB install.

Next thing to check is to download working EXE from someone and check if it works
(sorry I have no suitable link as of now)

If second thing not working, then there is something that prevents it to run (antivirus running wild, I dunno).
« Last Edit: Nov 16th, 2011, 01:22am by tsh73 » User IP Logged

Q: "And if I took your codes and compile them, and sell them for a profit"?
A: Go ahead. I had my share of good then I coded it for fun, if you can make better use of it - please do.
(enjoying JB 1.01 on WinXP, netbook and desktop)
tsh73
JB-Supporter


member is offline

Avatar




PM

Gender: Male
Posts: 3619
xx Re: Failing to make distributing exe
« Reply #2 on: Nov 16th, 2011, 01:30am »

See also
Problem running .tkn files
- looks quite similar to your problems

ALSO Creating Your First Executable Program, Reply#30 and after - some kind of solution(s).
« Last Edit: Nov 16th, 2011, 02:04am by tsh73 » User IP Logged

Q: "And if I took your codes and compile them, and sell them for a profit"?
A: Go ahead. I had my share of good then I coded it for fun, if you can make better use of it - please do.
(enjoying JB 1.01 on WinXP, netbook and desktop)
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls