C, VB.net, MySql
-
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.
-
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.
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:
-
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:
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".
-
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".