February 5th, 2013 08:09 AM
Set up a timer (SetTimer)...it will read the port every so many milliseconds and you can update using that data.
January 25th, 2012 01:34 PM
November 14th, 2011 09:14 AM
If you are using MFC read up on CFileDialog.
If not MFC check out GetSaveFileName and GetOpenFileName.
November 11th, 2011 11:01 AM
I picture Harry shaking his head wondering *** happened to his thread.
As far as the rest goes.....I have to give the edge to Egawtry.
October 28th, 2011 09:58 AM
October 5th, 2011 09:16 PM
I had this same issue only with a RichEdit control.
You could try making a control variable to the edit box and use ::ReplaceSel with the second parameter as 0.
October 4th, 2011 09:17 PM
I have been doing a lot of reading on property sheets and property pages and have successfully generated modal and modeless dialogs using the information I found.
I am trying to make an SDI...
August 16th, 2011 10:23 PM
Ok so here is a shot at writing the LVITEM to the target process memory with a lot of help from a blog by Chris Taylor.
const DWORD dwBufSize = 1024;
August 14th, 2011 04:19 PM
Sounds like I am SOL!
Do you have any idea how to set the item state using what you suggest ?
August 14th, 2011 11:04 AM
So, barring the local variable, you are saying I have to write the LVITEM to the target process memory, then use SendMessage then read the results from the target process? Is this the only way it can...
August 13th, 2011 03:55 PM
I am trying to select an entry on a list control in another app. to make it look like I just left clicked on that particular list entry.
I am trying this code but it doesn't work, no errors but...
April 21st, 2011 02:22 PM
Treat it as a string and it is fairly easy to do.
If you have to do it mathematically take note of the addition required to get to each iteration.
From 1 to 12 you add 11
From 12 to 123 you add...
March 13th, 2011 05:53 PM
This might help:
February 2nd, 2011 11:31 AM
December 22nd, 2010 09:46 AM
If you use waitforsingleobject after createprocess, and you get a return value of WAIT_OBJECT_0, is this telling you the process has successfully started or that the process started, run its course...
December 8th, 2010 10:07 AM
Thanks itsmeandnobodyelse, the crt directory was exactly what I was in search of and I was able to locate it using the code breaks that Paul described. I am going to look into that idea of macro...
December 7th, 2010 11:01 PM
Thanks Paul, that works well.
December 7th, 2010 09:47 PM
I am looking for the source code for two string functions:
I am wondering if the source code is included with the installation of vs2008 or if some way to find it on...
November 28th, 2010 09:23 AM
The error message is pretty clear, VS can't find sys/time.h.
Change the line in pcap.h to the correct path.
November 27th, 2010 04:38 PM
Sounds like a perfect use for epoch time.
Check out http://www.epochconverter.com/programming/functions-c.php
August 3rd, 2010 09:34 PM
Thanks man, that should do what I need.
August 3rd, 2010 03:55 PM
MS Access 97
The difficulty is VB in Access is not behaving the same as VB in MS studio.
The following works in MS Studio VB
Dim date1 As Date
date1 = Date.UtcNow
but it won't work in VB...
August 3rd, 2010 10:58 AM
This may be more of an Access question than a VB question but I am not overly familiar with either so I am trying to cover all bases.
I need to convert local time to UTC (GMT) in a MS Access...