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#
  4. MS Access

MS Access

Scheduled Pinned Locked Moved C#
csharpquestion
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.
  • W Offline
    W Offline
    waheed awan
    wrote on last edited by
    #1

    i am working in MS Access...........when i put a command button on Access form and go to the buildEvent......code builder..........a VB file opens....... i have no idea of VB how can i change settings so that i can code in C#

    D D 2 Replies Last reply
    0
    • W waheed awan

      i am working in MS Access...........when i put a command button on Access form and go to the buildEvent......code builder..........a VB file opens....... i have no idea of VB how can i change settings so that i can code in C#

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      You can't. Access uses VBA (Visual Basic for Applications), not C#, to write code.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007

      1 Reply Last reply
      0
      • W waheed awan

        i am working in MS Access...........when i put a command button on Access form and go to the buildEvent......code builder..........a VB file opens....... i have no idea of VB how can i change settings so that i can code in C#

        D Offline
        D Offline
        Dan Neely
        wrote on last edited by
        #3

        what you need to do is create a project in C# and connect to access the same way you would any other ODBC compatible database. There're tons of examples if you google on it.

        Otherwise [Microsoft is] toast in the long term no matter how much money they've got. They would be already if the Linux community didn't have it's head so firmly up it's own command line buffer that it looks like taking 15 years to find the desktop. -- Matthew Faithfull

        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