|
Friday, May 19, 2006
Communication between EXE's...
If I had more time to properly develop this application that I am working on, I know I would be able to come up with a better structure then I currently devised. But because I am pressed for time, this is the only way that I can think of to perform what I need to do. I have an SQL database that has a table which holds a map of the menu structure of me Client.exe. The reason I do this is pretty straight forward, every user has permissions to see only certain menu items that they have been granted, those permissions are stored in other tables. The problem is, that in order for an Administrator of the application to assign these permission I need to display a list of all the menu items for the Administrator to either allow or deny the user and/or group. I thought about hardcoding the menu structure into the application, but then that means I would have to remember to change the code whenever I changed the Menu. So, I decided to give the Server.exe the responsibility of making sure that the MenuStructure table in the database was up-to-date. In order to do this though, the Server.exe needed to know what the current MenuStructure was, and that was a problem because it resided on another Executable, the Client.exe. So how do I get one Exe to read the other Exe's data...? That is the question of the day...and I am currently in the process of finding out. I'll keep you posted. 0 Comments:
|
About Me
Archives
March 2006
Recent Entries
Progamming Links
.Net Rocks! GotDotNet ![]() |