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
H

Hadi Rezaee

@Hadi Rezaee
About
Posts
677
Topics
336
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • VS 2008 and ATL Web Service / Server
    H Hadi Rezaee

    Well, it is sad that there is no way to start new project from VS2008 even when ATL Web Service/Server project has been moved to open communicate (So what the ... developer group do ?!!!!!) Ok, I've converted one of my old ATL Webservice project to VS9, but i got some errors about :

    error C2337: 'request_handler' : attribute not found
    error C2337: 'soap_handler' : attribute not found
    fatal error C1903: unable to recover from previous error(s); stopping compilation

    I googled the web and found out i should use /FX for compiling the project, but i had no luck and got same errors ! Is there anyway to solve this problem ? (It seems it's time to dotnet ...)

    ATL / WTL / STL c++ visual-studio com sysadmin help

  • VS 2008 and ATL Web Service / Server
    H Hadi Rezaee

    Hi, I've installed VS 2008 and i want to create a new ATL Webservice project. I just downloaded the last update of ATL Server project from Codeplex.com and copied the *.h files into related directories and build the VCDeploy, SProxy and ... utilities. But i cannot find the ATL Webservice / Server Project template in VS 2008. Please help me what to do ?! Regards,

    ATL / WTL / STL c++ visual-studio com sysadmin help

  • Syncing two databases in web !
    H Hadi Rezaee

    Hi, I'm searching for syncing two databases in web ... In my WebApp the user should be able to sync some tables with another database ( in web ) How can i do this ? I'm thinking of a webservice to do this ... ( is it a right way ?! ) Regards, Hadi

    ASP.NET question database algorithms

  • GDI+ and Zooming on the picture ...
    H Hadi Rezaee

    Hi, I load an image and simply display it .. How can i Zoom on the area of the picture ?! I can zoom :) right now i zoom on the picture with using bigger rect of my source image and just displaying it ... Is there any technic or special method in GDI+ ?! I need Faster drawing :D

    C / C++ / MFC graphics question winforms

  • VS 2005 and WCE ...
    H Hadi Rezaee

    Hi, I'm writing apps on Handheld PCs and Pocket PC systems ... In eVC++ 4.0 I was abale to write apps for all platform of WinCE .. But it seems that VC++ 2005 only can compile for PPC 2003 ! Is it right ?! I've already installed WinCE Standard SDK 4.0, 4.2, PPC 2003 SDK on my system .. But VS 2005 just can me project for PPC 2003 SDK ! What's problem ?! ( anyway, i need to write app for WinCE 4.0 HandHeld PC, should i back to eVC++ 4.0 ?! ) Regards, Hadi

    C / C++ / MFC c++ visual-studio help question

  • Right-Aligned Tree Control
    H Hadi Rezaee

    Hi, How can i create a Right-Align Tree Control ?!!! I checked Right Align Text and Right to Left Reading properties but it doesn't work and the items still insert from Left ... Regards, Hadi

    C / C++ / MFC question data-structures

  • Crystal Report and ADO question ...
    H Hadi Rezaee

    YEP !!! SOLVED ! :-D

    C / C++ / MFC database question csharp c++ visual-studio

  • Crystal Report and ADO question ...
    H Hadi Rezaee

    Hi, I'm using VS .NET 2003 and CR 8.5 ... My project type is MFC Dialog-based program and i should display a ADO Recordset query result in viewer activex ... It's what i've done: 1- I made the Report with Crystal Report 8.5 and with connecting to .mdb database via OLEDB connection ... (it's ok) 2- Then i insert the Viewer Control in my project and also made the ado recordset object with a simple query like this: "select * from some_table where code=1" 3- i wrote below code: m_RptApp.CreateInstance( "CrystalRuntime.Application" ); m_RptReportInfo = m_RptApp->OpenReport( _bstr_t(_T("rpt\\CompanyInfo_FA.rpt")) ); Line1: m_RptReportInfo->Database->SetDataSource( _variant_t( (IDispatch *)m_pRec, true ) ); m_ReportViewer.put_ReportSource( m_RptReportInfo ); m_ReportViewer.ViewReport(); I tried this code for Line1 too: m_RptReportInfo->Database->Tables->GetItem( 1 )->SetDataSource( _variant_t( (IDispatch *)m_pRec, true ) ); The Problem: the problem is the program shows ALL records ... and NOT the filtered recs !! 1- Can u tell me what's wrong with my code ?! 2- ( ADO Question ): say i have two _RecordsetPtr objects .. for example: _Rec1, _Rec2 .. _Recs1 fills by some records (by Open() mehod) Is there anyway to copy some records from _Rec1 to _Rec2 ?! for example i want to copy Record (pos) number 3, 10, 16 to _Rec2 ( sorry for my english .. ) Regards, Hadi

    C / C++ / MFC database question csharp c++ visual-studio

  • CDHtmlDialog question ...
    H Hadi Rezaee

    Hi there, A QUESTION :) I've a Table in my HTML doc ... I want to add some text in the table ... What's the steps for doing that ?! 1- Getting the Table Element .. 2- and then ?!!!! Do i have to re-write the table tag ?! Regards, Hadi

    C / C++ / MFC question html

  • Brush and Window Color ...
    H Hadi Rezaee

    YESSS ! The problem has been solved :) ROCK ON !!! :cool: Regards, Hadi

    C / C++ / MFC question help

  • Brush and Window Color ...
    H Hadi Rezaee

    Hi there, How can i make a Brush with default window color ?! I just tried below code, but it doesn't work :( : HBRUSH hBrush = ::GetSysColorBrush( COLOR_WINDOW ); When i use below code to make the brush (with XP default window color), it just works fine (as u see, the i passed the color HANDY (!!), i'm looking for code that make that automatically. ) :confused: : HBRUSH hBrush = CreateSolidBrush( RGB( 236, 233, 210 ) ); I want to use the brush for painting a Static Control (Custom control) background ... (in CtlColor function, ON_WM_CTLCOLOR_REFLECT() msg) Please help :) Regards, Hadi

    C / C++ / MFC question help

  • Keyboard is ON ?!
    H Hadi Rezaee

    Hi, I'm writing a program and i need to detect when user uses keyboard. Actually i want to resize some controls in my dialog when user uses keyboard. and when the user close it(the keyboard panel), the program should change the control sizes to default sizes. I'm looking for message handler or something ... Platform: PPC 2003, eVC++ 4.0 Regards, Hadi

    Mobile c++ question

  • C++ is NOT so HOT :P
    H Hadi Rezaee

    loool :laugh: I better change the topic ... Thanks, Hadi

    The Back Room c++ com

  • C++ is NOT so HOT :P
    H Hadi Rezaee

    Hi Michael :) Right now, i can see such things when i walk in every where :-D I think my wrong was the choosing name for topic, I'll fix it ... Anyway, I love the pic ;P Regards, Hadi

    The Back Room c++ com

  • C++ is NOT so HOT :P
    H Hadi Rezaee

    Take a look at this: C++ looks pretty :)[^] Hope you like it :rose: Regards, Hadi

    The Back Room c++ com

  • DataGrid for eVC++ 4.0
    H Hadi Rezaee

    Oh yes, i knew MFC Grid but i didn't know it could works on CE too :) Thanks alot Chris, Thanks alot João :rose: Regards, Hadi

    Mobile c++ com question

  • DataGrid for eVC++ 4.0
    H Hadi Rezaee

    Hi, :) Is there any DataGrid ActiveX for eVC++ 4.0 ?! Regards, Hadi

    Mobile c++ com question

  • ADOCE Find() problem
    H Hadi Rezaee

    Hi, :) I don't know what's wrong with below code, When I run this It always return the first record. :confused: pRecCus->Find( _bstr_t("Code=" + strCusCode), 0, adSearchForward, 1L ); if( !pRecCus->adoEOF ) { m_List.SetItemText( i, 1, (LPCTSTR)((_bstr_t)pRecCus->GetFields()->GetItem(_variant_t("Name"))->Value) ); } Regards, Hadi

    Mobile help

  • CArray makes me cry !!!!!!!
    H Hadi Rezaee

    Yessss, That's it :-D You solved the problem ! Thank you very much ! :rose: I changed code to this: CAppSheet *pAppSheet = (CAppSheet *) GetParent(); CMainPage *dlgMain = (CMainPage *) pAppSheet->GetPage(0); And now it works fine ... Best Regards, Hadi

    Mobile help data-structures debugging question

  • CArray makes me cry !!!!!!!
    H Hadi Rezaee

    I did some new tests on the code that the results are strange too. 1- I declared m_OrderItems as a pointer variable and then use new, when i want to add items it shows me an error: "Out Of Memory.", But the program doesn't crash. 2- I used vector instead of CArray and i get same result. (No Item !) Regards, Hadi

    Mobile help data-structures debugging 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