x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Kilotecs Software Corner

« Prev 1 2 3 4 5 6 7 8 9 10 Next »
torch Page Icon Posted 2023-02-06 7:13 PM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,733
Location:
United States 
Status:
Fair enough, I'd try it on your Jornada 680 or 690 and check to see what happens there in the meantime.
Enjoy your bath!



(treat-yo-self.jpg)



Attachments
----------------
Attachments treat-yo-self.jpg (47KB - 0 downloads)
 Top of the page
Citgo Page Icon Posted 2023-02-06 7:17 PM
#
Avatar image of Citgo
Factorite (Elite)

Posts:
178
Location:
Germany 
Status:
I will. the error must be somewhere.

haha Thank you
 Top of the page
C:Amie Page Icon Posted 2023-02-06 7:27 PM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
17,986
Location:
United Kingdom
Status:
Quote
Citgo - 2023-02-06 3:05 PM

Btw... a short question: why should I use screenshots from the physical device instead of screenshots from the emulator?
Because of the right dimensions?

Next app is in progress
Correct, the SCL is designed for HVGA, VGA get shrunk down rather small.
 Top of the page
Citgo Page Icon Posted 2023-02-06 7:30 PM
#
Avatar image of Citgo
Factorite (Elite)

Posts:
178
Location:
Germany 
Status:
Ok thank you C, then I will take them of my device
 Top of the page
torch Page Icon Posted 2023-02-06 7:30 PM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,733
Location:
United States 
Status:
Quote
C:Amie - 2023-02-06 12:27 PM

Quote
Citgo - 2023-02-06 3:05 PM

Btw... a short question: why should I use screenshots from the physical device instead of screenshots from the emulator?
Because of the right dimensions?

Next app is in progress
Correct, the SCL is designed for HVGA, VGA get shrunk down rather small.

Yeah on some of the screenshots I helped you with when I used my CE thin client, I cropped them down to 640x240 HVGA so the SCL listings look neater. Obviously I didn’t do a 100% amazing job at the crop but it gets the point across.
 Top of the page
C:Amie Page Icon Posted 2023-02-06 7:33 PM
#
Avatar image of C:Amie
Administrator
H/PC Oracle

Posts:
17,986
Location:
United Kingdom
Status:
Your wider issues highlight why constantly reinstalling runtimes is a bad idea. It would appear that there is a wider issue in the .vb, but regsrving DLL's over and over unecessarily just risks corrupting the registry. MS really screwed up with the deployment for .VB's. They eventually learnt with .net: you handle the runtime and the rest works itself out.
 Top of the page
Citgo Page Icon Posted 2023-02-06 7:38 PM
#
Avatar image of Citgo
Factorite (Elite)

Posts:
178
Location:
Germany 
Status:
OK I can understand that. But I haven't installed any more runtimes. I always said no during installation.
Maybe my device got too much with the constantly new apps from me.
Oh it's annoying. Tomorrow is a new day so I'll see what I can do.
 Top of the page
torch Page Icon Posted 2023-02-06 7:43 PM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,733
Location:
United States 
Status:
Oh. Other than your very first apps, I don’t use the cab file installers you have at all. I always just extract the cab and grab the .vb file and its support files.

I will say if you’re installing cabs and uninstalling vb programs too it has a tendency to mess everything up. Another reason I like the runtime less installers or the raw vb file
 Top of the page
Citgo Page Icon Posted 2023-02-06 8:49 PM
#
Avatar image of Citgo
Factorite (Elite)

Posts:
178
Location:
Germany 
Status:
that is very interesting. I never expected that. is this a CE problem? for the user from whom you should ask the least, the installation files are of course great.

ok that means if I already have a VB program installed I don't really need to install the next one? although I deny the runtime installations? the user would then have to install the runtimes and extract the program individually. is of course expensive.
 Top of the page
torch Page Icon Posted 2023-02-06 9:14 PM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,733
Location:
United States 
Status:
In an ideal world - eventually, you should get your cab files to be like this program:
https://www.hpcfactor.com/scl/1/Alpaxo_Software/Quackenchat/version_0.5.2?page=details
The cab would be "CEF", meaning install without regard to architecture for CPU
I extracted the cab and this is all it does:
Files	Order Number	Flags	ID Dir	FileName in CAB	FileName 
 
001 001 0x00000000 \Program Files\Quackenchat QUACKE~1.001 "Quackenchat.vb"
002 002 0x00000000 \Program Files\Quackenchat QUACKE~1.002 "Quackenchat.bmp"
003 003 0x00000000 \Program Files\Quackenchat QUACKE~1.003 "Quackenchat.wav"

*****************************************************************************************************************************************************************

ID S. Shortcut Name Installed at Points to

001 Quackenchat.lnk \Windows\Start Menu\Programs "Quackenchat.vb"


Installs those top three, then links the .vb into the start menu.

Then it's up to user to install the runtime, since different CE versions have different runtimes. That's why C:Amie made that new Visual Runtime 2.0 thingie

Edited by torch 2023-02-06 9:15 PM
 Top of the page
Citgo Page Icon Posted 2023-02-06 9:30 PM
#
Avatar image of Citgo
Factorite (Elite)

Posts:
178
Location:
Germany 
Status:
So I only need the .vb file and of course things like sounds and pictures? Ok...easy. but I dont k ow what happens when files are saved in the app. Trying to save to the app.path. there is no known app path then when it is not installed. Mhh... I will try this tomorrow.
Then, of course, it is important to link the runtimes in the SCL entry or make a big hint that the user k ows what to do.
 Top of the page
torch Page Icon Posted 2023-02-06 9:35 PM
#
Avatar image of torch
Subscribers
H/PC Guru

Posts:
5,733
Location:
United States 
Status:
True, C:Amie and I are working on making sure every single VB program has a way for the user to be informed where/how to download the runtimes.

Make sure when you do build your cab to mark it "CEF"

Basically, I think all you have to do is build a cab as "CEF" and select no to installing the runtimes - I don't think you'd need to change anything else?

And again, I'm never intending to criticize or rush you, I just like to offer suggestions where I can so I can hope to assist for future efforts.
 Top of the page
Citgo Page Icon Posted 2023-02-07 6:54 AM
#
Avatar image of Citgo
Factorite (Elite)

Posts:
178
Location:
Germany 
Status:
So, today I copied all .dll I needed for the app to the windows folder because the app need some of the dll. Or better said, O had these dll still in my windows folder because of the other apps. Then I started only the .vb file from my CF card.
Same here, hourglass and nothing happend.
There must be something wrong with the .vb file

Edited by Citgo 2023-02-07 7:08 AM
 Top of the page
Citgo Page Icon Posted 2023-02-07 7:58 AM
#
Avatar image of Citgo
Factorite (Elite)

Posts:
178
Location:
Germany 
Status:
I guess I found the problem!
There's a variable for the background color of the forms.
When the app starts, the variable is queried and the background color for all shapes is set accordingly. This works in the emulator without delay. The program freezes on the device and the hourglass appears. So there was no problem with the runtimes being internal. I still don't understand why.
 Top of the page
Citgo Page Icon Posted 2023-02-07 1:55 PM
#
Avatar image of Citgo
Factorite (Elite)

Posts:
178
Location:
Germany 
Status:
Ok...everything works fine now.
The problem was a sub function. Don't know why but...ah... now it works
Next app is coming. Will take some screenshots today.
It's an app which I will also use by myself.
 Top of the page
« Prev 1 2 3 4 5 6 7 8 9 10 Next »
Jump to forum:
Seconds to generate: 0.25 - Cached queries : 73 - Executed queries : 9