Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
InForm-PE
@a740g

I must ask you seriously: what is the best way to commute old Inform projects, done with old Inform, into working project of nowaday  InformPE?

If I have old my projects, how I can convert them to the new Inform(PE)?

moreover for getting a good practice:
 how to share source code? 

Thanks for giving infos and tips
Reply
Simply migrate the project to the new InForm‑PE runtime. It should work without any major changes.

For example, take this application from Fellippe’s InForm demos repo: https://github.com/FellippeHeitor/InForm.../Stopwatch

In this project, you need to delete the falcon.h file as well as everything inside the InForm/ directory.

Once that's done, copy everything from https://github.com/QB64-Phoenix-Edition/...ter/InForm and paste it into the InForm/ directory.

That should be all you need to get it running.

Update: Well, "copy everything" was an oversimplification. You should exclude the following files.
UiEditor.bas
UiEditor.frm
UiEditorPreview.bas
UiEditorPreview.frm
vbdos2inform.bas

In a future update, I'll move the form designer source code out of the InForm‑PE runtime and into its own directory.
Reply
I had to do more than that. Changing $Include files, following Magdha's advice here:
https://qb64phoenix.com/forum/showthread...4#pid39384
That got the old stuff working except Fell's, Executor (sp?).

BUT! using the Master Inform PE zip I got the new files but the setup cmd thing for Windows does not work for me. So nothing new can be made with InForm by me. I am wondering why the .bas files for InForm PE cannot be compiled like any other .bas file?

PS @TempodiBasic
Quote:@madscijr
what?
do you like joking?
Informpe Gitub

No joke, what madscijr said is absolutely true!
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
@a740g @TempodiBasic @bplus

As Sam is infinitely more busy than I, I was going to create a thread in the InForm section with instructions on how to create a PE InForm project and how to convert an old v2 InForm project (method agreed with Sam).  And then that post can be made to always appear at the top of the InForm section.

But as Sam is going to move the appropriate material into the InForm section at some point, we'll wait for that.
Reply
@Samuel aka a740g 
@Maghda aka Richard
I got the message... pay paience and keek waiting for new evolutions!

@Bplus aka Mark
sorry I dunno that https://raw.githack.com is a mirror website for QB64pe repository. 
In this case the links posted by Madscijr are wrong or out of order.

but the link that I have posted works well QB64PE.

If you can spend a minute for testing this application? (compiling and running this test application)
I have built it with InformPE and QB64PE 4.2 in Kubuntu Os. 
There I have had some compiling issues... so the last day I have downloaded my 2 files posted there and I have compiled this application in Windows 11 using QB64PE 4.2 and the resource pack of distributions for InformPE that I have extracted into QB64PE folder. 
Well, it gives an error message for uncorrect handle from within Inform.ui module, then if it continues, the code doesn't work (it uses the way of setting handly the HelperCanvas property for working on a picturebox) while if it uses the canonical way ( drawing on picturebox using BeginDraw and EndDraw) it crashes!
I need to know if it gives the same warning error at the first phase when it loads and runs in RAM.
Thanks
Reply
Quote:@Bplus aka Mark
sorry I dunno that https://raw.githack.com is a mirror website for QB64pe repository. 
In this case the links posted by Madscijr are wrong or out of order.

This is THE LINK provided by the site! madscijr is NOT WRONG!
   
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
(02-03-2026, 12:21 AM)bplus Wrote:
Quote:@Bplus aka Mark
sorry I dunno that https://raw.githack.com is a mirror website for QB64pe repository. 
In this case the links posted by Madscijr are wrong or out of order.

This is THE LINK provided by the site! madscijr is NOT WRONG!

This is the Install Page Link

Looks like it was probably just a simple case of copy/paste which went stray. The only difference in the working link and the broken one is the file extension.

The broken one is .htm
The working one is .html

And that seems to me like it'd just be a copy/paste glitch not selecting the entire link to copy.
Reply
Yes I've been using it a couple of times still haven't managed to get new InForm PE files compiled.

Thanks to madscijr for alerting us to the missing l, I mean what the L ? Smile
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
(02-02-2026, 03:00 PM)bplus Wrote: BUT! using the Master Inform PE zip I got the new files but the setup cmd thing for Windows does not work for me. So nothing new can be made with InForm by me. I am wondering why the .bas files for InForm PE cannot be compiled like any other .bas file?
@bplus Mark, are you still unable to instal PE InForm?  My PE InForm instal worked straight out of the box, so why things are different is peculiar.  I shall never understand computers!

As I still have QB64 v2 & "Fellippe's" InForm installed, I started off by editing the InForm form with the old InForm, exiting & saving the Form & .bas, then using them with PE InForm.  That will work if you are desperate to create new InForm projects.  Not what we really want to do, though.

Interestingly, when I use PE InForm, the .bas file contains the Include lines
 '$INCLUDE:'InForm\InForm.bi'
'$INCLUDE:'InForm\xp.uitheme'
'$INCLUDE:'Project Form.frm'

& at the end
'$INCLUDE:'InForm\InForm.ui'

These lines reference InForm files in the InForm subdirectory which is not (yet) in the Project File folder.  But it works on my computer.  When I put these here, the program wouldn't work for you but did for others.  That's where we learned that it is necessary to include the InForm subdirectory when posting for use by all.

The methods would have to be given as guidance for distributing InForm projects.
Reply
Code: (Select All)
As I still have QB64 v2 & "Fellippe's" InForm installed, I started off by editing the InForm form with the old InForm, exiting & saving the Form & .bas, then using them with PE InForm.  That will work if you are desperate to create new InForm projects.  Not what we really want to do, though.

yes good idea! @Magdha If I get desparate enough to do something new. Actually my main idea is a little mod of your Trackwords or Wordtrack, adding the list box and scoring the non duplicated matches as mentioned before. I was hoping I might inspire you with the ideas Smile And then I can concentrate on some improvements to the Crypt like adding a text box for seeding a key and a more difficult to crack coding system but that can easily be done without inForm. (So can WordTrack for that matter though a GUI would be best it doesn't have to be InForm.)
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)