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

Search:

Type: Posts; User: Jim1981

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    676

    Re: Foreign Characters

    Aha, great. That's all worked. Thanks a lot!
  2. Replies
    7
    Views
    676

    Re: Foreign Characters

    Thanks for this. If I set the file as ISO-8859-1, it works. However, is there a way I can write these foreign characters whilst keeping the file UTF-8?

    If so, how do I do this? If I add the UTF-8...
  3. Replies
    7
    Views
    676

    Re: Foreign Characters

    Thanks for the responses.

    I know XML does actually support these characters, because I can paste the text into an XML file manually and they display fine, even if I save and reopen the document.
    ...
  4. Replies
    7
    Views
    676

    Foreign Characters

    Hi all.

    I'm having some problems writing foreign characters to xml files.

    Here is a snippet of my test code:

    CFile myFile;
    myFile.Open("test.xml", CFile::modeCreate | CFile::modeWrite,...
  5. Replies
    10
    Views
    912

    Re: Executable return values

    This is great thanks, exactly what I need. *I still need the return value from the launched .exe's main function, but I can look into how to do that possibly from here, even if I have to add some...
  6. Replies
    10
    Views
    912

    Re: Executable return values

    Thanks, but as far as I can tell ShellExecute returns right away and doesn't return the value returned by my launched program's main function.

    I need my program to wait until the launched program...
  7. Replies
    10
    Views
    912

    Executable return values

    Is it possible to launch an executable in code using something like CreateProcess, but to make my program wait and not continue until the launched program has closed and returned a value?

    I need...
  8. Replies
    0
    Views
    370

    Help with batch process

    Hi,

    I have a ton of zip files in different directories. I need to run a batch process (or something) that will move through each folder (starting fromam certan place) and unzip each file to the...
  9. Replies
    3
    Views
    444

    Re: Special folders on network

    Right, thanks Marc.

    Just thinking now about the quickest, easiest way of sorting out my problem.

    Is it possible to run an executable from my program and get a return value from it when it...
  10. Replies
    3
    Views
    444

    Special folders on network

    Hi. Need some help here.

    Is it possible to find a special folder on another machine over a network?

    Currently I use SHGetSpecialFolderPath to find the All Users folder on my machine, but how...
  11. Replies
    10
    Views
    857

    Can't rewrite it 'cause I don't gots time! ;)

    Can't rewrite it 'cause I don't gots time! ;)
  12. Replies
    10
    Views
    857

    Okay, it's a little long-winded, but here is the...

    Okay, it's a little long-winded, but here is the function I have written to deal with this - if it's of use to anyone else. As I say, I'm a bit new so it's probably not written particularly well, and...
  13. Replies
    10
    Views
    857

    Cheers Kheun, that's helpful. What I need is a...

    Cheers Kheun, that's helpful.

    What I need is a little more complicated than that though, because the two absolute paths will not always be on the same branch. For example, I might pass...
  14. Replies
    10
    Views
    857

    Okay Andreas, thanks. If anyone has already...

    Okay Andreas, thanks.

    If anyone has already written anything like this, it would be a real help if you could show me the function.

    Thanks
    Jim
  15. Replies
    10
    Views
    857

    Anyone know of a function to...

    ...return the difference between two absolute paths?

    For my project, I need to pass two actual paths to a function so I can set the relative path of the second actual path passed.

    For example,...
  16. Replies
    5
    Views
    7,235

    Great. Thanks again.

    Great. Thanks again.
  17. Replies
    5
    Views
    7,235

    Thanks. but in my version, there is no...

    Thanks. but in my version, there is no CSIDL_COMMON_APPDATA, only CSIDL_APPDATA. Where can I get the new header file or whatever it is I need?

    Thanks.
  18. Replies
    5
    Views
    7,235

    Finding Application Data folder

    Hi,

    I can use the SHGetSpecialFolderPath function to find a link to the current user's Application Data folder by passing CSIDL_APPDATA. However, I need a link to the Application Data folder in...
  19. Replies
    0
    Views
    379

    Tree contro, drag/drop folder open time

    Hi,

    I have a tree control in my MFC dialog program which is set up to allow files to be dragged and dropped from Windows Explorer. Currently, when dragging from Explorer over a closed folder...
  20. Replies
    1
    Views
    876

    Serial generator

    Hi.

    I'm in need of some code which will generate random serial numbers for my software. It will also need to recognise whether a serial number passed in is valid, ie. it matches the format of...
  21. Replies
    2
    Views
    444

    MFC Combo troubles

    Hi,

    I have an MFC Dialog based application with comboboxes.

    I need to change the drop height of the combo box plus the type (Simple, Drop Down, etc) in code.

    ModifyStyle() doesn't seem to be...
  22. Replies
    5
    Views
    1,740

    hi dude_1967, First off, thanks a lot for the...

    hi dude_1967,

    First off, thanks a lot for the help. You are exactly right, looks like I've jumped in without knowing enough about the way multithreading works. I imagined the thread would run...
  23. Replies
    5
    Views
    1,740

    Multithreading help

    Hi,

    I have a program which runs a worker thread on startup like this:

    _param = new THREADSTRUCT;
    _param->_this = this;
    AfxBeginThread(StartThread, _param);
    SetThreadPriority(_param,...
  24. Thread: Machine id?

    by Jim1981
    Replies
    6
    Views
    1,853

    Is there not a unique CPU serial number or...

    Is there not a unique CPU serial number or somesuch?
  25. Thread: Machine ID?

    by Jim1981
    Replies
    35
    Views
    36,258

    Machine ID?

    Hi,

    Is there something like a unique machine ID that I can retrieve so I can save a file and when opened, know if it was saved on the same machine?

    I don't want people using my saved files on...
Results 1 to 25 of 55
Page 1 of 3 1 2 3


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center