Results 1 to 2 of 2

Thread: Make right data declaration

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Location
    VietNam
    Posts
    81

    Make right data declaration


  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Make right data declaration

    Can you please type your question into the post proper instead of hiding it in the image? It took me some time to even realise that text was what we were supposed to be reading.

    As for the question, a REG_DWORD is equivalent to an Integer. The Registry value should be 0 for False and 1 for True, so you can use Convert.ToBoolean and Convert.ToInt32 to convert between the two sets of values.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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