LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PDA Custom Icon

Has anybody sucessfully changed the icon for a pda exe?

I have followed the instructions here:

http://digital.ni.com/public.nsf/allkb/AA87B627C42616C48625711A0063FFAF

But after doing this my application always fails to build (exactly the same source code).

I saved the original file and then tried to re-use that but still no joy.

I have had to uninstall the PDA module and then re-install it to get everything working again.

I want to use a custom icon but I am reluctant to try it again!!

LV8.20
evc 4

Thanks

ssk

Message Edited by ssk on 08-08-2007 08:21 AM

0 Kudos
Message 1 of 12
(15,811 Views)
Hi ssk,

I hope you are doing well today! How did you edit StringList.res? Did you install Embedded Visual C++ 4.0 on top of the LVPDA install and then try to open it? Or, were you able to open it directly? I will try to replicate your issue over here. If you can provide answers to those questions, that would be great! Have a nice day!

Message Edited by Adnan Z on 08-09-2007 11:16 AM

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 12
(15,715 Views)

Hi ssk,

I did edit the StringList.res file with EVC4. I simply cut and pasted some previously created icon images I had into the default LabVIEW icons. When I compiled my executables for 2 different platforms, my results were:

1) Worked Fine - Pocket PC 2003SE running on an iPAQ rx3100

2) Did not work - Windows Mobile 6 Running on an HTC PPC 6800

I'll keep after this issue with NI since I REALLY want this feature to work on all platforms for my applications. I'll also re-check my steps, but I'm pretty sure I did it right since it did work on PPC 2003SE. I'm guessing this is abug in one of NI's application builders.

0 Kudos
Message 3 of 12
(11,807 Views)
By the way, I'm using LabVIEW 8.5 with the corresponding PDA module, lots of bug fixes so far. Smiley Happy
0 Kudos
Message 4 of 12
(11,801 Views)
Hi gnange,

LabVIEW PDA Module 8.5 does not support Windows Mobile 6.0. Even though you can run PDA applications built for Pocket PC 2003 or Windows Mobile 5.0 devices on Windows Mobile 6.0 devices, we have not tested every functionality of 6.0. In any case, this was reported to R&D (# 4E1EHQGF) for further investigation, so we can make it as one of our test cases when we come out with the next version of LVPDA. Thanks for the feedback!
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 5 of 12
(11,779 Views)
Hi gnange,
 
LabVIEW PDA Module does not officially support Windows Mobile 6, but I was able to customize my exe icon. Have you tried renaming the application on the Windows Mobile device? The OS seems to cache exe icons, so if you have previously built your exe with the original icon, the newer exe with a newer icon might still show up with the original icon. Renaming the exe forces the OS to reload the icon. This is also true if you copy and paste the exe.
 
Also make sure to edit all the different sizes and color depths of the icon.
 
Regards,
miko
0 Kudos
Message 6 of 12
(11,652 Views)

Thanks Miko,

renaming it fixed it. Any ideas how to clear the cache without a hard reset?

0 Kudos
Message 7 of 12
(11,643 Views)

You can do a soft reset, instead of a hard reset. I don't know any other way to clear the cache. The easiest workaround is probably to rename the built application from the Build Specification dialog prior to deploying it to the Windows Mobile device.

Regards,
miko
0 Kudos
Message 8 of 12
(11,570 Views)
When I wrote this original thread, I had no success trying to compile with a custom icon.

I am now running LV 8.5 and am at a point in a project where I need to create a custom icon. But, exactly the same thing is happeneing.

I open up the resource file in evc++ 4, replace all instances of the icon with my custom version and then save the resource file.

I installed evc after installing LabVIEW.

When I build my application (which previously built with no problems), the build fails. The last part of the log file is:

Generating Code...
Compiling...
lvCEPDAMain.c
Generating Code...
CVTRES : fatal error CVT1100: duplicate resource.  type:MENU, name:105, language:0x0409
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

Any ideas?

Thanks

ssk
0 Kudos
Message 9 of 12
(5,423 Views)
Can anyone from NI shed any light on this problem? Does the error log indicate where the issue is?

I am getting close to the project end and need to have the custom icon implemented.

Thanks

ssk
0 Kudos
Message 10 of 12
(4,915 Views)