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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
M

mitil20390482304

@mitil20390482304
About
Posts
21
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • how can i hide console from the user when using _popen()
    M mitil20390482304

    yoho...i found the answer myself check this out if you have the same problem as i do http://www.codeproject.com/win32/runsilent.asp[^] use the runsilent function that this guy is using in your own program...it is great

    C / C++ / MFC question

  • how can i hide console from the user when using _popen()
    M mitil20390482304

    thanks man..i have already read those,,,and I have a really hard time undrestanding how i can use it in my case...can you help me some more...how can i run my _popen inside a process that has a hiden window?

    C / C++ / MFC question

  • how can i hide console from the user when using _popen()
    M mitil20390482304

    Hi I am using _popen to execute an exe file and read back the result in to a text file and analyze it. but from the time that user clicks the button the console window appears on the screen and goes away when the process is finished. how can i hide the console window from the user and show something like work in progress instead. is there a way to hide _popen ? char Buffer[9]; string commandline="address"; FILE *fp; if ( (fp= _popen(commandline.c_str(),"r"))==NULL) exit(1); fgets( Buffer, 9, fp );

    C / C++ / MFC question

  • Excel and c++
    M mitil20390482304

    Can you give me a link that can help me to get to know excel's COM interface? I have not work with that before!.is it a class? library ?

    C / C++ / MFC c++ question

  • Excel and c++
    M mitil20390482304

    dont worry about my first question. I used *.xls file directly and it works but i am still wondering about generating that extra sheet in the file.

    C / C++ / MFC c++ question

  • output to *.xls file
    M mitil20390482304

    I have an application and I am trying to generate an output file. type *.xls with c++ code. how it is possible to create seprate sheet within the excel file and write to it.

    C / C++ / MFC c++

  • Excel and c++
    M mitil20390482304

    One more thing I forgot to ask. How can I create a Sheet within the .cvs file from inside my c++ code?

    C / C++ / MFC c++ question

  • Excel and c++
    M mitil20390482304

    ok thanks I tried to make a .CSV file and it opens in Excel format the only problem is that the file does not look good. All of the output in in One Cell. if I want to have something in A1 and the next thing in B1 what should I do. right not it does not undrestand that Tab means going to the next column!

    C / C++ / MFC c++ question

  • Excel and c++
    M mitil20390482304

    Hi I have a simple application and, I have the data in some arrays. If I want to write these data to an Excel file what should I do. I can easily write them to a text file....but is it possible to write it to an Excel file without using MFC?

    C / C++ / MFC c++ question

  • ERROR
    M mitil20390482304

    Thanks Christan. I dont know why it happens sometimes but I copied another sdfxa.cpp file from another project and it works fine now ;);)

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

  • ERROR
    M mitil20390482304

    hold on a sec the program will not run but in the comments it says: fatal error C1084: cannot read CLR runtime data file c:....stdafx.obj

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

  • ERROR
    M mitil20390482304

    // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently #pragma once #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers // C RunTime Header Files #include #include #include #include // TODO: reference additional headers your program requires here this is all the code i have in stdafx.h!!! I have not add anything to it!!!! This is the default file when you want to build a form.net application... and i dont undrestand the pupose of it entirlt.

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

  • ERROR
    M mitil20390482304

    no no it does not RUN... it is a compiler error. Sorry for the mistake.

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

  • ERROR
    M mitil20390482304

    it is a faltal error. it seams to be the run error.

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

  • ERROR
    M mitil20390482304

    Hi I have an application running with 2 forms. however when i run it i get the following error: c:\.......\stdafx.obj': Possible cause If the message says "bad file number", the file may have been closing in the foreground while compiling in the background. it seams there is a problem with #include "StdAfx.h" at the begining of my plc.cpp class file. I have plc.h, and plc.cpp !!! can someone please help me?

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

  • wait methods!!!?
    M mitil20390482304

    Hi I am not using mfc or any kind of complex thing I just work with windows forms using c++. My question is how can I have a have the following. by clicking the fist Button. user starsts a while loop. In the loop a series of events take place, and then we ask the user to input something to textBox. user enters the data and,clicks the 2nd Button. the program gets the data and goes back to the loop continueing its job. what i have so far is : private: System::Void 1stbtn_Click(System::Object * sender, System::EventArgs * e) { while (mycondition is true) { ...do the job wait for 2ndbtn to be pressed; ...do the job } } private: System::Void 2ndbtn_Click(System::Object * sender, System::EventArgs * e) { lol = textBox->Text; } what is the sytax and what libreries should be used?

    C / C++ / MFC question c++ winforms career

  • Button in windows forms..c++
    M mitil20390482304

    Hi I am not using mfc or any kind of complex thing I just work with windows forms using c++. My question is how can I have a have the following. by clicking the fist Button. user starsts a while loop. In the loop a series of events take place, and then we ask the user to input something to textBox. user enters the data and,clicks the 2nd Button. the program gets the data and goes back to the loop continueing its job. what i have so far is : private: System::Void 1stbtn_Click(System::Object * sender, System::EventArgs * e) { while (mycondition is true) { ...do the job wait for 2ndbtn to be pressed; ...do the job } } private: System::Void 2ndbtn_Click(System::Object * sender, System::EventArgs * e) { lol = textBox->Text; }

    C / C++ / MFC c++ question winforms career

  • opening file !!help me
    M mitil20390482304

    no i am just using a simple form. still dont get what u r trying to say!?

    C / C++ / MFC help question

  • opening file !!help me
    M mitil20390482304

    Hi I posted a message yesterday as well but i dont still get it what should i do.... it is very simple.. but i have never worked with forms and i only know about consule project. iostream!! I am trying to build a form and run a specific application with it. I am already made the project as a console project using fstream. I want to get the name of the file from the user in a specific text Box and then open it as follows: char fileName[]; ifstream infile; infile.open(fileName); However what i get from the textbox is String *f = textBox->Text; How can i convert this to char[]? I have already tried char fileName[]=f->ToCharArray(); but it seams there is a problem and i cant convert _wchar to char!! how can I do this? is there another way to open the file ?

    C / C++ / MFC help question

  • what is the diff between String and string?
    M mitil20390482304

    thanks christian can you write it as a code i am not so sure how to use _bstr_t eg. char me; Char you; is it then right to say me = _bstr_t(you) and can it be used for char arrays as well?

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

  • Don't have an account? Register

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