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
X

xxhimanshu

@xxhimanshu
About
Posts
207
Topics
89
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • debug mode fails to run??
    X xxhimanshu

    :confused::confused:Hi, can anyone tell me.. there is a program..where an exe is dependent on some of the libraries (which are also being created by the program itself some other modules in same program creates these libs and dlls)..it runs fine in release mode but when i try to run it in debug mode so that i can check some variables and values and can change it accordingly..it fails showing me some errors like loading failed of the library.. what cud be the possible reason and how to make it run in debug mode..any ideas..any pointers are highly appreciated.. thanks a lot in advance.. regards, Himanshu

    C / C++ / MFC debugging tutorial question announcement

  • CScrollview printing??
    X xxhimanshu

    Hi, I am having a csrollview where some data is being rendered. I want this data to be printed..I am unable to find anything on it.. can anyone help me out.. there is also a small problem.. like I have the vertical and horizontal scrollbars attched to the same.. but the vertical scrollbar is not working the way it should.. I mean if i drag the bar by mouse it either goes up (max) or below (min). I want to drag it by mouse and remain there where i leave.. Hope that both can be solved.. Looking forward to a solution from you people. Thanks a lot in advance.. Regards, Himanshu

    C / C++ / MFC help question

  • outlook express addin??
    X xxhimanshu

    :confused:Hi all, I have a small problem of adding a toolbar to outlook express.. i was unable to find any example or code where it can be done... and no tutorials at all..while there are few gurus who can add toolbar to outlook express too.. I hope any one of you people out here at cp can help me out.. any help or pointers are highly appreciated.. thanks a lot in advance.. Regards:confused: himanshu

    C / C++ / MFC help tutorial question

  • About BHO
    X xxhimanshu

    ;)use iwebbrowser2 's function get_addressbar... and u should get the contents.. himanshu

    C / C++ / MFC question

  • change font style and colors in spreadsheet?
    X xxhimanshu

    :confused::confused:Hi, I want to change the font style i.e. headers with bold and change some colors in the data tables (columns or rows) depending on the value. I dont know whether this can be done or not. Please guide me as i have not used excel before. I have to use MFC and i have excel 2003. Looking forward to a response. Thanks a lot in advance. Regards, Himanshu

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

  • change font style and colors in excel spreadsheet?
    X xxhimanshu

    :confused::confused:Hi, I want to change the font style i.e. headers with bold and change some colors in the data tables (columns or rows) depending on the value. I dont know whether this can be done or not. Please guide me as i have not used excel before. I have to use MFC and i have excel 2003. Looking forward to a response. Thanks a lot in advance. Regards, Himanshu

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

  • Add help button to dialog?
    X xxhimanshu

    :confused::confused:Hi All, I want to add a help button to the dialog. It is a simple dialog with properties system menu and title bar set. I hope it is easy and some one of you might have done that. I tried searching on net and here and codeguru but found nothing. Please help me out.. Any help or pointers are highly appreciated..thanks a lot in advance.. regards, Himanshu

    C / C++ / MFC algorithms help question

  • Title in task bar??
    X xxhimanshu

    :confused::confused:Hi All, I have a small problem and i hope that someone out there can really solve it. Please help.. I have a dialog based application in which i did something a long time back which i dont remember so that it should not show the icons and title on task bar..now i need to show it to the user..what i am doing is i am creating a modeless dialog into a modal dialog and i want to show the title of the modeless dialog in the task bar..I hope its easy..but i can not find any solution for it.. Please help me out..i need this to be done..Thanks a lot in advance.. Regards, Himanshu

    C / C++ / MFC help question

  • Maximum length of string??
    X xxhimanshu

    :confused::confused:Hi, Thanks for your message. I am just trying to store a encoded XMl file data into the string..so that I do not need to decode it any time..and make it physically available to the user..hence I need to store the data into a string. But after a limit it stops appending the data to the string, I hope there cannot be any NULL into a XML file. When i try to decode it, the file is decoded successfully and hence it is in proper XML format..but when i try to store the same data into string it just stops at a point..here is the piece of code i am using.. CString S; CString XML; XML=S; CFile inFile; BYTE con[65535]; CFile outFile; if(!inFile.Open(inFilePath,CFile::modeRead|CFile::shareDenyNone)) return "Error"; if(!outFile.Open(outFilePath,CFile::modeCreate|CFile::modeWrite)) return false; CArchive ar(&inFile,CArchive::load); BYTE Result[57+1]; while(ar.ReadString(S)) { char Len=Decode(Result,S); XML+=Result; // MessageBox(NULL,XML,"XML",MB_OK); outFile.Write(Result, Len); } return XML; Please help..Thanks a lot in advance..My data in XML is around 1 MB..the file size id 1.2 MB nearly.. Regards Himanshu

    C / C++ / MFC help question

  • Maximum length of string??
    X xxhimanshu

    :confused::confused:Hi all, can anyone tell me what is the maximum number of bytes and characters i can store using a CString variable..I need to store huge data something in MB's in some string type variable and it fails..is there any way to store any size of characters or any no of bytes in a cstring by customizing it..Please help me..I need it urgently?? Hope this is not a big problem for most of u out there?? Thanks a lot in advance.. Regards, Himanshu

    C / C++ / MFC help question

  • php and VC++ compatible encryption algorithm???help please
    X xxhimanshu

    :confused:Hi All, I need to decrypt a file encrypted by a php script..it can be any algorithm which is good enough and cannot be cracked easily..if it cannot be cracked at all will be the best solution..but for now i am just looking for any of the MCrypt encryption algorithm that can encrypt the data good enough not to be cracked..easily...and that can be decrypted easily using VC++...can someone help me out in doing the same..I need it very urgently...any of the algorithm..Rijndael..or Blowfish or anyone..but it can also be decrypted easily..Any help or pointers are highly appreciated... Thanks a lot.. Regards :confused: :confused: Himanshu

    C / C++ / MFC c++ php algorithms security tools

  • Encryption help???
    X xxhimanshu

    :confused::confused:hi all, i am trying to use as it is the rijndael algorithm..for encrypting and decrypting the xml file...using AES rijndael..32 bit key and block size and also the method is CBC..it adds a few characters at the end of the file which makes it an invalid XML file..while using BLANKs..I am getting the valid XML file..Now i have to do is a server side encryption of the XML files..from php script..so i am using mcrypt library to do the same..but when i use this class to decrypt the same file it says can't secrypt..while i am using the same key and all..there the function is MCRYPT_RIJNDAEL_256..CBC and ECB..but nothing is working..can anyone help me out there in doing the same..or if there is any encryption which works as same in php and vc++ so that i just have to use the function and can do the same..Please help me out..any pointers and ideas are highly appreciated.. Thanks a lot in advance.. Regards, Himanshu

    C / C++ / MFC c++ php sysadmin algorithms security

  • how to serialize file through HTTP??
    X xxhimanshu

    :confused::confused:Hi, I am developing an application where i need to serialize the XML files, which I have on my local hard disk with the XML files at my server. I am also using Rijndael algorithm to encrypt the files. Please suggest me how to go ahead with it as i don't have any idea on serializing data.. I want to mirror all the changes st server XML files to the local ones. If i can do it when the files are encrypted is the best. If not then I have to decrypt and then modify it..by serializing..and then encrypt it..again.. Please help me out.. Any help or pointers are highly apprecaited..I am using MFC..for doing the same.. Thanks a lot in advance.. Regards, Himanshu

    C / C++ / MFC c++ sysadmin algorithms xml help

  • MSXML Parser?? createNode() ???
    X xxhimanshu

    :confused::confused:Hi all, I have an XML file and i want to append the data of another XML file to the previous file..I have tried using createNode() or CreateElement() but nothing seems to work..I dont know where i am doing wrong..Please help me out...Any help or pointers are highly appreciated..I need it urgently..Please..Thanks a lot in advance.. Regards, Himanshu

    C / C++ / MFC xml help question

  • MSXML Parser??CreateNode????
    X xxhimanshu

    :confused::confused:Hi All, I have an existing XML file and i want to append that XMl file with the data from another XML file..I don't have any idea how to proceed with it..I have tried DomDocument create node and domelement cretenode or createElement but nothing seems to work..is there something i need to do..Please help me..I need it urgently..Any help or pointers are highly appreciated.. Thanks a lot in advance.. Regards, Himanshu

    XML / XSL xml help tutorial question

  • XML parsing with DOM??
    X xxhimanshu

    hi all, i have an XML file..where i have some data as .net 0% credit card 0% interest credit card 1 800 contacts 1 800 flower 1-800 flower 1-800-flowers I want to perform a search over this XML file as if i have "1-800-flowers". I dont want it to go thru each element and then reach there..it is a slow process as it goes in loop for each keyword tag..is there any way where i can perform a fast search for the data i have..so that it is fast..i am using VC++ with MSXML..Please help me out.. Thanks a lot in advance.. regards, Himanshu

    C / C++ / MFC csharp c++ html xml json

  • HTTP File Download??
    X xxhimanshu

    :confused:Hi Paul, Thanks for the information..But i havent done anything like this before..I would highly appreciate if u can send me any example...of how to do that..Please..I need it urgently...Thanks a lot in advance.. regards, Himanshu

    C / C++ / MFC sysadmin xml help question

  • help me
    X xxhimanshu

    :)To Write::: db.OpenEx("DSN=YOUR DSN;Uid=YOUR USER ID FOR SQL;Pwd=YOUR PASSWORD FOR SQL",CDatabase::noOdbcDialog) CString query="INSERT INTO Userinfo(Userid,Passw,Name,Address1,Address2,City,Country,Zip,Phone,Email,Pincode,Dateofentry) VALUES ('" + uid + "','" + pwd + "','" + uname + "','" + add1 + "','" + add2 + "','" + ucity + "','" + scountry + "','" + uzip + "','" + uphone + "','" + uemail + "','" + test + "',GetDate())"; db.ExecuteSQL (query); To Read:: CRecordset rs( &db ); CString check; check.Format ("SELECT Userid FROM Userinfo WHERE Pincode='" + test +"'"); rs. Open ( CRecordset::dynaset, check, CRecordset::none ) ; rs.GetFieldValue("your field",CString variable to store); after this you can convert it to integer or anythine..thats all..hope it helps.. cheers Himanshu

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

  • load picture example
    X xxhimanshu

    both of them does the same thing. Its just like if u set the bitmap through resource to any particular bitmap it is static type...There are other times when u need to change the bitmaps from time to time or depending on some conditions...then using HBitmap..and CBitmap are mre or less same..u can use any of them depending on the dialogs u r using..in most of the dialogs u will have to use CBitmap..as HBitmaps are global..and used for globally setting the Bitmaps to maybe other applications...not urs of course..Its just an idea..i am not sure though..Hope it helps Himanshu

    C / C++ / MFC tutorial question

  • HTTP File Download??
    X xxhimanshu

    :confused::confused:Hi All, I have an application to download three XML files. Each one of them can be 1 MB or more. that makes my all of the system resources to be taken by it to download the file. I am downloading them from my server. I want to do something like this that i can compare the files local and remote one and if there are any changes i can just copy the changes to the local file. That will save my downloading whole files again and again even if they are same. can i do that. Please help..Any help or pointers are thoroughly appreciated....Thanks a lot in advance.. Regards, Himanshu

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