473,396 Members | 1,971 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.

Getting application name

Hi, does anyone knows how to get the application name for the active window? Any help is appreciated.
Nov 20 '05 #1
6 1585
system.Windows.Forms.Application.ProductName

"mikkel" <an*******@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
Hi, does anyone knows how to get the application name for the active

window? Any help is appreciated.
Nov 20 '05 #2
system.Windows.Forms.Application.ProductName

"mikkel" <an*******@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
Hi, does anyone knows how to get the application name for the active

window? Any help is appreciated.
Nov 20 '05 #3
"mikkel" <an*******@discussions.microsoft.com> schrieb
Hi, does anyone knows how to get the application name for the active
window? Any help is appreciated.

D

1. API Function GetForegroundwindow
2. GetWindowThreadProcessId
3. System.Diagnostics.Process.GetProcessById
4. Access the process properties

--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #4
"mikkel" <an*******@discussions.microsoft.com> schrieb
Hi, does anyone knows how to get the application name for the active
window? Any help is appreciated.

D

1. API Function GetForegroundwindow
2. GetWindowThreadProcessId
3. System.Diagnostics.Process.GetProcessById
4. Access the process properties

--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #5
Should have read the question better... then again, subject is misleading...

apologies.

"CJ Taylor" <no****@blowgoats.com> wrote in message
news:10*************@corp.supernews.com...
system.Windows.Forms.Application.ProductName

"mikkel" <an*******@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
Hi, does anyone knows how to get the application name for the active

window? Any help is appreciated.

Nov 20 '05 #6
Should have read the question better... then again, subject is misleading...

apologies.

"CJ Taylor" <no****@blowgoats.com> wrote in message
news:10*************@corp.supernews.com...
system.Windows.Forms.Application.ProductName

"mikkel" <an*******@discussions.microsoft.com> wrote in message
news:7C**********************************@microsof t.com...
Hi, does anyone knows how to get the application name for the active

window? Any help is appreciated.

Nov 20 '05 #7

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

Similar topics

2
by: Eyal | last post by:
Hey, I would appriciate if anyone can help on this one: I have a java object/inteface having a method with a boolean parameter. As I'm trying to call this method from a javascript it fails on...
1
by: Michał Januszczyk | last post by:
How can I retrieve web application name (or virtual dir name)? (Actually I need physical root directory of web application) I want to open some files in web application root relative...
8
by: bryan | last post by:
Is there any way I can get the application path (the one returned by Request.ApplicationPath) in the Application_Start method in Global.asax? Request is not valid there. On a related note, is there...
4
by: TS | last post by:
in my web project's bin folder, the dll, that comes from a project reference of a class library in same solution, can't be deleted. it says it has a sharing violation. i also cannot delete the...
6
by: beaker | last post by:
Hello, Is there a way to get the name of my application (as it appears on the list of processes running) at runtime? (Something to do with System.Reflection...?) Thanks, Gary
1
by: kamleshsharmadts | last post by:
I am using Ajax with struts in web application. from jsp i am calling a function of ajax.js onclick of a button. code of that call function which calling from jsp given as below:- ...
1
by: iwdu15 | last post by:
hi, how can i get the icon associated with a certain file type? thanks -- -iwdu15
0
by: buntyindia | last post by:
Hi, I have a very strange problem with my application. I have developed it using Struts. I have a TextBox With Some fixed value in it and on Submit iam passing it to another page. <html:form...
2
by: wassimdaccache | last post by:
Dear everybody, I have designed a database on office 2007. I opened a report using layout view. I am using CTRL + F option to find on the report the string that I want. Once I write the string...
15
denny1824
by: denny1824 | last post by:
I have a working website. I copied all the files to a new folder in inetpub/wwwroot and then set that folder as a Virtual Directory in IIS. I try going to that site from the new folder and i am...
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: 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...
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: 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
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,...
0
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.