473,385 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Open another application upon closing

I have a small app that makes registry changes depending on user input.
After the changes I'd like another application (the one that the changes
affect) to open and the current app to close and be removed from memory.

I'm not sure where to start looking for a solution.

Thank you
Ron.
Nov 21 '05 #1
3 933
Ron,

Look up VB's Shell function in the help system.

Kerry Moorman
"Capt_Ron" wrote:
I have a small app that makes registry changes depending on user input.
After the changes I'd like another application (the one that the changes
affect) to open and the current app to close and be removed from memory.

I'm not sure where to start looking for a solution.

Thank you
Ron.

Nov 21 '05 #2
Thank you VERY much. Now just have to back up the registry keys and I'm all
set!!

Ron.

"Kerry Moorman" wrote:
Ron,

Look up VB's Shell function in the help system.

Kerry Moorman
"Capt_Ron" wrote:
I have a small app that makes registry changes depending on user input.
After the changes I'd like another application (the one that the changes
affect) to open and the current app to close and be removed from memory.

I'm not sure where to start looking for a solution.

Thank you
Ron.

Nov 21 '05 #3
"Capt_Ron" <Ca*****@discussions.microsoft.com> schrieb:
I have a small app that makes registry changes depending on user input.
After the changes I'd like another application (the one that the changes
affect) to open and the current app to close and be removed from memory.

'Microsoft.VisualBasic.Interaction.Shell',
'System.Diagnostics.Process.Start'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: lokee | last post by:
hello all.... i have one query.... can somebody please tell me advantages and disadvantages of making connection to sql server open at the start of application and closing it at the end of...
6
by: Kenneth Courville | last post by:
Hello, I'm looking for assistance with the Access object model. I know this is VB, but I'm building an Office Add-using C# directed at Access 2002. I'm literate in VB, so you can reply in VB... I...
3
by: Karan | last post by:
I am calling finalize when form2 loads and deactivates form1 which closes form1. However, same thing is not happening in form2 because finalize is already called. Does anybody has solution to it....
3
by: pratham | last post by:
Hi and regards What is best method to have an connection to sql, iam using sqlserver 1. have an sqlconnection open when the application start event in global.asax so that i dont have to open...
13
by: Academic | last post by:
I have a MDI form, sometimes child forms and sometimes forms that are neither If I close the app the child forms closing and closed event happens followed by the Mdi form receiving the...
7
by: Toccoa | last post by:
After considerable googling - I mean searching with Google(r) - I could not find javascript on a button or <a href=... to close a window in the latest versions of IE and FireFox. There seemed...
4
maxx233
by: maxx233 | last post by:
Hello! I have an app that starts up and has a starting form. One of the icons on this beginning Form opens a new form and lets the user give some information on a task they need to remember to do...
5
by: Ruben | last post by:
Hello, I am using the "Application.FollowHyperlink strFilePath, , True" line of code from within access forms to launch any file type I want (e.g., xls, doc, pdf, etc.). The files open up okay,...
2
by: Robin9876 | last post by:
In an ASP.Net v2 web application that connects to a SQL 2005 database. It appears that it is not closing the connections to the database and leaves 100 db connections open and then the application...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.