I have a windows application called X, I build it, and evidently I can run the executable X.exe.
But now, I build this application to a X.dll; and I want to load that X.dll from another application YYY.EXE, and start the X-application.
I tried in Y:
Assembly assemblyX = Assembly.Load("X"); // works
Type typeX = assemblyX.GetType("namespace + classname"); // works
MethodInfo methodinfoCOnstructor = typePlannet.GetMethod("?"); // ?
Our police department want to use the Win CE to allow the police me outside to check the status of a card or drivng license without calling the traffic department. I need to know the following please (note: this can be win or web application):
1. Do I have to connect to the Win CE to internet to get the data or I can connect to the police department network?
2. Any one can give his suggesstions on this plan?
Several Police Departments are already doing this. I know at least one in Maryland, USA is - you'll have to search the net to find information on it but if you find an article I bet it would save you a lot of design work
As far as hooking to internet - that's probably the easiest way since so many 3rd pary hardware & wireless solutions exist. You can then send private Packets to the police dept servers. Not sure what you mean by or I can connect to the police department network?, if you mean private dial up into secure network, forget it I'd say - too slow & error prone. Just go through internet using secure sockets.
Good luck, and let us know how the project is coming along...
I'd say use the internet (using GSM or whatever the US mobile equivalent is), you'd need a big transmitter on you handheld otherwise - local wireless solutions are not powerful enough for city use.
secure sockets obviously and also make sure that it can't be abused eg - lunatic checking the name of good looking girl in car going by - so test test test and no real data available until you are satisfied.
Technically speaking the dictionary would define Visual Basic users as programmers. But here again, a very generalized, liberal definition is being employed and it's wrong - just plain wrong - Tom Archer 5/12/02
I have a Windows Form application that helps build a XML file which has a menu item to make it perform a translation to another format (MC in my case).
I would like this application to be usable at the command line, like in a batch file, so it can be included in a build process. Obviously, I don't want any windowing when run from the command line. To achieve this trick, I simply check if there is some command line parameters. If there is no command line parameter, I start the Windows form.
I tried this and I can get text in the VS output console, but not via commandline. There is a way though, and that is too set it as console app in the projects settings, but if you run a Form app the console will stay there.
I have found the solution: change your project settings from "Windows application" to "Console application". There is one drawback though: There will be a command window even when the application is in the "Windows Form" mode.
Michel Prévost wrote: I have found the solution: change your project settings from "Windows application" to "Console application". There is one drawback though: There will be a command window even when the application is in the "Windows Form" mode.
Eish I cant believe, is my english that bad? That's what I said in the 2nd part of my post
Is there a way to synchronize the vertical scrollbars between two controls, so that as you scroll up and down in one you also scroll up and down in the other? For example, a ListView and a DataGrid sitting side-by-side, or two ListViews.
Thanks for the reply......The damn thing must be possible!!!!
I'm not glad, but you know what I mean, that others have hit the same brick wall and I'm not just incapable of reading MSDN etc..
It was a pain in ATL but at least it was a pain. I expect the feature is not documented, but is present. I have tried reflection but there is so must to reflect upon that mist starts to fall!!!
Do you know of a way to contact Microsoft or any articles on the component/site/container architecture. MSDN seems only to have a very sparse collection and any info on querying the IContainer via the ISite is simply lacking.