I am new to programming but I need to make a message box pop up on my screen everday at 5pm. From what I understand I need to use the ontimer function to do this. I was given some instructions on how to do it in the past but I didn't understand enough of the terms to do what was being talked about. Does anyone have some source code with some simple instructions that show how I could do this? Thank you very much. Mavrock
Mavrock
Posts
-
ONTIMER -
TimerThanks very much for the direction. I don't suppose you have some small source files you could send me. I'm new to programming and I have a hard time putting the code in the right place. usually when I see the source files I can just duplicate what was done before and make it work. Thank again. Mavrock my email is stonematthies@hotmail.com
-
TimerHi I would like my program to pull up a message box once a day on it's own. From what I understand I need to use a timer function. I would like it to give me a message box when the clock on my computer reaches 12pm everyday. Does anyone know a simple way of doing this? thanks Mavrock
-
Playing a wave or mp3 file in my programI am making a little program that recieves ascii commands from the serial port. I want to make the program play an audio file when it recieves a specific string. Does anyone know how to just play an audio file in the background without pulling up windows media player? Thank you very much. Mavrock
-
Thread and serial portDear Elaine, Thank you for the direction. If you don't mind I would really like to see your sample project. You can send it to me at stonematthies@hotmail.com. thanks. Mavrock
-
Thread and serial portI am new to programming. I have been given the task of making an application that recieves commands via the serial port. and then displays a notification that the commands were recieved. I have been told that I need to use a thread to do this. I'm not sure where the thread goes, I.E does it go in the source file or the header file? Or do I declare it in the header file and then put the functionality in the OnInitialDialog function? Thank you for any help. Mavrock
-
CreateFile & WriteFileI would like to send an ASCII string out my serial port by pressing one of the buttons. I don't need it to effect anything else just the one specific string. A friend gave me an idea how to do it. I was wondering if everyone could take a look at my code and tell me what I need to change to complete it. I hope this makes sense what I said. I am new to Visual C++ const char * AsciiCmd = "GO"; CreateFile(AsciiCmd, GENERIC_READ |GENERIC_WRITE, 0, 0, OPEN_EXISTING, FILE_FLAG_OVERLAPPED, 0); WriteFile(AsciiCmd, GENERIC_READ //I don't know what to put in next or if this is even going to work. thankyou for any help you can give. Mavrock
-
using CBitmapButtonI am a very new programmer and Visual C++ 6.0 is the first programming I have been learning. I am not very familiar with the terminology. I am trying to put a bitmap on a button using the CBitmapButton function. However I am getting the error "error C2065: 'pParentWnd' : undeclared identifier". I don't know what 'pParentWnd' means or how to declare it. Thank you. Stone
-
using CBitmapButtonI am very new to programming. I have started using Visual C++ 6.0. I am not very familier yet with the terms used in programming. I would like to put a bitmap in place of mu button using CBitmapButton. I have looked over many different sites from MSDN to codeguru trying to find out how to do it. Either I get to the end and it doesn't work for some reason or the words being used are too advanced for me to understand. are there any simpler instructions for using CBitmapButton, on the web? Thank you.