Basic4ppc. ERROR. Error loading program. NotSupportedException

darron

Member
Licensed User
Longtime User
Hi all,

I'm new to Basic4ppc but used to program in VB about 12 years ago and Machine Code(Assembley Language for those who remember) 14 years before that. I instantly felt at home with Basic4ppc and liked its speed for app building.

I'm brimming with ideas for code but can't get past the first hurdle.

Just to see it work, I created a Form with a TextBox and Command Button that changes the text when clicked. I still have a Palm Treo v500 to testbed the apps on but it refuses to run the .exe file I copied onto the phone RAM and memory card. The CF2 .Net update was already installed in ROM when I followed all your links and tried everything I could think of to resolve this problem.

Sorry if I'm being dumb but please help.

I WANT TO CODE!!

Thanks Darron
 

klaus

Expert
Licensed User
Longtime User
Did you code your program on the desktop ?
How did you compile the program ?
You should compile it with 'Compile EXE'
Did you install B4PPC on the device ?
You could try to test your program in the device IDE.
Otherwise could you post the sbp file ?

Best regards.
 

darron

Member
Licensed User
Longtime User
Klaus,

Now that's fast!!
I didn't realise I had to install Basic4ppc on the device aswell, just the .exe files.
I'm off to do just that.
Many thanks
Darron
 

mjcoon

Well-Known Member
Licensed User
I didn't realise I had to install Basic4ppc on the device aswell, just the .exe files.

No, Klaus didn't mean that you had to install on the device. (Basic4PPC generates EXEs that run on the device with only the support of DLLs that you have explicitly employed.)

He is merely trying to establish what route you took and what options you have already explored.

But running under the IDE debugging on the device is one way to get extra evidence.

Mike.
 

darron

Member
Licensed User
Longtime User
Boo Hoo.

I tried to install Basic4ppc-Device but after looking normal whilst installing, the Treo v500 reported that the .CAB file was not intended for this device.
Just to backtrack:
I did code it on the desktop.
I compiled it into a Device.exe
I then copied that file over to both the phone RAM and memory card as I couldn't see how to install it otherwise through WMDC as it never shows it in the list to install/uninstall.

What do you think?
Thanks in advance.
Darron
 

darron

Member
Licensed User
Longtime User
Erel + Klaus + mjcoon,

I just knew it had to be something so obvious that it would be laughable.

My fatal assumption was that Device.EXE(alt+1) was the default compile method and would work on all phones regardless of touchscreen ability.
The technerd in me went straight into overdrive and completely overlooked the obvious because I was too busy trying to install drivers and solve the Rubik's Cube blind-folded whilst standing on one leg!!

Yes, it worked first time when I compiled to Smartphone(alt+3)

I'm up, running and very happy.

Thank you very much.
Darron
 

darron

Member
Licensed User
Longtime User
Just an update to my recent plight.

You're software is brilliant.
Once I got used to want I had to work with, I designed and completely coded a simple app in about 12 hours. Done & distributed to the sales team in a weekend.
Either I'm good, the software is or both of us!
WOW!
My wive and children are about to become B4PPC widows!
I'm 14 years old again!
Thanks
 
Last edited:
Top