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. CFileDialog whata f...??? hehehee

CFileDialog whata f...??? hehehee

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestiondatabase
3 Posts 2 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.
  • N Offline
    N Offline
    Nitro_gen
    wrote on last edited by
    #1

    Hey pals...look... it's so weird.. I have a property page where I save the data entered by the user to a database, the users can enter some personal informations about themselves and choose a image file, here is the problem... if the user not choose a image file, opening a File Dialog, all data it's saved in the database when the " add information" button is pressed, but if the damn user choose a file, nothing happens no one record is added to the database..what is this? make my day friends..help me hehehehee thanks in advance...

    J 1 Reply Last reply
    0
    • N Nitro_gen

      Hey pals...look... it's so weird.. I have a property page where I save the data entered by the user to a database, the users can enter some personal informations about themselves and choose a image file, here is the problem... if the user not choose a image file, opening a File Dialog, all data it's saved in the database when the " add information" button is pressed, but if the damn user choose a file, nothing happens no one record is added to the database..what is this? make my day friends..help me hehehehee thanks in advance...

      J Offline
      J Offline
      Johan Rosengren
      wrote on last edited by
      #2

      This is a blanket question that is almost impossible to answer. The only advice I can give is to put well-placed breakpoints in the app, first of all in the "Add information" button handler. Go from there, inspect the contents of the variables, and finally, the saving function for the database.

      N 1 Reply Last reply
      0
      • J Johan Rosengren

        This is a blanket question that is almost impossible to answer. The only advice I can give is to put well-placed breakpoints in the app, first of all in the "Add information" button handler. Go from there, inspect the contents of the variables, and finally, the saving function for the database.

        N Offline
        N Offline
        Nitro_gen
        wrote on last edited by
        #3

        Hi Johan, thank you for reply. I have found the problem, I was using MyOleDB driver...so i change to MyOdbc and everything works fine...

        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