473,385 Members | 1,555 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.

how to activate application

Hi, can please MS answer this question:

Is there any way for an desktop application to make it the active
application (= the application window is highlighted and in front)?
Or is there any way for an application to make another application the
active application?

I'm developing a desktop app using VB.NET with Windows 2000 SP4 as runtime OS.
There is a main app that starts a 2nd app in background and a socket
communication line is established. A command in the main app shall trigger
the 2nd app to display its window and become the active application.
Everything works fine except that I can't make the 2nd app the active
application.

--
Regards,
Lars Jönson
Nov 22 '05 #1
1 2561
Hi, Lars

It looks like Jared provided you with a good response to this question in
the other thread you posted. Please post any follow-up questions you may
have there.

Thank you for choosing the MSDN Managed Newsgroups,

John Eikanger
Microsoft Developer Support

This posting is provided “AS IS” with no warranties, and confers no rights.
--------------------
| From: "=?Utf-8?B?TGFyc0o=?=" <la***@NOSPAM.com>
| Subject: how to activate application
| Date: Wed, 15 Sep 2004 00:55:51 -0700
| Lines: 17
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| Hi, can please MS answer this question:
|
| Is there any way for an desktop application to make it the active
| application (= the application window is highlighted and in front)?
| Or is there any way for an application to make another application the
| active application?
|
| I'm developing a desktop app using VB.NET with Windows 2000 SP4 as
runtime OS.
| There is a main app that starts a 2nd app in background and a socket
| communication line is established. A command in the main app shall
trigger
| the 2nd app to display its window and become the active application.
| Everything works fine except that I can't make the 2nd app the active
| application.
|
| --
| Regards,
| Lars Jönson
|

Nov 22 '05 #2

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

Similar topics

4
by: Milon | last post by:
Hi all, I am new to Python, and I just wrote a simple script to launch an application from the windows's start menu's run command. (see code as follow) There is an "OK" button on the new...
1
by: LarsJ | last post by:
Hi, can please MS answer this question: Is there any way for an desktop application to make it the active application (= the application window is highlighted and in front)? Or is there any way...
4
by: bughunter | last post by:
In version 7.x connect to db activate db db SQL1494W Activate database is successful, however, there is already a connection to the database. works fine - db activated. In 8.x - No!...
1
by: Bsiang Tan | last post by:
Is there any way to activate or bring the process to front ? For example, my application will run the windows calculator. After certain process, I will need to activate the calculator... I know...
10
by: zhou | last post by:
in Visual Basic ,I use Appactivate(AcadApp.caption);
5
by: juststarter | last post by:
hi there here is my problem : there is a main form (frmMain) which calls a searchForm (frmSearch). Then i select an item (from the returned ones) and open a third form (frmData). Taking from...
0
by: venkat | last post by:
Hi, I have migrated application code to c#2.0 and when I build the solution I am getting the following warning. My application interacts with Excel. So I need to invoke different methods on...
2
by: Dave Booker | last post by:
I have a Windows form application that I generally run minimized. When a critical event occurs it instantiates another "Alert" form which I want to grab the user focus. In the Alert constructor...
0
by: LostInMD | last post by:
Hi, I am loading word with vb2005 customized commandbars. During the load of the Word exe, the exe automatically opens a new document. I am having difficulty "activating" the open document...
0
by: =?Utf-8?B?Um9nw6lyaW8gRmVycmVpcmE=?= | last post by:
First of all, I'd like to say that it's not easy to figure out the behavior of ToolStripMenuItem Visible property. I have replaced my Windows Forms 1.1 MainMenus with the new MainMenuStrip when...
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: 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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.