Jump to content

Recommended Posts

Posted

Hello.

Is there any way that at execution time I can assign a string to variable that will be visible in Windows Task Manager when right-click my program and select "Properties"?
It's fine If I have to use Sysinternals Process Explorer to view the string.

(also, if anyone has a better idea for the title of this thread, please message me or share it here)

Posted

Can you explain what you're trying to do, it sounds like you want to update file properties which you can do with something like resource hacker or lookup reshacker on the forums.  Unfortunately your description is a little vague, i.e. do you want to use this variable/string or is it suppose to be written somewhere? 

Posted

I want to do this:

--Program starts

--InputBox pops up and I type in a string

--I open Task Manager (or Process Explorer) and I can find my InputBox string somewhere in the properties of the .exe.

 

Posted

An alternative solution has come to me, so only read on if you really want to know why I asked...

I wrote a timer program.   Often I'll have several instances running simultaneously.   Sometimes I'll want to know when the timer started.  Process Explorer has a "Start Time" column, but I couldn't match that start time to a specific instances because they all have the same process name.  I was hoping I could put "timer purpose" somewhere visible to Task Manager.  The alternative solution is to put the start time in

TraySetToolTip()

Thanks for helping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...