I can't use keystrokes - keystroke

I use UniKey 4.2 RC4 to type Vietnamese and English text, recently I can't use Ctrl Shift to switch between typing English and Vietnamese on my computer.
Help me to fix this please

Related

Is it possible to insert unicode strings with input VB6 control's in a SQL Database?

I am trying to Insert Unicode strings into a table using the Internal vb6 controls(text,List,ect..) .
But when I try to do that , VB6 Control's convert that string , and different string is stored.
Am I forgetting something or is it a visual studio issue?
I found a reference to a software package(3rd-party controls) :
http://www.cyberactivex.com/UniSuiteFree.htm
I used This package and it done , but would also be curious to hear feedback from anyone who has used these or other ones :)
Original VB6 forms components did not do a good job with Unicode, although once you get Unicode strings into VB6 code you are mostly ok. You need to use the 'B' forms of string operators, like midb(), lenb() etc if you are doing any string maniputaion. You also may want to check your SQL parameter declarations to ensure you are using the unicode options. Otherwise it is all do-able.
Try the advise at this MS Support article.
Edit: After prompting from #Bob I read the MS Support article I linked to in more detail and take the point that forms2 is not a great bet for VB6 forms unless you have a more-than-usual level of control over the target machines.
In my own case I used a commercial component named Unitools from Woodbridge Associates but I cannot find their website today. Unitools included Unicode-aware label, text box, combo and list controls. Anyone able to provide a link ?

What's a way to implement backspace working in field in ncurses

I am try to create tui via ncurses. And I have same problem.
There are two fields:
Name
_______
Password
_______
How to implement backspace-support in each field ?
And how to use '*' to show each character in password-field ? (Now I use field_opts_off(field[1], O_PUBLIC);and it doesn't show characters in password-field, only move cursor).
Thank you.
There is no tutorial for the forms package that I recall. However, the ncurses test-programs (which are available separately as ncurses-examples) contains a program demo_forms which does implement deletion by maintaining the edited field contents as a hidden field buffer, and decrementing its length in the case for REQ_DEL_CHAR.
Here is a screenshot of the program:
Regarding the "non-ncurses" suggestion: dialog is a curses/ncurses application, and has no particular dependency upon bash.
"Non-ncurses" solution (just for an alternative):
You can use dialog program to perform this task in a very easy way. Just run some linux system commands from C to achieve a nice TUI.
If you want to install it, the package name is dialog too.
For a textfield, you can do: dialog --inputbox <text> <height> <width> [<init>]
For a password field: dialog --passwordbox <text> <height> <width> [<init>]
For more info: http://bash.cyberciti.biz/guide/Bash_display_dialog_boxes

Joomla! russian language file ( ini ) issue

I am creating a multilanguage web site in joomla!. English and Russian. When I tried to edit the "languages/ru-RU.ini" and added the following line
CALLUS="озвоните нам"
When save and reopen the "ini" file then the "озвоните нам" part will goes like
CALLUS="????????? ???"
In main site also giving those question marks.
Any idea guys ?
Please help
Thanks in advance
Try open it with an editor like Notepad++ and make sure format->encode UTF-8 (No BOM) is selected, and if not then choose the Convert to UTF-8 (No BOM), and then save.
Should solve your problem.

Is there a way to get the 'Visual-Format Language' of AutoLayout XIB?

I'm slamming into brick walls.
Is it possible to get the Visual-Format Language generated from an AutoLayout XIB?
I wish to emulate the XIB equivalent in code.
When you NSLog constraints, the log displays them in the visual format language.
NSLog(#"%#", self.view.constraints) ;
I created a UIButton in Interface Builder and dragged it to the upper-right corner of a view,
, and here's the NSLog:
"<NSLayoutConstraint:0x75b19f0 H:[UIRoundedRectButton:0x75ae6a0]-(NSSpace(20))-| (Names: '|':UIView:0x75ae560 )>",
"<NSLayoutConstraint:0x75b1a50 V:|-(NSSpace(20))-[UIRoundedRectButton:0x75ae6a0] (Names: '|':UIView:0x75ae560 )>"
They're the same as creating constraints with visual format language:
H:[button]-20-|
V:|-20-[button]
If you're familiar enough with the visual format language, you should be able to express most constraints you can think of in the language, without needing to create them in Interface Builder and reverse-engineer them. Let me know if there's a constraint that you're unable to build in code.

J2ME Polish Textfields and Symbian^3 Touch Devices

today's question is about the use of textfields in J2ME Polish for Symbian^3 devices.
In my code I have something like this:
TextField digitValueText = new TextField ("Number", "", 1, TextField.NUMERIC);
This works perfectly fine on other symbian devices (s40, s60, etc), however, when I go and test it on a Nokia N8 (Symbian^3) I can't input numbers, nor does the device allow me to select the textfield to popup the keyboard.
Has anyone else gone through this problem?
the textField has to be numbers-only since we don't want the users to input text (it's for authentication).
Thanks in advance!
EDIT: So it seems that this behavior is from polish.TextField.useDirectInput, TextField.NUMERIC inherits the behavior by default...
still any ideas on this?
Change the project configuration to Generic/AnyPhone.

Resources