The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
naved momin wrote:what efforts i can make so that my java application automatically starts when windows(OS) start or boots ?
but solutions should be 100% programmatically
Jeff Verdegan wrote:
but solutions should be 100% programmatically
If you mean what I think you mean by that, then it's not possible.
Wendy Gibbons wrote:
Jeff Verdegan wrote:
but solutions should be 100% programmatically
If you mean what I think you mean by that, then it's not possible.
He could go and get a job for microsoft, and make everyone's computer start it at runtime![]()
Tim Moores wrote:Alternatively, you can put a .bat file that starts the app in the AutoStart folder.
The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
naved momin wrote:
Tim Moores wrote:Alternatively, you can put a .bat file that starts the app in the AutoStart folder.
yes that could be one solution but that require human intervention, i m finding solution programmatically
Jeff Verdegan wrote:
naved momin wrote:
Tim Moores wrote:Alternatively, you can put a .bat file that starts the app in the AutoStart folder.
yes that could be one solution but that require human intervention, i m finding solution programmatically
Define exactly what you mean by "programmatically." A .bat file is a programmatic approach, in my opinion.
If you mean what I think you mean--simply by what you put in your Java code--then it is not possible.
Philip Thamaravelil wrote:
Jeff Verdegan wrote:
naved momin wrote:
Tim Moores wrote:Alternatively, you can put a .bat file that starts the app in the AutoStart folder.
yes that could be one solution but that require human intervention, i m finding solution programmatically
Define exactly what you mean by "programmatically." A .bat file is a programmatic approach, in my opinion.
If you mean what I think you mean--simply by what you put in your Java code--then it is not possible.
Hypothetically, you could have your Java program create the batch file in the startup directory. So only an initial run of the program would be required. Just my two cents.
Philip Thamaravelil wrote:
Jeff Verdegan wrote:
naved momin wrote:
Tim Moores wrote:Alternatively, you can put a .bat file that starts the app in the AutoStart folder.
yes that could be one solution but that require human intervention, i m finding solution programmatically
Define exactly what you mean by "programmatically." A .bat file is a programmatic approach, in my opinion.
If you mean what I think you mean--simply by what you put in your Java code--then it is not possible.
Hypothetically, you could have your Java program create the batch file in the startup directory. So only an initial run of the program would be required. Just my two cents.
The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
naved momin wrote:
Philip Thamaravelil wrote:Hypothetically, you could have your Java program create the batch file in the startup directory. So only an initial run of the program would be required. Just my two cents.
thats nice one ....good job...![]()
Consider Paul's rocket mass heater. |