No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I would like to write a program to be able to display the events in the windows event viewer logs. Currently I need to drill down thru menu items on the control panel to get to the event viewer and logs. Does anyone know where the event logs are held … |
|
The below code is used to access a webpage I called myPage.html by entering a password of 1234. Once the password is entered the User either clicks the Login Button or presses the "Enter" key. Clicking the login button works OK. My problem is that I have to press the … |
|
My laptop doesn't have a parallel port so I purchased a USB to parallel convertor. I wrote a program which sends data to the parallel port to turn on some LEDS and it works ok on a PC with a built in parallel port but it wont work on my … |
|
The following bit of code is to send a string of data to the usb port. How can I modify the code so I only send one byte of data to the usb port instead of a string? private void usb_OnSpecifiedDeviceArrived(object sender, EventArgs e) { this.lb_message.Items.Add("My device was found"); //setting … |
|
The following bit of code is from the Atmel AtUsbHid example. Can someone please explain the line DYNCALL(writeData)((UCHAR *)"12") which i believe is part of a DLL, maybe.... I know the code turns on and off a LED but i want to know how the code works.... [code] void CUsbHidDemoCodeDlg::OnLed2() … |
|
Can anyone explain why the OnKeyPress Event does not work with a TButton on the same Form. What am I doing wrong? procedure TForm1.Button1Click(Sender: TObject); begin Label1.Caption:='button'; end; procedure TForm1.KeyPress(Sender: TObject; var Key: Char); begin if Key='a' then Label1.Caption:='OK'; end; |