|
H/PC Elite Posts: | 669 |
Location: | Canada | Status: | |
| I know Visual Basic and thought it would be very useful if I could write my own HPC programs for CE 2.0. However I remember when I had my first Casio E-100 (my first CE device) that VB "programs" for CE where basically a script saved as a *.vb file, is there a way to program in VB in such a way that you end up with an exe file?
The only programming I've done on CE devices was on my Jornada 720 (not the one I have now, but the one I had bought about 10 years ago) by writing HTML files on the Jornada itself that contained form elements and JavaScripts to program it. Unfortunately, IE in CE 2.0 doesn't support javacript.
Thanks
Edited by aab 2013-09-09 3:22 PM
|
|
|
|
Global Moderator H/PC Oracle Posts: | 12,663 |
Location: | Southern California | Status: | |
| Actually, in the first incarnation of eMbedded Visual Basic for CE 2.0, the files were written as .pvb files rather than .vb files. I'm a techno-idiot who has never learned thus far how to write programs, but based on my online research, only two developers tried their hands at writing .pvb programs: 1 ) Vincent Collura (of CEBeans fame, who later shifted to writing .vb programs for CE 3.0 ); and 2 ) Larry Roof, who pioneered Visual Basic programming for Windows CE and has written several references on Windows CE programming. A lot of folks here have written .vb programs, but you'll need at least a Windows CE 2.11 device to run them. But that tells me that programming in subsequent versions of VBCE is easier than it was in the initial version for CE 2.0. Have I succeeded in confusing you?
The only way to run a .vb program as an .exe is to write a separate small .exe file that in turn executes the .vb file. A lot of developers have done this in order to be able to embed their own icons to display with the program's shortcuts instead of the generic VBCE icon. |
|
|
|
Administrator H/PC Oracle Posts: | 17,955 |
Location: | United Kingdom | Status: | |
| In order to target CE 2.00 you will need the Windows CE Toolkit for Visual Basic 6.0 and Visual Studio 6. Then you can target as required. Neither were free.
VB for 2.11+ was free however. |
|
|
|
Global Moderator H/PC Guru Posts: | 7,188 |
Location: | USA | Status: | |
| But what program would one want to create anyways that there isn't already one out there? |
|
|
|
Administrator H/PC Oracle Posts: | 17,955 |
Location: | United Kingdom | Status: | |
| We need a Windows CE App Store that integrates directly into the SCL |
|
|
|
Global Moderator H/PC Guru Posts: | 7,188 |
Location: | USA | Status: | |
| No problem...I'll just whip up a little application that will search the SCL database and enable downloads based on search terms and whatever....here it is, all done... (hpcplay.jpg) Attachments ---------------- hpcplay.jpg (107KB - 1 downloads) |
|
|
|
Administrator H/PC Oracle Posts: | 17,955 |
Location: | United Kingdom | Status: | |
| Hmmm, good first dog food build!
Surely the CPU would be detected automatically from the device and have a direct download link to the CAB?
It should definately have the star ratings and screenshots too |
|
|
|
Global Moderator H/PC Guru Posts: | 7,188 |
Location: | USA | Status: | |
| Since we are talking fantasy here...how about it installs the CAB file remotely from your site directly onto the handheld? |
|
|
|
Administrator H/PC Oracle Posts: | 17,955 |
Location: | United Kingdom | Status: | |
| That's what I said |
|
|
|
H/PC Sensei Posts: | 1,169 |
Location: | Russia | Status: | |
| Rich suggests one-click silent download and installation I guess. |
|
|
|
Administrator H/PC Oracle Posts: | 17,955 |
Location: | United Kingdom | Status: | |
| Same answer
Let's imagine do it |
|
|
|
Global Moderator H/PC Guru Posts: | 7,188 |
Location: | USA | Status: | |
| When I download a program through my desktop, it asks me if I want to save it or open it...is that a function of the browser or my OS? |
|
|
|
Administrator H/PC Oracle Posts: | 17,955 |
Location: | United Kingdom | Status: | |
| It's the browsers file transfer logic, the OS provides the browser with the mechanisms to do it. The app would have to invoke a HTTP GET for the file, write it to c:\windows\temp and then execute the cab. After that it becomes quite difficult to automate |
|
|
|
H/PC Sensei Posts: | 1,169 |
Location: | Russia | Status: | |
| Quote C:Amie - 2013-09-13 12:12 PM
After that it becomes quite difficult to automate
There is /silent switch for the wceload. |
|
|
|
H/PC Sensei Posts: | 1,169 |
Location: | Russia | Status: | |
| And some /path switch also, CabInstaller works that way - it launches wceload with switches. |
|
|