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
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. OLE DB templated samples

OLE DB templated samples

Scheduled Pinned Locked Moved ATL / WTL / STL
databasec++comhelpannouncement
4 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.
  • S Offline
    S Offline
    Sebastian Benitez
    wrote on last edited by
    #1

    Hi all. As I'm haveing problems with OLE DB database access, and I've tried everything that came to my mind to solve the problems, I would appreciate if someone gives me a sample of a working application (or a link where I can find it) so I can see what's I'm doing wrong. I have a .mdb that I really want to update, but I can't!! I can read it, i can insert a new record, but i can't update the record. I use ATL 7.1 without the attributed code, just plain wizard generated code plus additions. Thanks in advance :wtf: PS: I forgot to say that articles submited to CP didn't help much in discovering what's wrong, neither MSDN helped me. "semper aliquid haeret", Bacon. -- Sebastián.

    I 1 Reply Last reply
    0
    • S Sebastian Benitez

      Hi all. As I'm haveing problems with OLE DB database access, and I've tried everything that came to my mind to solve the problems, I would appreciate if someone gives me a sample of a working application (or a link where I can find it) so I can see what's I'm doing wrong. I have a .mdb that I really want to update, but I can't!! I can read it, i can insert a new record, but i can't update the record. I use ATL 7.1 without the attributed code, just plain wizard generated code plus additions. Thanks in advance :wtf: PS: I forgot to say that articles submited to CP didn't help much in discovering what's wrong, neither MSDN helped me. "semper aliquid haeret", Bacon. -- Sebastián.

      I Offline
      I Offline
      Igor Vigdorchik
      wrote on last edited by
      #2

      This book could be of some help: "Database programming with Visual C++ 6" by Lyn Robison, published by Sams.

      S 1 Reply Last reply
      0
      • I Igor Vigdorchik

        This book could be of some help: "Database programming with Visual C++ 6" by Lyn Robison, published by Sams.

        S Offline
        S Offline
        Sebastian Benitez
        wrote on last edited by
        #3

        Thanks, but I don't want a book, and seems a bit outdated. I just need some working code to see how it works. "semper aliquid haeret", Bacon. -- Sebastián.

        N 1 Reply Last reply
        0
        • S Sebastian Benitez

          Thanks, but I don't want a book, and seems a bit outdated. I just need some working code to see how it works. "semper aliquid haeret", Bacon. -- Sebastián.

          N Offline
          N Offline
          nativespirits
          wrote on last edited by
          #4

          I have had success with the Microsoft example OnlineAddressBook from the MSDN library (comes with Visual Studio .NET Enterprise). I believe you can download it off the msdn site as well. It shows record retrieval, update, delete etc...

          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