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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to open file dbf ?

How to open file dbf ?

Scheduled Pinned Locked Moved C / C++ / MFC
questiongraphicstutoriallearning
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tranvuminh
    wrote on last edited by
    #1

    Hi, I want to ask three question: 1.open file *.dbf in VC6 ? 2.how to load bitmap image from resource(use funtion Loadimage)? 3.how to process control run with indentify time left? Thanks very much !

    Y B 2 Replies Last reply
    0
    • T tranvuminh

      Hi, I want to ask three question: 1.open file *.dbf in VC6 ? 2.how to load bitmap image from resource(use funtion Loadimage)? 3.how to process control run with indentify time left? Thanks very much !

      Y Offline
      Y Offline
      YoSilver
      wrote on last edited by
      #2

      Load Image:

      HBITMAP hBitmap =
      (HBITMAP )LoadImage(AfxGetResourceHandle(),
      LPCTSTR(IDB_BITMAP),
      IMAGE_BITMAP, 0, 0,
      LR_CREATEDIBSECTION);

      LR_CREATEDIBSECTION ensures colours in your bitmap not mapped to the system palette. Did not understand other questions.

      1 Reply Last reply
      0
      • T tranvuminh

        Hi, I want to ask three question: 1.open file *.dbf in VC6 ? 2.how to load bitmap image from resource(use funtion Loadimage)? 3.how to process control run with indentify time left? Thanks very much !

        B Offline
        B Offline
        BlackDice
        wrote on last edited by
        #3

        for the .dbf you can use a crecordset object. For the connection string, there's an article on this site called "ADO Connection Strings" that will work Who are all these people and what are they doing in my house?...Me in 30 years, inside a grocery store My articles[^] bdiamond :zzz:

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

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