473,396 Members | 2,076 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,396 software developers and data experts.

Front most c# application

Hello,

I am creating an application that is triggered by another 3rd party
app when they create a file in a directory. I use the
filesystemwatcher class to monitor for this file creation event and
then trigger a windows form for my application.

The problem I am having is that when my app is triggered it always
appears behind the 3rd part application. Is there a way I can ensure
that my application will always appear as the front most when
launched.

Many thanks in advance,

Phil

Apr 27 '07 #1
3 1756
How about trying to set it to be topmost when launching?

PhilBray wrote:
Hello,

I am creating an application that is triggered by another 3rd party
app when they create a file in a directory. I use the
filesystemwatcher class to monitor for this file creation event and
then trigger a windows form for my application.

The problem I am having is that when my app is triggered it always
appears behind the 3rd part application. Is there a way I can ensure
that my application will always appear as the front most when
launched.

Many thanks in advance,

Phil
Apr 27 '07 #2
On Apr 27, 12:41 pm, Niu Kun <haoniu...@hotmail.comwrote:
How about trying to set it to be topmost when launching?

PhilBraywrote:
Hello,
I am creating an application that is triggered by another 3rd party
app when they create a file in a directory. I use the
filesystemwatcher class to monitor for this file creation event and
then trigger a windows form for my application.
The problem I am having is that when my app is triggered it always
appears behind the 3rd part application. Is there a way I can ensure
that my application will always appear as the front most when
launched.
Many thanks in advance,
Phil
I have tried this also. What I am actually doing is I have a windows
form app that loads when a user logs in and this is therefore the
parent form. The 3rd part applicaiton is then loaded by a user double
click on it which I think is then making itself the topmost form. When
the 3rd party application eventually creates an external file my
parent form app creates a child form (also with the topmost property
to true) but this is always behind.

I was wondering if there was some kind of Windows DLL I could import
which provides this functionality.

Thanks,

Phil

Apr 27 '07 #3
On Apr 27, 9:55 am, PhilBray <PhilB...@gmail.comwrote:
On Apr 27, 12:41 pm, Niu Kun <haoniu...@hotmail.comwrote:


How about trying to set it to be topmost when launching?
PhilBraywrote:
Hello,
I am creating an application that is triggered by another 3rd party
app when they create a file in a directory. I use the
filesystemwatcher class to monitor for this file creation event and
then trigger a windows form for my application.
The problem I am having is that when my app is triggered it always
appears behind the 3rd part application. Is there a way I can ensure
that my application will always appear as the front most when
launched.
Many thanks in advance,
Phil

I have tried this also. What I am actually doing is I have a windows
form app that loads when a user logs in and this is therefore the
parent form. The 3rd part applicaiton is then loaded by a user double
click on it which I think is then making itself the topmost form. When
the 3rd party application eventually creates an external file my
parent form app creates a child form (also with the topmost property
to true) but this is always behind.

I was wondering if there was some kind of Windows DLL I could import
which provides this functionality.

Thanks,

Phil- Hide quoted text -

- Show quoted text -
try

this.Activate();

on the currect application form.

-
shashank kadge

Apr 27 '07 #4

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

Similar topics

3
by: Matt | last post by:
I always heard people saying IIS ASP front end, and MS-SQL back end. ASP is for server side programming and dynamic content generation, how could it is called front end? Because I thought it is...
9
by: Rich May | last post by:
Afternoon all, Apologies for cross-posting but as my query covers both Access and SQL Server I thought I'd send it both! I have inherited a project to migrate a fairly complex series of...
3
by: lorirobn | last post by:
Hello, I am in the process of bringing my Access application to client's server, and need some help! The background is: I created application (mdb) using Access 2003 on my laptop, converted it to...
3
by: Richard L Rosenheim | last post by:
I have the application's form (MainForm) along with a 2nd form (Form2). If the user minimizes MainForm, I also minimize Form2. And when the user restores the application, I also restore Form2. ...
35
by: robert d via AccessMonster.com | last post by:
I was asked to provide a proposal. I provided a proposal on my application and the prospective client likes what I have but is wary of it having been developed in Access. I don't understand this...
5
by: Anns via AccessMonster.com | last post by:
My establishment has about 20 ms access db's that will be converted over (see subject). When we pull all the BE's over to SQL and the FE's on Sharepoint (.net) surely we don't have to change...
8
by: JohnC | last post by:
RE: Access 2003 My application has been split and the front end runs on client PCs with the back end on a LAN file server. Also I have an updater routine that copies an updated client from the...
11
by: Max Vit | last post by:
I have deployed few Access apps splitting it in Front End and Back End. Our environment uses Win XP SP2 for clients, Win 2k3 for servers and Access 2003. The max. number of clients is about 50...
2
by: =?Utf-8?B?R2lkaQ==?= | last post by:
Hi, I asked here yesterday about bringing a form to front with hotkey while using different application then mine (meaning, when i'm using outlook, and pressing ALT+T it will bring a form from...
4
by: Nano | last post by:
Hey, I have been studying and working on databases for quite a time now. I know quite a lot about databases. Now I have been assigned a project where I have to build an application using the...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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...
0
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.