|
eg_Anubhava wrote: It is working same as i want.
Yes, but it's not doing what you're requesting. You'll need to map from a key to a character yourself, that's what Refog does.
"Enjoy"
|
|
|
|
|
Dear Sir,
Actually it's my english problem but my meaning is same like that.
so can u please describe me how can i do like refog personal keyloger.
If you can think then I Can.
|
|
|
|
|
eg_Anubhava wrote: Actually it's my english problem but my meaning is same like that.
Your English is good enough. The first post has the answer that explains what Refog does. Now, you didn't ask what a character-encoding is, so I'm assuming that you know.
eg_Anubhava wrote: so can u please describe me how can i do like refog personal keyloger.
What the hook gives you back isn't the "text" that the user types, it gives you the code of the key that has been pressed. The same key will produce different characters in different languages. You'll have to translate those language-independent keycodes to the characters of your language.
(Did you notice that there are more characters than keys?)
I are Troll
|
|
|
|
|
Dear Sir,
Actually Keyboard Hook Capture the keystock and Generate the KeyChar.
If your Keyboard Lanugage is English(Us) then it is working fine (it returns the English Character).
But if Your Keyboad Language is Russian or Something Else then I want to get the KeyChar of Russian (Selected Language).
But Normal Keyboard Hook Return the English Keychar.
So please explain me how can i do that.
If you can think then I Can.
|
|
|
|
|
eg_Anubhava wrote: So please explain me how can i do that
I'm sorry, but I tried and failed. You'll need someone who can explain it better or in more detail.
I are Troll
|
|
|
|
|
Please work with unicode character or Use Keyboard other Languages.
Then Check it.
Change your Keyboard Language to Abrahic then Press key
Keyboard Hook Capture US Key Character A
But Refog is showing a real Word which u r typing ф;
If you can think then I Can.
|
|
|
|
|
You have to find out the keyboard type (perhaps via WMI) and then translate the virtual key codes to the corresponding characters. You may have to "remember" whether shift/control/alt have been pressed/released before.
|
|
|
|
|
Hello Sir,
One Idea is now generated in my mind. It may be capturing Unicode characters.
What r u think about it.
If you can think then I Can.
|
|
|
|
|
I am working on HTML Table. I have to get all the values in each cell to DataTable. can anyone help me out with this?
Is it possible to do that. if it is possible then please help me with the logic.
|
|
|
|
|
This[^] may help you.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
|
|
|
|
|
the code is in vb.net, can i get it translated into c#
|
|
|
|
|
I'm afraid that is something you will need to try yourself.
This link should, however, give you a general idea on how to solve your problem.
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
|
|
|
|
|
There is an online converter here[^] - I use it when responding to VB questions. (It works both ways, C# <-> VB)
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
|
|
|
|
|
Get the table id from document.getElementById(), iterate over table and do what you want to do.
May be something like this
var tbl = document.getElementById("tblInfo");
var rowCount = tbl.rows.length;
var Data = "";
for (var i = 1; i < rowCount; ++i) {
var row = tbl.rows[i];
var name = row.cells[0].childNodes[0].value;
var contact = row.cells[1].childNodes[0].value;
var email = row.cells[2].childNodes[0].value;
Data += " VALUES ('" + name + "','" + contact + "','" + email + "');";
}
|
|
|
|
|
i have table 1 and table 2, both have same schema. i want to insert rows from tabel2 into table1 at some particular position say position 3. how can i do it. with import row it inserts row at the end of the table so it cant help me.
|
|
|
|
|
You have to create a third table.
And insert in it as you want
|
|
|
|
|
how is it possible can u please write some lines of code if possible. i tell you what i want is i want ROW1 from table 1, ROW2 from table 2, ROW3 from table 1 etc. i tried to use insert at and the issue it throw is row belongs to other table.
|
|
|
|
|
Select rows you want from table1 insert it into 3rd table.
Same for table2.
Then you have table3 with rows you want.
If you want them in ordered way then you must have unique key on which you can sort table.
|
|
|
|
|
You cannot copy DataRow objects from one DataTable to another unless they have the EXACT same schema.
Your better option would be to create a new DataRow in the target table and copy the values you want from the source table.
|
|
|
|
|
i did it with creating row instance for both the tables (table1 and Table 2) and then set Table1Row.ItemArray = Table2Row.ItemArray; and then added the row to table one at desired location. it worked fine....... thanx for your replies it was of grt help
|
|
|
|
|
I wanted to create a database very quickly and since I am most familar with C# and COM (and C++), I have used Access via Interop. I have had no problems reading my database but modifying it is another story.
Basically the following doesn't work:
recordSet.Edit();
recordSet.Fields[4].Value = "Free";
recordSet.Update(2,true);
There are plenty of VB examples of this stuff that apparently work. The exception I am getting on the Update is "Invalid Argument". I suspect very strongly that there is a type mismatch between the C# string type and the Access/SQL Text type. But how do you recast C# string to a SQL Text?
Interestingly using Encoding.ASCII.GetChars changes the exception to "Data Conversion Error" further indicating that I have in fact got a type mismatch.
So any sample code on what I suspect is a simple solution for those that know?
|
|
|
|
|
There is no mismatch between a .net string and sql varchar. Make sure the field is correct.
You should really spend some time learning ADO.NET, the benfits over the old, outdated DAO methods will be worth the time
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
I am not sure what use mean by field is correct. I have no trouble reading from the field like this:
string something = (string)recordSet.Fields[4].Value;
So why can't I write back a new value? Regards using DAO - I am using Interop to connect to the Access COM interface. So if you use accessObject.Application.DBEngine want is returned is a DAO.Engine . Is there a way of returning a ADODB Engine instead?
|
|
|
|
|
Hi all. . . . is there any solution to measure the WI-Fi signal strength in C sharp .net, or in any other language.
help will be highly appreciated.
|
|
|
|
|
A very quick google gave this[^] as the top result.
Learn to use Google: all I did was search for "measure the WI-Fi signal strength in C sharp" which I pasted from your question...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
|
|
|
|