473,513 Members | 2,523 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2571
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
3088
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
466
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
5174
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
11645
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
16455
by: zhou | last post by:
in Visual Basic ,I use Appactivate(AcadApp.caption);
5
2806
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
2181
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
7879
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
1631
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
1357
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...
0
7259
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7158
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7380
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7098
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3232
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1592
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.