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. Visual Basic
  4. C, VB.net, MySql

C, VB.net, MySql

Scheduled Pinned Locked Moved Visual Basic
questioncsharpdatabasemysql
4 Posts 3 Posters 1 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.
  • K Offline
    K Offline
    kus_hal03
    wrote on last edited by
    #1

    I have developed one GUI in vb.net but now I want to use C as backend code along with MySql as database. Is it possible to create such a application. I have been using C and MySql under Fedora and I have my GUI ready in vb.net. Can you tell me how can I communicate these thing together? For ex. I have add button on front end, when I click add button, and instead of defining functionality in vb.net I want to send input to C function and then C function will execute and return output.

    L 1 Reply Last reply
    0
    • K kus_hal03

      I have developed one GUI in vb.net but now I want to use C as backend code along with MySql as database. Is it possible to create such a application. I have been using C and MySql under Fedora and I have my GUI ready in vb.net. Can you tell me how can I communicate these thing together? For ex. I have add button on front end, when I click add button, and instead of defining functionality in vb.net I want to send input to C function and then C function will execute and return output.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      kus_hal03 wrote:

      I have been using C and MySql under Fedora and I have my GUI ready in vb.net. Can you tell me how can I communicate these thing together?

      Using a variety of techniques. What's the VB.NET GUI running on, is it a Windows system, or is it running on the same Fedora-machine? Easiest way to have them communicate would be over web-services.

      Bastard Programmer from Hell :suss:

      L 1 Reply Last reply
      0
      • L Lost User

        kus_hal03 wrote:

        I have been using C and MySql under Fedora and I have my GUI ready in vb.net. Can you tell me how can I communicate these thing together?

        Using a variety of techniques. What's the VB.NET GUI running on, is it a Windows system, or is it running on the same Fedora-machine? Easiest way to have them communicate would be over web-services.

        Bastard Programmer from Hell :suss:

        L Offline
        L Offline
        LCARS x32
        wrote on last edited by
        #3

        You can also export your C classes in such a way that VB.net can use them like you would API calls. I did this on a shell I developed so that I could get the sytem tray icons. Search google for "Use C++ DLL in VB.net". Another option is to use WndProc messages between the two applications. That's the way I would go personally. The concept you'll want to research is "inter-process communication".

        L 1 Reply Last reply
        0
        • L LCARS x32

          You can also export your C classes in such a way that VB.net can use them like you would API calls. I did this on a shell I developed so that I could get the sytem tray icons. Search google for "Use C++ DLL in VB.net". Another option is to use WndProc messages between the two applications. That's the way I would go personally. The concept you'll want to research is "inter-process communication".

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          That's assuming that they're on the same computer.

          Bastard Programmer from Hell :suss:

          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