CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Simon666

Page 1 of 5 1 2 3 4

Search: Search took 0.11 seconds.

  1. Re: Extracting time stamps from pdf

    Wow, that works even better. Thanks a lot. There were 400+ occurrences in one file alone, I had seriously underestimated the number of occurrences and the manual work it would have taken. There are...
  2. Re: Extracting time stamps from pdf

    Anyway, this did the trick:


    CStdioFile InputFile;

    if (InputFile.Open(FileName,CFile::modeRead|CFile::typeBinary))
    {
    CString Line; CString ToFind; ToFind.Format("when");

    ...
  3. Re: Extracting time stamps from pdf

    I use Multi Byte character set in my project configuration. The pdf I have no clue how to find out.
  4. Re: Extracting time stamps from pdf

    Anyway, I got an idea, I might use GetPosition and check if it is anywhere near the end of the file, if not just call ReadString again in a while loop. I'll first try that.
  5. Replies
    2
    Views
    211

    Re: Need help reading an image file

    Maybe Google CImage class?
  6. Re: Extracting time stamps from pdf

    Yes I could, why?
  7. Re: Extracting time stamps from pdf

    1) I checked that doesn't occur.
    2) Same.


    It is metadata of pictures from Adobe Photoshop.


    Victor, I did not ignore you. I addressed that issue specifically. There are about 80 entries per...
  8. Re: Extracting time stamps from pdf

    InputFile.Open(FileName,CFile::modeRead|CFile::typeBinary))

    Let's me read a lot further but it still exits way before the actual end of the file.
  9. Re: Extracting time stamps from pdf

    Already did that. What if there are a gazillion instances? I want to automate it. I thought the ten lines above could do it. Obviously I was wrong.
  10. [RESOLVED] Extracting time stamps from pdf

    Hi, I am trying to automatically extract all time stamps in a pdf file. These are typically in a line like:

    when="2010-07-30T15:20:30+04:00"

    For this I was thinking of using CStdioFile and the...
  11. Re: Resource view takes hangs when trying to edit rc file

    Somehow the lines with "design info" or whatever of a whole bunch of dialogs I have, were what caused the problems. Those lines don't seem necessary at first sight so I just threw them out....
  12. Re: Resource view takes hangs when trying to edit rc file

    You are correct that I made manual changes in the original project. However, back then in VC++ 6.0 this was never a problem and always loaded correctly. I cannot undo that now however. I did find the...
  13. Resource view takes hangs when trying to edit rc file

    No idea how to solve it. Found an online suggestion of using an rc2 file and cut and paste stuff from .rc file to .rc2 file to see which line causes the problem but don't know how to create a blank...
  14. Replies
    6
    Views
    925

    Re: Cannot type certain letters in CEdit box

    Crap, it looks like I already solved this problem nine years ago too. It's just now that I am expanding my old program with new view classes that I am having this problem again and forgot I had the...
  15. Replies
    6
    Views
    925

    Re: Cannot type certain letters in CEdit box

    The full list is ztyxn. TVisualFormView is a class from a visual framework:

    http://www.codeproject.com/KB/dialog/visualfx.aspx

    Now that I've tried out all the letters, it occurs to me I've...
  16. Replies
    6
    Views
    925

    Cannot type certain letters in CEdit box

    CEdit box is located in TVisualFormView where also an MSFlexgrid control is located. I can not enter particular letters like "t", "n" and "y", possibly even more. I can enter them in edit boxes...
  17. Replies
    1
    Views
    343

    Parallel programming in Visual C++ 6

    Is there some parallel library like OpenMP or whatever that would allow me to use Visual C++ 6.0 to compile any parallel programming software?
  18. Replies
    11
    Views
    1,522

    Re: Read grayscale bitmap into array

    I know things can be done better. That's why I'm asking help here, I'm not a programmer by education, but I need something that does the job. I managed to concoct something myself using related...
  19. Replies
    11
    Views
    1,522

    Re: Read grayscale bitmap into array

    Ofcourse not, but I know some values in all 4 corners. Anyway, I managed to solve it myself looking at some related code on the net. For posterity reasons:


    // Additional functions needed
    int...
  20. Replies
    11
    Views
    1,522

    Re: Read grayscale bitmap into array

    Fine, I didn't want to upload it as attachment as it is several hundred kilobyte, so I put it on my own website. If you want it, it's here:

    http://users.ugent.be/~skdmeule/Test.bmp

    With regards...
  21. Replies
    11
    Views
    1,522

    Re: Read grayscale bitmap into array

    As test I use a 256 color bitmap that has a grayscale palette. I change some pixels in all four corners to various grayscales but always get zero no matter what.
  22. Replies
    11
    Views
    1,522

    [RESOLVED] Read grayscale bitmap into array

    Hello,

    I need to read in an 8 bit grayscale bmp and I want the value of its pixels stored in an array (can do that myself). I can't seem to get the value between 0 and 255, I always get zero with...
  23. Replies
    1
    Views
    1,416

    Problem porting from VC++ 6.0 to VC++ 2008

    Hi, I'm trying to convert a project and build it, but this is in the BuildLog, which I don't understand? Any idea what's wrong? Visual C++ 2008 is further not running from my computer but through a...
  24. Replies
    5
    Views
    900

    Re: How to use CCriticalSection

    Hi Mike,

    Sorry I didn't reply sooner but on the 20th I had to go to Uganda to bury my father in law and I'm only recently back. So if I get it straight I could post a message to the document...
  25. Replies
    5
    Views
    900

    How to use CCriticalSection

    Hi,

    I'm trying to figure out how to use CCriticalSection. I have a worker thread using AfxBeginThread that continuously adds values to a CArray in one of my classes:

    void...
Results 1 to 25 of 116
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width