I'm writing an ActiveX Controller to expose to COM and will plan to write an installer for it. I'm using some models for an ActiveX that used Java for HTML inputs. It was a model written for C#. I'm a beginner with the language. I'm a bit confused on how to tell the program that it should get its data from the control source of the report in MS Access (Office 365). I'm also not certain which methods should be private or public in the code when it passes information back and forth between the programs.
I understand it needs exposure to COM, but I think the question here is more about how to reference Access as the source of the data the control uses to give its output. Specifically, how it would be referenced in a C# code.
What would you suggest in place of Access in terms of working with databases?
Surely it must have wide use if it is continually updated in Office releases.
Is there software that gives you the ability to generate queries and reports with the same capabilities in formatting.
I do agree after reviewing some more information on this topic. I think I found a better solution than ActiveX or some of those older methods. Visual Studio has an RPLC reporting add-in that allows you to generate custom fields using C# behind the setup and simply imports the data from the existing datatable structure via OBDE.
Sorry. That portion may not have copied into the post.
The input for the program would be the string from a field in the report in MS Access.
The program takes the string and uses the QR Coder Nugent Package to create a QR code image.
The program will output the QR code image as the object that is printed in the report.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
That's just not how sh*t works. If you don't know C# well enough to show your boss he is wrong, you are in a world of trouble. You clearly should not have a boss who pays you to write code right now. You should leave this awful job, enrol in a course, and learn C#.
I cannot remember but it seems like a language I used in the past only allowed switches on integers. Christian implies that C++ is that way so my guess is your boss is not aware that most languages do allow switch on other types.