CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 3 of 3 FirstFirst 123
Results 31 to 35 of 35
  1. #31
    Join Date
    Jan 2016
    Posts
    61

    Re: Access database with MFC, vc++ 6.0

    Quote Originally Posted by Arjay View Post
    Wait, did you solve the other problem with reading data from the database?
    Yes I Completed.

  2. #32
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,398

    Re: Access database with MFC, vc++ 6.0

    Quote Originally Posted by kiwagh105@gmail.com View Post
    Ok,

    How we can close the open dialogbox through code at runtime
    https://msdn.microsoft.com/en-us/library/6ex01tfy.aspx
    https://msdn.microsoft.com/en-us/library/wddd3ztw.aspx
    Victor Nijegorodov

  3. #33
    Join Date
    Jan 2016
    Posts
    61

    Re: Access database with MFC, vc++ 6.0

    I completed with this. Please help me for LoadImage bitmap question

  4. #34
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,398

    Re: Access database with MFC, vc++ 6.0

    Quote Originally Posted by kiwagh105@gmail.com View Post
    I completed with this. Please help me for LoadImage bitmap question
    What does it have to do with the "Access database with MFC, vc++ 6.0" topic?
    Please, start a new thread with this new question.
    Besides, if you "completed" the DB access problem them mark this thread as Resoved.
    Victor Nijegorodov

  5. #35
    Join Date
    Jan 2016
    Posts
    61

    Re: Access database with MFC, vc++ 6.0

    Quote Originally Posted by kiwagh105@gmail.com View Post
    I tried as follows but not work,

    hbit = (HBITMAP) LoadImage(NULL,
    // MAKEINTRESOURCE(IDB_BITMAP4),
    sLogopath,
    IMAGE_BITMAP,
    0,
    0,
    LR_LOADFROMFILE);

    sLogoPath is CString type variable which contain C:\Users\Administrator\Desktop\cg_logoa.bmp path of bitmap

    I also tried for dilectly mention path instead of variable "C:\\Users\\Administrator\\Desktop\\cg_logoa.bmp"

    Also tried for this

    L"C:\\Users\\Administrator\\Desktop\\cg_logoa.bmp" but it gives following error

    error C2664: 'LoadImageA' : cannot convert parameter 2 from 'unsigned short [44]' to 'const char *'

    Please help me for this question, If nothing wrong then please tell i am waiting.Now it is urjent

Page 3 of 3 FirstFirst 123

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured