![]() |
Loading items in combobox from text file
I am trying to load the items in a combobox from a text file but whats it loading is the last line and not all the lines..
Pl help. Thnx in advance.. Code:
var |
Quote:
Code:
procedure GetFileLines(const FileName: string; var Combo: TComboBox); |
Quote:
Code:
procedure GetFileLines(const FileName: string; var Combo: TComboBox);I have second Combobox which is dependent on first combobox for its filename. Procedure is generating Combobox1.Items.Text as Line1Line2Line3(...).ini Pl tell me how to fix it.. Code:
Combobox2:= TComboBox.Create(WizardForm); |
Quote:
Code:
var |
1 Attachment(s)
Quote:
This code didn't work.. I am trying something else and I don't know whether it would fix it or not.. Pl have a look at the attached script.. |
1 Attachment(s)
Quote:
I added 2 modes. (I commented on the mode with external functions) |
Quote:
it's working smooth as butter.. |
1 Attachment(s)
Hey guys.
Can someone help me with a problem. I was wondering if you have a way to convert hexadecimal Cyrillic characters (string) to a string using only inno setup functions or just the windows API without including additional libraries. Summing up: I would like to convert: C := Chr($05E2); I attached a file with a function that uses this, but I can't get it to work without including an additional library (I don't want to use Libs) If some of the more knowledgeable users can help me, thank you in advance. Please look at the attached code. |
Quote:
Chr accepts byte value and returns ASCII value, $0532 is a Word value You must use #$???? For UTF-8 format, example C := #$05E2 |
Quote:
They are Word values. I know that chr only supports Byte and these type of characters are word type. But as in the script example, I need to convert a hexadecimal string read from the inno setup language file and convert it to a string (text). Code:
S1 := '<0420><0443><0441><0441><043A><0438><0439>';I want to do this using only API or in the script itself if there is im way to do this without external DLL. Please take a look at the script. |
1 Attachment(s)
Quote:
BTW if you are on discord pl add me (discord id: buntionly4u#4466) Code:
function InitializeSetup(): Boolean; |
Quote:
I get the string using the ISPP by calling the ReadIni function. Check the Russian.isl language language of Inno Setup and try to read the key LanguageName= using GetIniString and try to transform it into text as in your message. Download the ChrW script that you will understand. |
Hey guys&girls :p
I'm looking for a char (preferably) or icon (max 14x14px) to display free/need space, which can be understand in any language (or at least most). Anyone have ideas? I already had looked through windows charmap but can't find anything usefull. |
If we want to run any task during installation we can use below command which run the task or other program in a separate window:
Code:
function Exec(const Filename, Params, WorkingDir: String; const ShowCmd: Integer; const Wait: TExecWait; var ResultCode: Integer): Boolean;If yes then pl tell how to do it.. Thanks in advance.. |
Quote:
download ISutils and got the CaptureConsole.iss https://www.fileforums.com/showthread.php?t=99835 |
| All times are GMT -7. The time now is 09:14. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com