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
K

kedar dave

@kedar dave
About
Posts
22
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Dataadapter UpdateCommand
    K kedar dave

    i did Parameters["@str"]->Value = S"test"; but got the following when i compiled : error C2107: illegal index, indirection not allowed hw do i get rid of this error? thanks a lot, Kedar Dave

    Database csharp c++ question database visual-studio

  • Dataadapter UpdateCommand
    K kedar dave

    dadapter->UpdateCommand->Parameters("@str")->Value = "test"; I tried it....but it gave me the following errors:- error C2064: term does not evaluate to a function taking 1 arguments error C2227: left of '->Value' must point to class/struct/union/generic type why do i get this? setting par->Value = "test"; -- doesnt giv any errors but doesnt work either Thanks, Kedar Dave

    Database csharp c++ question database visual-studio

  • Dataadapter UpdateCommand
    K kedar dave

    //String* con = S"Provider=Microsoft.Jet.OLEDB.4.0;" + S" DataSource=C:\\AEM\\Database\\ProTunerDatabase.mdb"; OleDbConnection* ole = new OleDbConnection( S"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\AEM\\Database\\ProTunerDatabase.mdb" ); //OleDbDataAdapter* dadapter = new OleDbDataAdapter(S"select * from Item_List", ole); OleDbDataAdapter* dadapter = new OleDbDataAdapter(); DataSet* dset = new DataSet(); ole->Open(); OleDbParameter* par; dadapter->SelectCommand = new OleDbCommand(S"select * from test", ole); dadapter->Fill( dset, S"test" ); dadapter->UpdateCommand = new OleDbCommand(S"update test set Item_name=@str where Item_id=@prev"); par = dadapter->UpdateCommand->Parameters->Add(new OleDbParameter ("@str", OleDbType::VarChar)); par->SourceColumn = "Item_name"; par->SourceVersion = DataRowVersion::Current; par = dadapter->UpdateCommand->Parameters->Add(new OleDbParameter ("@prev", OleDbType::Integer)); par->SourceColumn = "Item_id"; par->SourceVersion = DataRowVersion::Original; dadapter->UpdateCommand->Connection = ole; dadapter->Update(dset,"test"); HOW DO I SPECIFY VALUES FOR @str and @prev ???? so that i can update my database. I am using Visual C++.NET in Visual Studio 2005 Thanks, Kedar Dave:confused:

    Database csharp c++ question database visual-studio

  • firefox XML DOM compatibility
    K kedar dave

    am using the current code to make my script compatible to firefox and netscape.....but its not workin...can som1 suggest an alternative if (window.ActiveXObject) {flag=0; var xmlDoc=new ActiveXObject("Microsoft.XMLDOM") xmlDoc.async="false" xmlDoc.load(cool) if (xmlDoc.parseError.errorCode != 0) { var myError = xmlDoc.parseError; :() } else { parse1(xmlDoc.documentElement.childNodes(0).text,xmlDoc.documentElement.childNodes(1).text) } } else if(document.implementation && document.implementation.createDocument) {flag=1; var xmlDoc=document.implementation.createDocument("","doc",null); xmlDoc.async=false; loaded=xmlDoc.load(cool); if(!loaded) { alert("Error"); } else {//alert("success") alert(xmlDoc.documentElement.childNodes.item(1).childNodes.item(0).nodeValue); xmlDoc.onload=parse1(xmlDoc.documentElement.childNodes.item(1).childNodes.item(0).nodeValue,"http://www-scf.usc.edu/~csci571/2006Spring/hw4/hummer.xml"); } } } function parse1(file1,file2) { if(flag==0) { var doc=new ActiveXObject("Microsoft.XMLDOM") doc.async="false" doc.load(file1) var doc1=new ActiveXObject("Microsoft.XMLDOM") doc1.async="false" doc1.load(file2) } else var xml=document.implementation.createDocument("","doc1",null); //alert(xml) xml.async=false; loaded=xml.load(file1); var xml1=document.implementation.createDocument("","doc2",null); xml1.async=false; loaded2=xml1.load(file2);

    XML / XSL html tools xml help

  • Using CreateDialogIndirect
    K kedar dave

    hii... how do i use CreateDialogIndirect to create a dialog box? how can the DLGTEMPLATEEX be used to retrieve /specify the properties of an existing dialog box? and how is the callback function DialogProc to b used? regards, kedar.

    C / C++ / MFC question

  • DISPLAYING A DIALOG
    K kedar dave

    hiii...thanks for the info... but stil can u send me a sample code of what u were tellin to do......or some link wher i can find a similar example..... it would b a great help to me.... In anticipation, kedar.

    C / C++ / MFC question c++ tutorial workspace

  • DISPLAYING A DIALOG
    K kedar dave

    hiii... i am overwriting the .RC file of a workspace/project with some dialog resources... obviously wen i am executing the program i cannot see any output..... how can i display the new dialogs that i have put into the .RC file wen the program is executed ? for example....i have transferred the 4 dialog boxes of the Calculator (calc.exe) to one of my own VC++ 6.0 application.... regards, kedar.

    C / C++ / MFC question c++ tutorial workspace

  • INTERESTING!!!!!
    K kedar dave

    hiii.... this is very interesting......wht i am trying to do is to RECREATE a window (it can b any apllication window) by grabbing all its properties n properties of all its childs..... on another REMOTE TERMINAL...... but i hav had limited success till now....means i am able to recreate only some of the windows.......i hav tried creating the NOTEPAD and CALCULATOR windows but hav failed in the process... i am using the CreateWindowEx function do it...and other callback functions to obtain the properties... can neone plzzz suggest any reasons why this is not possible??? or is it? i need some urgent replies for this....any help is welcome... regards, kedar.

    C / C++ / MFC help question

  • Resource Files ( .rc .res)
    K kedar dave

    hii...i removed the '#' from the code but aftrwards i got the following errors:- 1)Primary Language Id is not a number 2)WS_**** undeclared/undefined (for the transferred resource) how can i solve these errors? regards, kedar.

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

  • Resource Files ( .rc .res)
    K kedar dave

    hii...i am transferrin the resources from one exe to another.... also i am saving the resources as a .rc using the Resource Hacker software...which replaces the existing .rc file of the project..... but i am getting the following error:- "error RC 2019 : expected preprocessor command, found '1' " (the error gigving line is-- #106 MENU) this one is due to the id of the MENU resource i hav trasnferred from another exe the next error is:- "RC Terminating after preprocessor errors" how can i solve this? is ther another way pf updating the .rc or .res files of a projetc using VC++ programming ? regards, kedar.

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

  • GET RESOURCE ID'S
    K kedar dave

    hii.. how can i get the id's of resources of an exe ... i want to pass the id's to the Find Resource function.. regards, kedar.

    C / C++ / MFC question learning

  • VERY INTETRESTING...but is it POSSIBLE?
    K kedar dave

    hiii... the thing which i am stating below may sound like a joke or impossible....but please let me know if it can be done... can i RECREATE any window...for eg. the built in windows calculator....by writing an application? i think it is!!!! any help is extremely welcome.... regards, kedar.:confused:

    C / C++ / MFC help question

  • checkboxes, radiobuttons
    K kedar dave

    how can i get the status of a checkbox or radiobutton in VC++ ? regards, kedar.

    C / C++ / MFC question c++

  • GET RESOURCES
    K kedar dave

    hiiii.... i want to enumerate all the resources of a particular application....for eg. a Calculator.. how can i do it ? regards, kedar.

    C / C++ / MFC question

  • GET BITMAP
    K kedar dave

    hii... how can i get a bitmap from a window and use it in my application? regards, kedar.

    C / C++ / MFC question graphics

  • GET ICON
    K kedar dave

    thanks a lot Alok... i also have another Query... how can i get a bitmap and an image n use it ? if possible...can u attach a piece of code.. regards, kedar.

    C / C++ / MFC question

  • GET ICON
    K kedar dave

    hiii... how can i get an ICON from a window and pass it to the CreateWindowEx function? regards, kedar.

    C / C++ / MFC question

  • Functions?
    K kedar dave

    u can refer to the site microsoft.com for details on SDK... i dont know the exact link....u vil have to search on the home page

    C / C++ / MFC question tutorial

  • GET WINDOW PROPERTIES
    K kedar dave

    how can i get the properties of a window(not created by a user application) by using the Window Handle? i know the Window Handle....which function to use to get the properties? regards, kedar.

    C / C++ / MFC question

  • Handle to other window
    K kedar dave

    try using EnumWindows....and the corresponding CALLBACK function ... i think it is EnumWindowProc... be sure to go thru the MSDN before u use the above mentioned..

    C / C++ / MFC 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