Hi,
I'm surprised having to ask about something that usually is a straightforward procedure. But for some reason, I am not able to fill a simple Listbox! I guess the key property is the "Items" -property. But it is uneditable, and I cannot write for example $LISTBOXITEMS$ in there. When I click the three dots ... I get this error: "Error reading redStrings.OnChange: Invalid property value."
What am I missing here? I'm using IA16.
Br, Janne
Filling a Listbox. How?
Re: Filling a Listbox. How?
Janne, I get the same error message as well. I've tried everything I can think of but I've not had a use for listboxes for quite a while. It seems like it should work without doing anything special. We'll have to wait for Francesco to comment when he has time.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
InstallAware MVP
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Filling a Listbox. How?
Dear Guys,
I found the same and I have already posted a note about it to our dev team.
Regards
I found the same and I have already posted a note about it to our dev team.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Filling a Listbox. How?
Francesco and Janne (CNC),
I downloaded and installed the latest 16.04 build and I'm happy to report that the listboxes are now working okay.
I downloaded and installed the latest 16.04 build and I'm happy to report that the listboxes are now working okay.

Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
InstallAware MVP
Re: Filling a Listbox. How?
Still not working for me. I installed version 16.05, but Listbox behavior is exactly the same as before. Are you using the Items -property of a Listbox bokkie? How did you get it to work?
Also, I'm confused about IA versions. Download page said version 16.05, but program shows build 6.15.13 (which apparently means 15th June 2013). From windows explorer I can see that some IA system DLLs were modified July 6th, so I guess the update was successful? Francesco, it might be a good idea to unify version numbers, so that users can be sure they are running the latest version.
Also, I'm confused about IA versions. Download page said version 16.05, but program shows build 6.15.13 (which apparently means 15th June 2013). From windows explorer I can see that some IA system DLLs were modified July 6th, so I guess the update was successful? Francesco, it might be a good idea to unify version numbers, so that users can be sure they are running the latest version.
Re: Filling a Listbox. How?
That's how I tested it. I did it from home Saturday morning, using 16.04 download. I did nothing more complex than create a basic template project and modified an existing dialog and added a listbox to it. I was able to add items to the listbox using the Items property. I'm at work now and have pre-16.04 version installed that is a problem for me. I'm downloading 16.05 and I'll test it in about an hour or so. I'll let you know what happens. But, yes, it really did work at home. 

Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
InstallAware MVP
Re: Filling a Listbox. How?
CNC, I just installed 16.05 at work. To confirm: I created a basic template project and added a new listbox to one of the existing dialogs in the project. Clicking ... next to the Items property works and I entered a few text strings into it. I built the project, ran it, and, voila! the text strings I entered appear okay in the listbox.
Something comes to mind: did you regenerate your licence file? I did that on my machine at home and here at work and both listboxes work fine. Could you be doing something different to me? The only thing I never install is the VS add-in as I prefer to keep my IA projects completely separate to VS.
Something comes to mind: did you regenerate your licence file? I did that on my machine at home and here at work and both listboxes work fine. Could you be doing something different to me? The only thing I never install is the VS add-in as I prefer to keep my IA projects completely separate to VS.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
InstallAware MVP
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Filling a Listbox. How?
Dear Guys,
I confirm that the issue has been fixed with version 16.03 of InstallAware.
Please regenerate your personal license file to activate the product.
PLEASE NOTE.
The InstallAware version currently served is 16.05.
Just regenerating the license and reinstalling it will be sufficient for 16.04 users.
Regards
I confirm that the issue has been fixed with version 16.03 of InstallAware.
Please regenerate your personal license file to activate the product.
PLEASE NOTE.
The InstallAware version currently served is 16.05.
Just regenerating the license and reinstalling it will be sufficient for 16.04 users.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Filling a Listbox. How?
Thanks Francesco. I think I have asked before but I can't be sure: when/how do you know if regenerating your licence file is all you need to do?
I routinely download the full product if I ever spot a change in the listed date to the latest version I have and I always regenerate the licence file afterwards. I know the licence file is necessary to stop the messages popping up when you run your setups but it clearly does other things. Just by looking, how would you say to yourself "Aha! I only need a new licence file and nothing else."
I routinely download the full product if I ever spot a change in the listed date to the latest version I have and I always regenerate the licence file afterwards. I know the licence file is necessary to stop the messages popping up when you run your setups but it clearly does other things. Just by looking, how would you say to yourself "Aha! I only need a new licence file and nothing else."
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
InstallAware MVP
Re: Filling a Listbox. How?
No luck with the listbox. Here's what I did:
1. Uninstall IA completely
2. Install latest version (16.05) (even excluded VS add-in to match bokkie's installation)
3. Regenerate license & install
4. New basic sample project
5. Add listbox to a dialog
6. Fail...still not able to add items to listbox. Same error as before.
???
I even tried installing IA on a different computer to see if it's a machine problem, but the same thing happened. I'm out of ideas with this one.
Br, Janne
1. Uninstall IA completely
2. Install latest version (16.05) (even excluded VS add-in to match bokkie's installation)
3. Regenerate license & install
4. New basic sample project
5. Add listbox to a dialog
6. Fail...still not able to add items to listbox. Same error as before.
???
I even tried installing IA on a different computer to see if it's a machine problem, but the same thing happened. I'm out of ideas with this one.
Br, Janne
Re: Filling a Listbox. How?
I suppose the inevitable question comes to mind: do you have full access rights to the machine you installed it on and disabled any antivirus program as well? What you've described is really odd. Win7? My machine at home and work are both 7. I'm really out of ideas at this point. 
I know this is probably wasting your time but could you uninstall using the ARP? Then go into the program files and delete any installation folder if there's one left. And then reinstall again. It's a desperate shoot-from-the-hip suggestion but I really can't think of anything else. It's almost as if there's a file left that's not getting overwritten or replaced.

I know this is probably wasting your time but could you uninstall using the ARP? Then go into the program files and delete any installation folder if there's one left. And then reinstall again. It's a desperate shoot-from-the-hip suggestion but I really can't think of anything else. It's almost as if there's a file left that's not getting overwritten or replaced.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
InstallAware MVP
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Filling a Listbox. How?
To CNC;
I may suggest you to try as follow;
- Completely Un-install your IA 16 product.
- Delete any any installation folder if there's one left ( ...as peter suggested).
- restart your machine.
- Re-install IA 16.05 once again "BUT DO NOT ACTIVATE IT", leave it as trial.
- Test if your problem still persist and report your results.
To Peter;
It is a good practice to download always the full IA package installer with runtimes and to keep it for later use (... along with the regenerated license file for that version).
When the update only includes IDE fixes, it is just enough to run the regenerated license file to have the product updated.
However, this also depends on the version currently installed and the update version you are going to install.
For example, if you updated from IA 16.03 to IA 16.05 a full update is required, from IA 16.04 to 16.05 it is enough license regeneration.
Regards
I may suggest you to try as follow;
- Completely Un-install your IA 16 product.
- Delete any any installation folder if there's one left ( ...as peter suggested).
- restart your machine.
- Re-install IA 16.05 once again "BUT DO NOT ACTIVATE IT", leave it as trial.
- Test if your problem still persist and report your results.
To Peter;
It is a good practice to download always the full IA package installer with runtimes and to keep it for later use (... along with the regenerated license file for that version).
When the update only includes IDE fixes, it is just enough to run the regenerated license file to have the product updated.
However, this also depends on the version currently installed and the update version you are going to install.
For example, if you updated from IA 16.03 to IA 16.05 a full update is required, from IA 16.04 to 16.05 it is enough license regeneration.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Filling a Listbox. How?
This is actually what I did with a second computer. In fact, that machine never had InstallAware before, so it was a completely clean install. I also left it at trial state. But... result is the same. I was surprised, because I expected it to work on a clean system in trial mode.FrancescoT wrote:- Completely Un-install your IA 16 product.
- Delete any any installation folder if there's one left ( ...as peter suggested).
- restart your machine.
- Re-install IA 16.05 once again "BUT DO NOT ACTIVATE IT", leave it as trial.
- Test if your problem still persist and report your results.
Regards
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Filling a Listbox. How?
Dear CNC,
to resume your current state;
- you have Installed IA 16.05 and left it as trial. Correct?
Could you please report to me the IA BUILD number?
It can be found selecting the Version button (Project View in IA IDE).
Regards
to resume your current state;
- you have Installed IA 16.05 and left it as trial. Correct?
Could you please report to me the IA BUILD number?
It can be found selecting the Version button (Project View in IA IDE).
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Filling a Listbox. How?
FrancescoT wrote:- you have Installed IA 16.05 and left it as trial. Correct?
Correct. Version info says: "InstallAware 16 (Build 7.6.13) H Five-0"
Who is online
Users browsing this forum: No registered users and 70 guests