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

maharaja pandian

@maharaja pandian
About
Posts
46
Topics
29
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • win32 dll and MFC dll
    M maharaja pandian

    Hi all, I could able to call function of one MFC Dll from another MFC DLL.But I want to know how to call a MFC DLL inside a Win32 DLL. I Should get the Return value from MFC DLL Back to Win32 dll. MY Scenario is Like this Actually I am writing a DB code in MFC DLL, I need to get return value from this MFC dll to a Win32 DLL i,e I should call MFC DLL inside win32 DLL and get the return value back to Win32. The function which i used in MFC dll is derived from CDialog. reply early...

    Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC c++ database tutorial

  • how to pass value to MFC exe
    M maharaja pandian

    hi, thanks for ur reply.. i want to call a MFC exe from another exe , so that i used shellExecute() to run another exe, at the same time ,i need to pass some parameter values to the another exe, which has to display the values in their corresponding edit box. for e.g., if i passed "NAME","NUMBER","MARK1" the another exe display those above information in their edit box. :) Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC c++ tutorial

  • how to pass value to MFC exe
    M maharaja pandian

    hi, thanks for ur reply.. i want to call a MFC exe from another exe , so that i used shellExecute() to run another exe, at the same time ,i need to pass some parameter values to the another exe, which has to display the values in their corresponding edit box. for e.g., if i passed "NAME","NUMBER","MARK1" the another exe display those above information in their edit box. :) Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC c++ tutorial

  • how to pass value to MFC exe
    M maharaja pandian

    hi, thanks for ur reply.. i want to call a MFC exe from another exe , so that i used shellExecute() to run another exe, at the same time ,i need to pass some parameter values to the another exe, which has to display the values in their corresponding edit box. for e.g., if i passed "NAME","NUMBER","MARK1" the another exe display those above information in their edit box. :) Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC c++ tutorial

  • how to pass value to MFC exe
    M maharaja pandian

    hi all, i want to develop one application in VC++. A win32 dll can make use to call a MFC exe and to pass some argument value to that exe.At last the MFC exe can show the argument values passed by the dll. A messagebox should be show the argument's value ... thanks... invoke(arguments) Dll --------> MFC exe ---->MessageBox(arguments..) Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC c++ tutorial

  • how to pass value to MFC exe from a dll
    M maharaja pandian

    hi all, i want to develop one application in VC++. A win32 dll can make use to call a MFC exe and to pass some argument value to that exe.At last the MFC exe can show the argument values passed by the dll. A messagebox should be show the argument's value ... thnaks... invoke(arguments) Dll --------> MFC exe ---->MessageBox(arguments..) Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC c++ tutorial

  • How to call Stored procedure in VC++
    M maharaja pandian

    hi, I have one clarification, I just want to know how to call stored procedures in CDaoDatabase. After the submit button I need to call one stored procedure by name STORE_PROCEDURE1 with input parameters as name,no,mark1,mark2 By using ADO I think we can use like this below. I just want to know how to use in DAO. With AdoComm .CommandText = "{call PROEX.KPP_LFE.PPP_INSTPP_EMBARQUE_AUX(?)}" .CommandType = adCmdStoredProc Set AdoParamRet = .CreateParameter("Retorno", adBSTR, adParamInputOutput, , vfRsEmb) Call .Parameters.Append(AdoParamRet) .Properties("PLSQLRSet") = True Set vfRsEmbRet = .Execute i want to do the same thing in DAO using CDaoDatabse Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC c++ database tutorial question

  • How to call Stored procedure in VC++
    M maharaja pandian

    hi, I have one clarification, I just want to know how to call stored procedures in CDaoDatabase. After the submit button I need to call one stored procedure by name STORE_PROCEDURE1 with input parameters as name,no,id,mark1,mark2 By using ADO, I think we can use like this below. I just want to know how to use in DAO. With AdoComm .CommandText = "{call PROEX.KPP_LFE.PPP_INSTPP_EMBARQUE_AUX(?)}" .CommandType = adCmdStoredProc Set AdoParamRet =.CreateParameter("Retorno", adBSTR, adParamInputOutput, ,vfRsEmb) Call .Parameters.Append(AdoParamRet) .Properties("PLSQLRSet") = True Set vfRsEmbRet = .Execute reply early Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC c++ database tutorial question

  • How to call Stored procedure in CDAO database
    M maharaja pandian

    :)hi, I have one clarification, I just want to know how to call stored procedures in CDAO database. After the submit button I need to call one stored procedure by name STORE_FUNCTION with input parameters as name,no,id,mark1,mark2 By using ADO I think we can use like this below. I just want to know how to use in DAO. With AdoComm .CommandText = "{call PROEX.KPP_LFE.PPP_INSTPP_EMBARQUE_AUX(?)}" .CommandType = adCmdStoredProc Set AdoParamRet = .CreateParameter("Retorno", adBSTR, adParamInputOutput, , vfRsEmb) Call .Parameters.Append(AdoParamRet) .Properties("PLSQLRSet") = True Set vfRsEmbRet = .Execute reply early

    C / C++ / MFC database tutorial question

  • how to store image file in ORACLE database not in MSACCESS using VC++ [modified]
    M maharaja pandian

    i want to store a image file into "BLOB" value in ORACLE databse. & i used COleVariant to store the byte array of image file. but when i try to insert into the oracle db , it through a error "Data type Conversion error" it's working fine for MSACCESS db using the same COleVariant class.. can u please help me for the same.. it's very urgent .... send reply -- modified at 3:03 Saturday 10th June, 2006

    C / C++ / MFC database help c++ oracle data-structures

  • problem in inserting image into the database
    M maharaja pandian

    tnx for ur reply, but COleVariant is used to store the "OLE object" datatype in .MDB database. when i use oracle DB , the corresponding BLOB datatype is not get matched with COleVariant class in VC++. I got the error like " Data type conversion error" can u please send the details to store the oracle BLOB value throuh VC++. Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC database c++ help oracle data-structures

  • problem in inserting image into the database
    M maharaja pandian

    tnx for ur reply, but COleVariant is used to store the "OLE object" datatype in .MDB database. when i use oracle DB , the corresponding BLOB datatype is not get matched with COleVariant class in VC++. I got the error like " Data type conversion error" can u please send the details to store the oracle BLOB value throuh VC++. Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC database c++ help oracle data-structures

  • problem in inserting image into the database
    M maharaja pandian

    hi, i develop one application in VC++-MFC 6.0 , this application is responsible for inserting image into the database (oracle)-ODBC. but when i try to insert a image file , it through a error like "Data type conversion error." //////////////////////////////////////////////////////////////////////// CDaoDatabse db; CDaoRecordset recset(&db); void CDBODBC::InsertintoDB(); { CByteArray BlobFile; BlobFile.RemoveAll(); // I clear the Array CFile aFile("image.jpg",CFile::modeRead); BlobFile.SetSize(aFile.GetLength()); aFile.Read(BlobFile.GetData(),aFile.GetLength()); aFile.Close(); COleVariant aVar(BlobFile); CString Sql = "SELECT * FROM sample3"; db.Open("abc",FALSE,FALSE,"ODBC;UID=abcWD=abc;DSN=abc;"); recset.Open(AFX_DAO_USE_DEFAULT_TYPE,Sql,dbAppendOnly); // bool b=recset.CanUpdate(); recset.AddNew(); recset.SetFieldValue("[num]","6"); //varchar field recset.SetFieldValue("[photo]",aVar); //BLOB field -image field recset.Update(); recset.Close(); db.Close(); } ///////////////////////////////////// it works for Access database .. but i got error in oracle... "Data type conversion error." Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC database c++ help oracle data-structures

  • problem in inserting image into the database
    M maharaja pandian

    tnx, but , it is MSACCESS database with the column datatype of "OLE Object" so using COleVariant class,we convert the image as bytestream to COlevariant.. but i want to do the same thing for oracle ..with the column datatype "BLOB" here also i create same COleVariant ,but it doesn't acceptable by database field "BLOB"..... "Data type Conversion error" Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC database c++ help oracle data-structures

  • problem in inserting image into the database
    M maharaja pandian

    hi, i develop one application in VC++-MFC 6.0 , this application is responsible for inserting image into the database (oracle)-ODBC. but when i try to insert a image file , it through a error like "Data type conversion error." //////////////////////////////////////////////////////////////////////// CDaoDatabse db; CDaoRecordset recset(&db); void CDBODBC::InsertintoDB(); { CByteArray BlobFile; BlobFile.RemoveAll(); // I clear the Array CFile aFile("image.jpg",CFile::modeRead); BlobFile.SetSize(aFile.GetLength()); aFile.Read(BlobFile.GetData(),aFile.GetLength()); aFile.Close(); COleVariant aVar(BlobFile); CString Sql = "SELECT * FROM sample3"; db.Open("abc",FALSE,FALSE,"ODBC;UID=abc;PWD=abc;DSN=abc;"); recset.Open(AFX_DAO_USE_DEFAULT_TYPE,Sql,dbAppendOnly); // bool b=recset.CanUpdate(); recset.AddNew(); recset.SetFieldValue("[num]","6"); //varchar field recset.SetFieldValue("[photo]",aVar); //BLOB field -image field recset.Update(); recset.Close(); db.Close(); } ///////////////////////////////////// it works for Access database .. but i got error in oracle... "Data type conversion error." Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC database c++ help oracle data-structures

  • Is it possible to store a file, in BLOG datatype column in Oracle
    M maharaja pandian

    hi, i want to develop one application in VC++ 6.0-MFC ,which can able to store a PDF file to oracle database in a column - BLOG "datatype". Is it possible to do that thing in VC++ 6.0 i found most of application in .NET ,not in VC++. can any one please help for the same.. send reply :)

    C / C++ / MFC c++ csharp database oracle help

  • Database operation in VC++
    M maharaja pandian

    in the Dll file when i try to open DB using the below function it work but when i try to open the recordset open i.e.,rsOpen() , it open a DataSource dialog screen will opened ,instead of executing a sql query ////////////////////////////////////////////////////////////////////////// bool CDaoDB::dbOpen(CString strFilePathName) { try { db = new CDaoDatabase(NULL); db->Open(strFilePathName); return true; } catch(CDaoException* error) { delete db; db = NULL; LPTSTR errors = ""; error->GetErrorMessage(errors,100,NULL); AfxMessageBox(errors); return false; } } bool CDaoRS::rsOpen(CString sql,CDaoDatabase* db) { CDaoTableDef *df; try { if(db) { rs = new CDaoRecordset(db); rs->Open(dbOpenDynaset,sql); return true; } else { AfxMessageBox("There is no current database open."); return false; } } catch(CDaoException* error) { delete rs; rs = NULL; LPTSTR errors = ""; error->GetErrorMessage(errors,100,NULL); AfxMessageBox(errors); return false; } } Try again and again, At last you will say I don't know the meaning for impossible.,.

    C / C++ / MFC c++ database help oracle question

  • Database operation in VC++
    M maharaja pandian

    hi, i want to develop one application in VC++ MFC ,which can insert & retrive data from a database(oracle), through a dll .The Dll is resposible for handling all database operation. can any please help to work on that... "EXE" + "DLL" + "DB" 1.how can i make a connection string for oracle database which is in remote system. 2.how can i handle DB opeartion in Dll. i try with Dll , but it through error send reply ,,,early :) Try again and again, At last you will say I don't know the meaning for impossible.,. -- modified at 11:37 Wednesday 7th June, 2006

    C / C++ / MFC c++ database help oracle question

  • Reading pdf file [modified]
    M maharaja pandian

    hi all, i want to develop one application in VC++ - MFC which can read a selected PDF file and store that thing to database. before that i want to know , how can i read a pdf file in VC++ (i.e.,) either in binary or some other format. send reply .,., it's urgent:) Try again and again, At last you will say I don't know the meaning for impossible.,. -- modified at 10:46 Tuesday 6th June, 2006

    C / C++ / MFC c++ database question

  • Status Bar Height
    M maharaja pandian

    you can try this http://www.codeguru.com/forum/archive/index.php/t-344324.html[^]:)

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

  • Don't have an account? Register

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