A few Windows Forms Questions

Hello, I've got three questions;
  • Firstly, is it possible to have an event when a certain keyboard button is clicked
  • Secondly, is it possible to write a .txt file
  • Furtermore, is it possible to send files, such as a .txt file via the internet to a certain E-Mail address
With Thanks,
                   Gal Beniamini.


Answer this question

A few Windows Forms Questions

  • Rick Broider

    Hi,

     Gal Beniamini wrote:

    Hello, I've got three questions;
    Firstly, is it possible to have an event when a certain keyboard button is clicked


    yep, possible. http://msdn2.microsoft.com/library/07t9694z(en-us,vs.80).aspx

     Gal Beniamini wrote:

    Secondly, is it possible to write a .txt file


    yep, possible also. http://msdn2.microsoft.com/library/19czdak8(en-us,vs.80).aspx

     Gal Beniamini wrote:

    Furtermore, is it possible to send files, such as a .txt file via the internet to a certain E-Mail address


    yep, also possible. Here's a sample code that uses SMTP. http://msdn2.microsoft.com/library/ms173026(en-us,vs.80).aspx




    cheers,


    Paul June A. Domag



  • Lilian K

    Hello, Thanks very much for the help but I'm sorry I didn't make myself very clear, I'm only using Visual C++ so although the answers are valid, I cannot use them. Therefore, I've still got some questions;
    firstly, is there a way to check when a key is clicked (not in a textbox) when my application is running in the background (and to determine which key was pressed)
    Secondly, I still need some help finding the SMTP example in VC++.

    With Thanks,
                       Gal Beniamini.

  • A few Windows Forms Questions