If ur using the database then you can save the data in Db and read from DB in 2nd application and show. Application can be published as many times as you want, Changing the version number.
and one more thing is
see i have a application1 and application2 in application1 i have added a button by "publishing", but can we publish application2 by clicking that button("publishing")which is in application1 please guide me
or else let me know any other way
but we should not open application2 to publish please tell me some other ways please
Yes socketing could be one of the sollution but im not sure how.
Dear waqasaslammmeo publishing application is not just building the exe files. It includes all the necessary files for the application which can be placed in the server so that when user clicks on exe it will look for updates and gets it and much more
u can use ReadProcessMemory and WriteProcessMemory api call.
Private Declare Function ReadProcessMemory Lib "KERNEL32" (ByVal Handel As Integer, ByVal Address As Integer, ByRef Value As Long, ByVal Size As Long, ByVal BytesWritten As Long) As Long
Private Declare Function WriteProcessMemory Lib "KERNEL32" (ByVal Handel As Integer, ByVal Address As Integer, ByRef Value As Long, ByVal Size As Long, ByVal BytesWritten As Long) As Long
The two application will declare some memory space for act like a buffer.
Now from app1 write data to buffer memory of app2 and vise-versa