|
Post by steven522 on May 26, 2009 9:39:34 GMT -5
I tend to put all of my programs on a thumb drive and carry them with me everywhere I go. Is there a way to relocate Brutus2D on a flash-memory thumb drive so that it will run without having to re-install the program on every different computer I use? I tried copying the Brutus2D folder and the two OCX files I could find from the install to my thumb drive, but the editor refuses to open and display the source files.
|
|
|
Post by matthew on May 26, 2009 11:27:00 GMT -5
Yeah, I've been thinking for sometime about a no-install version of Brutus2D that could be downloaded & installed wherever you like. Btw, you haven't posted on the Basic4GL forum for a long time, lol.
|
|
|
Post by u9 on May 26, 2009 12:40:04 GMT -5
Without being an expert, i think all you need is to copy the files that brutus installs... hmm... actually maybe guilect can answer this better.
|
|
|
Post by steven522 on May 26, 2009 13:00:41 GMT -5
Btw, you haven't posted on the Basic4GL forum for a long time, lol. Yeah, I try a development system for a while until I run into, what for me, would be an insurmountable obstacle. I then search around for something else. I will probably be back lurking around after the next major update to the B4GL system.
|
|
|
Post by Guilect on May 27, 2009 18:19:13 GMT -5
I believe that besides having the OCX's, that you need to also register them.
|
|
|
Post by Guilect on May 27, 2009 18:24:43 GMT -5
Not sure how one would handle any ActiveX component like an OCX if you wanted to be a portable application. Seems like for any and every PC you would like to run on you would first need to install and register the OCX's. And you would not want to register them as being located on the thumb drive because if some other program used the same OCX and went looking for it, it would not be there when the thumb drive is removed. You would want to put these types of files in the Windows\system32 folder for access by any application. So, how do you make an app. portable if the app. uses activeX stuff that needs to be registered first before using? I am open to help here.
|
|
|
Post by matthew on May 28, 2009 0:22:45 GMT -5
From what I can figure out by looking on websites which specialize in no-install apps, the activex dependencies have to be installed on the host machine like you said.
I'd just package Brutus2D in two folders, one containing the application & another containing the dependencies.
|
|
Kuron
New Member
Posts: 21
|
Post by Kuron on May 28, 2009 7:31:39 GMT -5
You could try using ThinApp (formerly Thinstall) or maybe the new version of MoleBox that seems geared for portable apps.
|
|
|
Post by steven522 on May 28, 2009 8:24:10 GMT -5
I haven't tried this, but I'm guessing the "compiled" EXE created by Brutus2D does not require any extra OCX/DLL to run, correct? The extra files are needed for the editor?
If this is correct, would there be a way to get a non-editor, command line style compiler for the Brutus2D source? I tend to use an all-purpose generic IDE for the copies of FreePASCAL, FreeBASIC, etc., and call each program's command line compiler from it.
|
|
|
Post by Guilect on May 28, 2009 10:33:40 GMT -5
@ Kuron Both good programs, but pricey if I recall. Maybe they have a limited trial version that could be used. Will look into it.
@ steven522 You are correct. The OCXes are only needed for the IDE (editor). Commandline compiler...hmmmmm Would be some work to get such a thing going. Will look into just how much work would be requred. For error output would you need a pipe created or would a text file be OK?
|
|
|
Post by steven522 on May 28, 2009 15:02:23 GMT -5
The generic IDE programs I have tried and the one I currently use will capture console output for error messages. Some will even parse the captured output for errors if they all follow a standard format.
|
|
|
Post by Guilect on May 28, 2009 18:34:43 GMT -5
After giving it go, making a command line compiler version of B2D is not a trivial task. The code was never structured from the begining to work that way. Everything is inter-mingled.
You will have to stay with current IDE.
|
|
Kuron
New Member
Posts: 21
|
Post by Kuron on May 29, 2009 1:09:07 GMT -5
@ Kuron Both good programs, but pricey if I recall. I don't have ThinApp/Thinstall, but I do own MoleBox Pro. It is supposed to work with many OCXs (although I have never tried OCXs). If you want, I can give it a try for you this weekend?
|
|
|
Post by Guilect on May 29, 2009 6:20:36 GMT -5
If you have the time Kuron that would be great. Thanks.
|
|
Kuron
New Member
Posts: 21
|
Post by Kuron on Jun 1, 2009 6:36:57 GMT -5
*scratches head* My registration code for MoldeBox Pro will not let me access the downloads for the Pro version, I can only access the "standard" version which does not support DLLs/OCXs.
I have contacted support, but I haven't heard back yet.
|
|