A program's data on VB want how is passed on to another?
Time:10-11
A form to another form of words defined in the module and a variable So if passed between two independent exe changed how to set up, thank you!
CodePudding user response:
By sharing files, clipboard, WinSock control (network),
CodePudding user response:
The communication methods between the temporary text file sharing this process there are plenty of advantages, compared to other method only listed below I can think of now: Loose coupling between process, Can be on the same machine, process, also can cross machine, across the operating system, hardware platform, and even multinational, , convenient debugging, and monitoring, only let the third party or artificial view the temporary text files, Switch, convenient online service, need to delete or create the temporary text files, , is convenient to realize distributed and load balancing, Services to provide convenient, queue, queue is full and it is almost impossible to happen (unless the hard disk space full) DE...
CodePudding user response:
If the information is simple, and the program runs on a computer with the most convenient and, share files If the information is more, and the program may not run on a computer, with a database is a better way,
CodePudding user response:
May I express is not clear, I mean: VB, for example, I have A form, A=3, the value passed to the B form, only A public variables defined in the module can be realized
If A program with B to achieve between the passing of A=3, such as the above how to write code?