I have in mind an application that will mainly act as monitoring terminal for occasional errors that might be generated at about 20 other computers (each running another of my apps!).(Mainly like "File not found")
It is also will be used intermittently for sending data to these computers
The problem is if this new program is only started when the operator wants to send some files or data, it won't always see errors as they happen. Some days it might not even be started so errors could go unnoticed for days.
By putting it in the RUN part of the registry of the control computer I could have it start invisibly every time the monitoring computer is rebooted and the form only appear if a fault is received or data is required to be sent. I can handle this part of it OK
What would be the minimum code required to check if the app was in the RUN part of the registry and add it if it is not every time my app starts (in case someone has erased from the registry it the day before - like Tinkerbell)
And to delete one if more than two entries are accidentally added?
I was hoping not to have to use an OCX not normally supplied with VB6 or Windows and it will have to run on XP or Vista.
Would it perhaps be better to treat it as a service or put in in the RUN of the registry which should be enough anyway?
I would also like it to appear as an icon on the bottom right hand side of the screen so people could open it to send data or check for errors. How do you do that?
When they close it, the app will always stay hidden running in the background.
It is also will be used intermittently for sending data to these computers
The problem is if this new program is only started when the operator wants to send some files or data, it won't always see errors as they happen. Some days it might not even be started so errors could go unnoticed for days.
By putting it in the RUN part of the registry of the control computer I could have it start invisibly every time the monitoring computer is rebooted and the form only appear if a fault is received or data is required to be sent. I can handle this part of it OK
What would be the minimum code required to check if the app was in the RUN part of the registry and add it if it is not every time my app starts (in case someone has erased from the registry it the day before - like Tinkerbell)
And to delete one if more than two entries are accidentally added?
I was hoping not to have to use an OCX not normally supplied with VB6 or Windows and it will have to run on XP or Vista.
Would it perhaps be better to treat it as a service or put in in the RUN of the registry which should be enough anyway?
I would also like it to appear as an icon on the bottom right hand side of the screen so people could open it to send data or check for errors. How do you do that?
When they close it, the app will always stay hidden running in the background.