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
A

Ashish Ranjan Mishra

@Ashish Ranjan Mishra
About
Posts
13
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • OpenMP parallel file writing
    A Ashish Ranjan Mishra

    hello, Can anyone help me out in writing large number of files(almost 8000) parallely in a directory using openMP support in VC++ I am also using a recursive function inside WriteFile to do the writng texts to the corresponding file My code snippet is as below =========================== #pragma omp parallel private(i) { #pragma omp for schedule(dynamic, 1) for ( i= 0; i< 10000; i++) { WriteFiles("directory path..", "w+"); } } But it is not working and crashing particularly inside recursive function. Can anyone help me out? Thanks in advance

    asdsa

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

  • Generic algorithm question
    A Ashish Ranjan Mishra

    Hello, I need to find out a solution for below problem, can anyone please let me know what is the best algorithm for this problem, I have to distribute sweets among 3 persons let A,B, C with no 5,3,2 respectively so total 10 sweets I have to distribute among these 3 without repeating again(if A has given then next time B or C but A should not come again). so the sequence can be like as below, Sol1: C,B,C,B,C,A,C,A,C,B Sol2: B,C,A,C,B,C,B,C,A,C Please let me know if any algorithm I can use for this problem Thanks

    asdsa

    C / C++ / MFC question algorithms help

  • How to custmize the ribbon category at run time using MFC
    A Ashish Ranjan Mishra

    Hello Sir, Can anybody help me how to customize the ribbon bar means adding ribbon category at run time similar to the QAT custmization Any sample code or reference is much appreciated Thanks, Ashish

    asdsa

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

  • SQLFetchScroll is failing if database column contains NULL value
    A Ashish Ranjan Mishra

    // NumRowsFetched. SQLSetStmtAttr(hstmt, SQL_ATTR_ROW_BIND_TYPE, sizeof(ORDERINFO), 0); SQLSetStmtAttr(hstmt, SQL_ATTR_ROW_ARRAY_SIZE, ROW_ARRAY_SIZE, 0); SQLSetStmtAttr(hstmt, SQL_ATTR_ROW_STATUS_PTR, RowStatusArray, 0); SQLSetStmtAttr(hstmt, SQL_ATTR_ROWS_FETCHED_PTR, &NumRowsFetched, 0); // Bind elements of the first structure in the array to the OrderID, // SalesPerson, and Status columns. SQLBindCol(hstmt, 1, SQL_C_ULONG, &OrderInfoArray[0].OrderID, 0, &OrderInfoArray[0].OrderIDInd); SQLBindCol(hstmt, 2, SQL_C_CHAR, OrderInfoArray[0].SalesPerson, sizeof(OrderInfoArray[0].SalesPerson), &OrderInfoArray[0].SalesPersonLenOrInd); SQLBindCol(hstmt, 3, SQL_C_CHAR, OrderInfoArray[0].Status, sizeof(OrderInfoArray[0].Status), &OrderInfoArray[0].StatusLenOrInd); // Execute a statement to retrieve rows from the Orders table. SQLExecDirect(hstmt, "SELECT OrderID, SalesPerson, Status FROM Orders", SQL_NTS); // Fetch up to the rowset size number of rows at a time. Print the actual // number of rows fetched; this number is returned in NumRowsFetched. // Check the row status array to print only those rows successfully // fetched. Code to check if rc equals SQL_SUCCESS_WITH_INFO or // SQL_ERRORnot shown. while ((rc = SQLFetchScroll(hstmt,SQL_FETCH_NEXT,0)) != SQL_NO_DATA) {

    asdsa

    C / C++ / MFC database help question

  • SQLFetchScroll is failing if database column contains NULL value
    A Ashish Ranjan Mishra

    Yes, Rajesh I have checked the return code is -11072.. I am not able to find any related document for this error code Any help is appreciate.. Thanks, Ashish

    asdsa

    C / C++ / MFC database help question

  • SQLFetchScroll is failing if database column contains NULL value
    A Ashish Ranjan Mishra

    HI, I am using SQLFetchScroll for bulk reading from DB .But it is failing for some tables loading where columns contain NULL values. Can anyone help me on this to get rid of this? Regards, ASH

    asdsa

    C / C++ / MFC database help question

  • How to export CListView data into .CSV format or Excel using MFC
    A Ashish Ranjan Mishra

    HI, Can anyone help me to find out any sample application to export the CListView data or GridView data into Excel or .CSV format using MFC Thanks ASH

    asdsa

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

  • Need help on porting from VB application to Vb.Net
    A Ashish Ranjan Mishra

    recently I converted a database migration utility from VB(VS6 sp6) to VB.NET(VS 2008 SP1). It is ported succesfully. I am able to open it development M/C. But if I am trying to open the same application in installer M/C.(Fresh machine) my application is crashing. can anyone let me know what run time dll should be included so that it will work fine. System Details 1: XP SP3

    asdasdadadasd

    Visual Basic csharp database visual-studio tools

  • Adding checkboxes to the multiple columns of CListCtrl
    A Ashish Ranjan Mishra

    Hi Guy, I am trying to add checkboxes to the multiple columns of a MFC List ctrl. Can you please help me in this. If possible please share me some snippet for the same. Thanks.

    asdasdadadasd

    C / C++ / MFC c++ help

  • Changing the background color of Text control or combo box when text got changed
    A Ashish Ranjan Mishra

    How to change the background color of Edit control or combo box only when some one has edited the text of text box or change the slection of combo box? Thanks in advance

    asdasdadadasd

    C / C++ / MFC tutorial question

  • Multiple monitor support for MFC application
    A Ashish Ranjan Mishra

    Sorry if I couldnot make you clear. Question is very simple, currently in our application we are not able to drag the child window outside the main frame window. If I move the main frame window my child window is also moving along with it. So I need to move my child window free out of main window Hope I make it more clear than earlier. Waiting for your reply

    asdasdadadasd

    C / C++ / MFC c++

  • Multiple monitor support for MFC application
    A Ashish Ranjan Mishra

    Sorry if I couldnot make you clear. Question is very simple, currently in our application we are not able to drag the child window outside the main frame window. If I move the main frame window my child window is also moving along with it. So I need to move my child window free out of main window Hope I make it more clear than earlier. Waiting for your reply.

    asdasdadadasd

    C / C++ / MFC c++

  • Multiple monitor support for MFC application
    A Ashish Ranjan Mishra

    I want to open the child application form outside my parent form. I am using MDI application, The way the application currently opening a child form is pretty simple, straight out from the MFC library. AddDocTemplate( new CMultiDocTemplate( IDR_SCRIBTYPE, RUNTIME_CLASS( CScribDoc ), RUNTIME_CLASS( CMDIChildWnd ), RUNTIME_CLASS( CScribView ) ) ); Thanks, Ash

    asdasdadadasd

    C / C++ / MFC c++
  • Login

  • Don't have an account? Register

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