Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
Z

zhangguoliming

@zhangguoliming
About
Posts
5
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how to find a file in one folder
    Z zhangguoliming

    hi, as the titel.The user will input the name of the file and the folder through EDITBOX. m_name is the Variable ,in CStrig. Here is mz code void CFilefindDlg::OnButton1() { // TODO: Add your control notification handler code here HANDLE handle; WIN32_FIND_DATA fd; handle = FindFirstFile(m_name, &fd); if (handle != INVALID_HANDLE_VALUE) AfxMessageBox("Find this folder."); else AfxMessageBox("Could not find folder."); } I dont how to use funktion FindFirstFile().If i write in char path[256]="C:\\guo\\1.txt"; handle = FindFirstFile(path, &fd); It is right. But the name of the file should be decided by the user. How can i do it ?:doh::doh::doh: Thanks!

    C / C++ / MFC question tutorial

  • How to creat a new folder and a new file
    Z zhangguoliming

    Hey, I want to creat a new folder with a new file. Now my code can only creat a new folder but no file.What is the wrong with my code?Please help anyway you can.. Thanks in advance. m_Luting is the name of the folder , type CString m_Name is the name of the file ,type CString My code : char path[300]; CString stname=".bin"; CString cell; CreateDirectory(_T(m_Luting), NULL); strcat(path,m_Luting); strcat(path,m_Name); strcat(path,stname); fstream fMyfile; fMyfile.open(path,ios:out|ios::binary|ios::trunc); if(!fMyfile){ exit(-1);} fMyfile.close();

    C / C++ / MFC question ios help tutorial

  • How to save a "MHTML" file as a BMP file?
    Z zhangguoliming

    i want to save a file ,which in MHTML ,as a BMP file.How can i do it ? Thanks in advance

    C / C++ / MFC question tutorial

  • How to display an Excel Diagram with VC++
    Z zhangguoliming

    My job is to write in Excel ,read from Excel and display Diagram .Now i could write and read.I've used EXCEL.EXE from type library function to write/read (Excel.Application, Excel.Workbook,Excel.Sheet...).But i don't know how to display with VC++. I know that it is no easy to do it with VC++.But i have to use VC++ . :confused:

    C / C++ / MFC question c++ help tutorial

  • How to display an Excel Diagram with VC++
    Z zhangguoliming

    I want to display an Excel Diagram on one of my property sheet. I write my programm with VC++6.How can i do it?Could someone help me?:-D and what means LPDISPATCH GetDiagram()?What will i get? Is the value of the diagram ? Or a diagram? Thanks!:rose: grf

    C / C++ / MFC question c++ help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups