Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: rachelason
  • Order by date
  1. rachelason

    Retrieving space allocated for the vmware

    Hi All, i belive this is the right forum to post my query. I was trying to install linux-vmware on windows xp pro. Since the installation didn't complete properly(froze while installing the linux kernel), i deleted all the files relating to linux and clicked 'on new virtual machine' and...
  2. rachelason

    Open File Dialog

    HI! I want to get rid of All Files(*.*)from the type list when i try to open a document in an MFC program. I had to do the same in the SaveAs which i managed to solve it by calling CFileDialog with the file types in the DOFileSave function. But there is no DOFileOpen function to open a document...
  3. rachelason

    Maximising Child Window

    Thanks for your link. But it didn't work. But i found a code on the net ...to use ActivateFrame() function and it worked like a charm. Not sure why exactly precreate() didn't work. Thanks anyway.
  4. rachelason

    Maximising Child Window

    Hi all, I think I have a small problem to solve but can't get things done. I have created multi-document browser style window for my application using the MFC wizard. The thing i forgot to do then is to tick the box which says 'maximise the child window'. Is there any way I can add the code to...
  5. rachelason

    MFC -adding extension in Save As

    Thanks MarcoMb, the code seems to work well and very simpler than the one i posted. Now my task is to save xml files in text format in the serialise method. Thanks everyone for you help. Rach
  6. rachelason

    MFC -adding extension in Save As

    HI! I AM working on MFC. I tried creating another ID in the string table with .txt in it(also modifying related places). It works only on 'File open' but not on 'save As'. I tried to override CDocument::OnFileSave. Added this code with the existing code. <code> CString textFilter; textFilter =...
  7. rachelason

    MFC -adding extension in Save As

    Thanks for you reply Miros. Yes, I am trying to add file type in the Save As menu. MSDN documentation says use a semicolon to differentiate each file type. So in the 'String Table' in resources view, i have tried to add *.txt;*.xml but it wouldn't accept. And what i lack is some example to...
  8. rachelason

    MFC -adding extension in Save As

    Hi All, I would like to add extensions(more than one) when the user clicks on 'SaveAs' option. At the moment i have only one and i can't find a way to add more. The readme doc says i need to implement in serialize method of doc file. But i have no idea about the code. Any help? Thanks
  9. rachelason

    talking to other computer on wireless internet connection

    Thanks a lot for you reply. i can ping the other computer. But how can i go about sharing files?
  10. rachelason

    how to locate temp folder

    Hi, THanks for you reply. I tried to use the example from the firstlink you have provided, but i don't seem to understand how i can use it in my query. This is the example from the msdn site. it first picks up where the orignial.txt file is, then creates a allcaps.txt in the same directory...
  11. rachelason

    Wide character in XML

    I use CFile to create the file and CString to write to the file. If i use CStringA to write to the file, the xml file works fine. I am still trying to learn c++ and xml , so help will be greatly appreciated. thanks
  12. rachelason

    Wide character in XML

    HI all, I am trying to create an xml file with wide character string. But the xml file would not open Error 'invalid character in line 1, 2nd character'. How do i tell the xml that it needs to accept wide character string? thanks
  13. rachelason

    help using_mktemp with file extension

    HI everyone, thanks for the reply. I am not keen on using just _mktemp. All i want to be able to do is create a unique filename(.xml is what i am trying to create) and if the user saves it , i would let the program save it for the user or delete the object. I tried creating a unique file name...
  14. rachelason

    MFC

    Can someone help me please? I have a MFC program , which opens .xml file in IE. When i try to close the IE page, i want to display a message saying would you like to save this file. Can someone tell me if there is already a MFC function available to do that. Thanks
  15. rachelason

    help using_mktemp with file extension

    HI! I want to create unique file names using _mktemp with extension. This is a code i picked up from MSDN. But if i add .doc or any other extension in the temp pointer, it throws an error. I tried using another variable and concatenating with the original name,,, no good. any suggestion? Thanks...
  16. rachelason

    how to locate temp folder

    I managed to find out that the code i posted is .net framework which is not what i am using. Any more help on getting temporary path using just c++? thanks
  17. rachelason

    how to locate temp folder

    HI Thanks for that. Is there any online material available to explain your code? I tried MSDN...no good. I found this code from codeguru. <code> using namespace System::Security; using namespace System::IO; ... String tempFolder; try { tempFolder = Path::GetTempPath(); }...
  18. rachelason

    how to locate temp folder

    hello, I want to create a file in users temp folder. Is there any c++ code to locate temp folder? thanks
  19. rachelason

    what is wrong with this code?

    I meant to write 'understand' And i meant i don't understand the code you posted in reply to my question. Anyway, the problem i had was solved. So don't worry.
  20. rachelason

    what is wrong with this code?

    here is my code.... it seemed to work this way. Since i am new to xml, i tend to believe that that's how it has to be done. Sorry i don't under your first reply though. <?xml version="1.0" encoding="utf-8" ?> <?xml-stylesheet type="text/xsl" href="c:/xslfile.xsl"?> <tape> - <profile>...

Part and Inventory Search

Back
Top