|
my question as follow:
there're various icons on the desktop, which are system icons, app icons, icons created by right-button and so on;
why only icons created by right-button can found on the path of desktop?
thank you very much, 兄じゃん
|
|
|
|
|
I'm most likely not your brother, and i also am not sure what you exactly mean by your question, but not everything you see on your desktop are filesystem objects, "My Computer" for example or "My Network places" aren't filesystem objects, you won't find them if you look at the directory listing of your desktop. I hope this answers your question.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <
|
|
|
|
|
thanks, since they are not filesystem objects, how explore.exe display them.
if you setup one game, for ins, World Of Warcraft, it'll produce one icon on the desktop,
this also is not filesytem object, is this?
|
|
|
|
|
Not only filesystem objects can be displayed by the shell, maybe read this[^] for more info.
However, games usually place links to your desktop to make it easier for the user to start them, links ARE file system objects, with .lnk as extension (so these do appear in a folder listing), i believe the shell uses the file the link is referring to to give an icon to it (so for example if the link "points at" a txt file, then you will see a text file document icon, or if the link points at WOW's executable, then the link will get the icon of WOW), also, unless you dissable this feature (i think you can do that) the shell will place a small arrow icon in the corner of the bigger icon to show you it is a link at another object and not the object itself.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <
|
|
|
|
|
|
Sorry, i can't read what you sent there, i tried a few encodings in my browser but nothing produced anything human-readable to me, but if it is anything than english or german (or hungarian), i won't understand it anyways.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <
|
|
|
|
|
Aha, it's japanese sentence and its meaning is thanks very much!
I just am a freshman in the code-world, and need to keep up with you.
|
|
|
|
|
Ah, yourwelcome, glad i could give some help. Please always use english if you post anything here on this forum so everyone can understand, the more people understand your problem the more help you can expect. And welcome to the code-world.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <
|
|
|
|
|
This is not a C++ question. However, I suspect you are talking about their visibility in Windows Explorer, which is controlled by the settings you have selected. Look at the Tools -> Options selections on the menu.
|
|
|
|
|
i am shamed for misleading you, giving me another try to repeat my question please.
there are My Computer、My Document、Bit-Bullet、Application Quick-Link icons on the desktop of ms-operation system,
and i want to retrieve the path that icons related, for ins, Warcraft.exe, which links to D:/Program/Warcraft/Warcraft.exe.
can you understand me? i am shamed
modified on Sunday, November 15, 2009 10:29 AM
|
|
|
|
|
sunen wrote: i want to retrieve the path that icons related, for ins, Warcraft.exe, whick links to D:/Program/Warcraft/Warcraft.exe.
OK, I think I understand what you are trying to do. These items are not icons but links, commonly known as shortcuts. I think you can access their properties through the IShellLink COM interface, but I am not sure of the exact steps required. I would suggest you try searching with Google or Bing to see if any sample code exists.
|
|
|
|
|
|
Didn't you try that same suggestion yesterday?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
|
i m unable to run openCV program in VS C++ !!! please help.....
csetopper_bhanu
|
|
|
|
|
csetopper_bhanu wrote: i m unable to run openCV program in VS C++
Why?
csetopper_bhanu wrote: please help
How?
|
|
|
|
|
Hi
I am trying to install an application in USB which makes USB as a read only i.e. it should be working as a dongle. Pls let me know how it can possible using vc++.
Thanks
SNI
modified on Tuesday, November 17, 2009 3:50 AM
|
|
|
|
|
SNI wrote: Pls let me know how it can possible using vc++.
Specifically what trouble(s) are you having?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
I am trying to make USB as a dongle. I am wondering how it can be achieved using VC++ or any other languages. Is USB dongle is same as USB Tocken?
SNI
|
|
|
|
|
Hi.
I'm trying to find out with this.
I have to change every single xls to csv manualy. Any sugestion, how can I do this in C++? There must be something! I'm a beginer in C++, want to lern it. Any hint welcome!
Many thanks.
pswierq
|
|
|
|
|
pswierq wrote: I have to change every single xls to csv manualy.
Rename or convert?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
I've got this app -- that wants to run with elevated priv's.
I've added to the manifest:
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="highestAvailable" uiAccess="false">
</requestedPrivileges>
</security>
</trustInfo>
Is it possible to make the app auto-start with elevation?
The app can run without elevation... but in order to make use of some API's I need more rights.
The question -- is there a way to register the app so that it's pre-approved to run elevated? I'd like if the user can approve it once and never be asked again?
The app needs to run at the startup of the user session. I find that it won't start itself at login with this manifest.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<a href="http://www.soonr.com">SoonR Inc -- PC Power delivered to your phone</a>
|
|
|
|
|
Peter Weyzen wrote: Is it possible to make the app auto-start with elevation?
There is an autoElevate flag but it seems that it only works for certain executables signed by Microsoft. I do not know if Microsoft plans on supporting auto-elevation for signed third-party applications.
Peter Weyzen wrote: The question -- is there a way to register the app so that it's pre-approved to run elevated? I'd like if the user can approve it once and never be asked again?
No thats not how UAC elevation is implemented.
Best Wishes,
-David Delaune
|
|
|
|
|
I looked at autoElevate -- Microsoft looks quite restrictive on that, as most of their own apps aren't allowed to use it.
Is my only recourse here to tell the user they "can't have it" unless they elevate it or disable UAC?
Are there any runtime API's which I can call to request elevation of the process? Or, is it the case that the security mode cannot change once the app has started?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<a href="http://www.soonr.com">SoonR Inc -- PC Power delivered to your phone</a>
|
|
|
|
|
In vista there are 2 modes, one is with UAC enabled (in which u r currently working) and other is UAC disabled. In 2nd case the OS will be running as without security and it will be possible for you to run ur application with required priviledges. But to make UAC disabled you need to have Admin rights. The code that you have provided is for manifest file and using this file it will prompt user to provide admin priviledges while running any application.
SNI
|
|
|
|