Program works fine, but fails as standalone
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Program works fine, but fails as standalone
Hi all,
I have a program that works fine when opened within LiveCode. I then save it as a standalone and the main part of the program no longer works! I am dragging and dropping files into a data grid. It changes colors like I want based on DragEnter and DragDrop, but it fails to process the files. Again, this works fine when opened within LiveCode.
Any ideas?
I have a program that works fine when opened within LiveCode. I then save it as a standalone and the main part of the program no longer works! I am dragging and dropping files into a data grid. It changes colors like I want based on DragEnter and DragDrop, but it fails to process the files. Again, this works fine when opened within LiveCode.
Any ideas?
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Program works fine, but fails as standalone
LiveCode and OS versions?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Program works fine, but fails as standalone
Hi!
LiveCode is 9.0 DP 10 (?).
OS is Win 10
I'll try on Win 7 too.
LiveCode is 9.0 DP 10 (?).
OS is Win 10
I'll try on Win 7 too.
Re: Program works fine, but fails as standalone
Does not work on Win 7 or Win 10.
Any ideas? Am I missing an option in Standalone settings?
Any ideas? Am I missing an option in Standalone settings?
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Program works fine, but fails as standalone
Recent versions of LC and Windows - that much is good.
When something works in the IDE but not as a standalone, most of the time it's because of missing inclusions in the Standalone Builder settings.
Double-check that you have selected the things that reasonably seem that you might need. Drag-n-drop is built into the LC engine so it always comes along for the ride. But the DataGrid may require being explicitly included. If you're using Internet connections make sure that's checked as well, and so on.
You can also turn on Automatic Inclusions, but personally I never use it. I like to know what goes into my apps, and I build often enough that the search time is worth saving for me.
Please keep us posted with how it goes.
When something works in the IDE but not as a standalone, most of the time it's because of missing inclusions in the Standalone Builder settings.
Double-check that you have selected the things that reasonably seem that you might need. Drag-n-drop is built into the LC engine so it always comes along for the ride. But the DataGrid may require being explicitly included. If you're using Internet connections make sure that's checked as well, and so on.
You can also turn on Automatic Inclusions, but personally I never use it. I like to know what goes into my apps, and I build often enough that the search time is worth saving for me.
Please keep us posted with how it goes.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Program works fine, but fails as standalone
Hey!
I selected the option to let me choose the "inclusions". I then selected "data grid" and saved it as a standalone application. That caused it to process the files with drag-n-drop!
Thanks!
I selected the option to let me choose the "inclusions". I then selected "data grid" and saved it as a standalone application. That caused it to process the files with drag-n-drop!
Thanks!
Re: Program works fine, but fails as standalone
I've developed a great way to make a stand-alone fail.
Just leave a break-point set when you compile.
Works every time.
Just leave a break-point set when you compile.
Works every time.
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.
Programming powered by coffee.
Re: Program works fine, but fails as standalone
So under DP 10 I cannot find the option to select "DataGrid" as an inclusion. Program seems to work when I can select "DataGrid" as an inclusion (earlier version of LiveCode) - but is failing to work in DP 10. I even selected EVERY possible inclusion and it still failed. No break points either.
I'm stumped...
I'm stumped...
Re: Program works fine, but fails as standalone
Never mind! It was not opening within DP 10. I see the option now. I'll report back if it works (first try failed).
Re: Program works fine, but fails as standalone
So I am stumped: Program works fine in LiveCode, but fails as standalone. I have even tried selecting all the inclusions and it still fails. Why could this be?
Win 10 - LiveCode 9 DP 10
Win 10 - LiveCode 9 DP 10
Re: Program works fine, but fails as standalone
OK, I got the standalone to work after selecting BOTH datagrid and table options in the DP 9 version.