|
There are two ways of getting your prototype. Either you pay someone to write it, or here's a novel suggestion, YOU WRITE IT YOURSELF.
|
|
|
|
|
I think if you make a windows service and set's atatus to AUTOSTART, it's solve your problem.
if your means from System start is "boot", you can make you exe file and write it's address into autoexec.bat file to run it when your system boot.
|
|
|
|
|
You have completely misunderstood the question.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
|
.
"I need build Skynet. Plz send code"
|
|
|
|
|
Hi! I am putting together a key logger. So far it knows which window is selected, but how can I find the title of a selected control (for example a password field or a text box)?
Still learning...
|
|
|
|
|
nike_arh wrote: I am putting together a key logger
Why?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Well, I want to know which is the selected control, where is the typed text going to.
Another thing that came up just now: Can I manipulate the key logger from my computer?
Lets say if I want to download the *.log file with the data, I just use a program rather than the data being sent to my mail.
Still learning...
|
|
|
|
|
We know what a key logger is. What we want to know is WHY you want to write one. There are very few legitimate reasons to use one, and the simple fact that you want to know whether you're keying into something like a password textbox tells me that you're not erring on the side of legality.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
The problem is. Key Loggers are usually used for nefarious purposes. Unless I am satisfied that you are not intending this, I would not offer any help.
So once again, why?
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
The whole purpose is self satisfaction.
Me and my girlfriend used to play a word game on the net, but she always won. This irritated me, so I made a program to beat her.
Now's the same thing. When she types her password she hides it. One day I told her "Why hide it? I can see it whenever I want." (I knew the password but she started nagging and changed it). That's why I'm determined to make the key logger. (by the way she knows that I am working on it)
If I wanted to use it for some nefarious purpose, there is a wide choice of applications, why not download one.
Still learning...
|
|
|
|
|
The program is ready and working. These are just some improvements.
Still learning...
|
|
|
|
|
I don't want to read a post that has the words girlfriend and self satisfaction situated anywhere near each other.
Now - we don't want you to get your CP rights removed, which is what will happen if we give you help on this; also, you're likely to have your testes surgically removed with a soup spoon.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Soup spoon? Pah! Angry girlfriends have no need for utensils.
10110011001111101010101000001000001101001010001010100000100000101000001000111100010110001011001011
|
|
|
|
|
They do, if they reach down your throat to do it.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
Not even a rusty spoon with a ragged edge?
|
|
|
|
|
Convince us you're not using it for evil before we give you any assistance.
PS Good luck, you'll need it.
It is a truth universally acknowledged that a zombie in possession of brains must be in want of more brains.
-- Pride and Prejudice and Zombies
|
|
|
|
|
nike_arh wrote: I am putting together a key logger
Stop right there. Get lost.
There is no way anyone around here is going to help you with this. Why?? Because the answers we give would help some other person who does not have the same sense of "ethics" you do. Sorry, but we're no opening ourselves up to litigation and/or criminal charges for aiding an illegal activity.
|
|
|
|
|
I have a float in a binary file ( 0x00, 0x00, 0x06, 0x8B ) (1675), on a Windows Machine, How do I read it in from a binary file in c#?
(The file was written big endian, I am trying to read it in on a little endian computer)
Currently I
{
BinaryReader BR = new BinaryReader(File.Open("test.bin", FileMode.Open), Encoding.BigEndianUnicode);
byte[] arr = BR.ReadBytes(4);
BR.Close();
float altmsl = GetFloat(arr, 0);
}
static float GetFloat(byte[] fullpacket, int startindex)
{
byte[] intarr = new byte[4];
Array.Copy(fullpacket, startindex, intarr, 0, 4);
Array.Reverse(intarr);
return BitConverter.ToSingle(intarr, 0);
}
and this returns a number to e-22
double, and int works just fine
|
|
|
|
|
Greg Mort wrote: 0x00, 0x00, 0x06, 0x8B
If by this you mean the lowest address holds 00, the highest 0x8B then it does not look like big-endian to me.
Check: skip the Array.Reverse() and watch your code return 1675?
|
|
|
|
|
correction
I see no way {0x00, 0x00, 0x06, 0x8B} could equal 1675
in fact on Intel processors the float number 1675 is stored as 00 60 D1 44 so only one byte is zero.
FWIW: the double number 1675 is stored as 00 00 00 00 00 2C 9A 40
|
|
|
|
|
|
Hi Greg,
I think you could use this code ( for little endian) :
int result = 0;
int limit = 4;
static float GetFloat(byte[] ToArray, int startindex)
{
for (int i=0; i <limit; i++)
{
byte thebyte = ToArray[startindex +limit-i-1];
result = result << 8;
result = result | thebyte;
}
return result;
}
I didn't manage binaries numbers wrote using big endian over little endian , but i think they are opposite in writing mode.
Try this, If it doesn't work change [startindex +limit-i-1] to [startindex +i]
hope this help you.
|
|
|
|
|
FYI, 0x0000068B is the int32 representation of 1675, not float. Also, if you're using the BinaryReader class, why not just use the ReadInt32, ReadSingle, etc. methods? Will they not work when you specify the endian-ness of the file?
Dybs
|
|
|
|
|
Hi to all,
I have a problem with a monochrome printer. ( samnung SCX-4x21 series)
I have a program that write a report on a printer. ( the content of the report consist of colored text and graphic objects ; I mean plain text, lines, rectangles , images..)
The problem is when I print the report on a monochrome printer. In this case for the objects with a black property color the rendering to the printer is ok , but for the objects with colored property the rendering to the printer is wrong. What is printed is a dirty gray color with wrong grain points.
I thought by myself that a monochrome printer translate a colored page content in a monochrome color automatically. doesn't it steel true? or am I wrong something?.
My snippet code is :
...
Printer = new System.Drawing.Printing.PrintDocument();
Printer.BeginPrint += new PrintEventHandler(doc_BeginPrint);
Printer.PrintPage += new PrintPageEventHandler(doc_PrintPage);
Printer.EndPrint += new PrintEventHandler(doc_EndPrint);
PrintController standard = new StandardPrintController();
Printer.PrintController = standard;
void doc_BeginPrint(object sender, PrintEventArgs e)
{
Printer.PrinterSettings.DefaultPageSettings.Color = false;
}
void doc_EndPrint(object sender, PrintEventArgs e)
{
}
void doc_PrintPage(object sender, PrintPageEventArgs e)
{
Pen ePen = new System.Drawing.Pen(Color.Orange, 1);
Font eFont = new System.Drawing.Font("Tahoma",08,FontStyle.Regular);
SolidBrush eBrush = new SolidBrush(Color.Red);
e.Graphics.DrawRectangle(FCanvasPen, e.MarginBounds.X, e.MarginBounds.Y, e.MarginBounds.Width, e.MarginBounds.Height);
e.Graphics.DrawString("some text", eFont , eBrush , 220, 50);
eFont.Dispose();
eBrush.Dispose();
ePen.Dispose();
e.HasMorePages = false;
}
Probably is a stupid question, but i can't get rid of.
Could someone help me to solve
|
|
|
|