|
This was supposed to be a reply to the question below. Sorry.
|
|
|
|
|
There are many softwares will auto run when the Windows only startup!
So,I want to code a small program to turn off some software's autorun?
How should I do this task?Thanks.
GOOD LUCK.
|
|
|
|
|
Depending on the new entry of the software at the time of installation, some softwares add an entry in the Run folder in the Registry. If you know how to tweak the registry and modify the values so as not to run the software you know how to stop a software from executing at StartUP. Playing with the registry is dangerous and you should always have a backup of it before doing any changes.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
But if I do not only do such task. For example,when I insert an USB device,a special software will launch,that's also should be turned off.How to reslove such new task?
Thanks
|
|
|
|
|
Programs can be started on 3 levels
1. In the starup folder of the user.
These are link files which can be deleted. I think you can find the folder with the function SHGetKnownFolderPath[^]
2. There are 2 places where programs can be starten from the registry
HKCU/SOFTWARE/MICROSOFT/WINDOWS/CURRENTVERSION/RUN
HKLM/SOFTWARE/MICROSOFT/WINDOWS/CURRENTVERSION/RUN
3. Last place: The services.
These program2/services can be started according to there startup settings: manual, automatic, disabled.
Hope this is helpfull
codito ergo sum
|
|
|
|
|
But if I do not only do such task. For example,when I insert an USB device,a special software will launch,that's also should be turned off.How to reslove such new task?
Thank you.
|
|
|
|
|
There are loads of autorun places - Have a look at the AutoRuns utility on www.sysinternals.com.
If you mean a specific program, and you know how *it* autostarts, then it should be simple. For the more general case? Harder.
Iain.
|
|
|
|
|
Yes,I know which program I want to turn off its auto run.
Thanks.But if I do not only do such task. For example,when I insert an USB device,a special software will launch,that's also should be turned off.How to reslove such new task?
|
|
|
|
|
kcynic wrote: But if I do not only do such task.
You said this three times and it still makes no sense. Do you or do you not know how to remove a value from the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run key?
kcynic wrote: ...when I insert an USB device,a special software will launch,that's also should be turned off.
This has nothing to do with the aforementioned key. Likely, some service is running that is monitoring all USB activity. Does the USB device have any programs on it that could be auto-running?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Yes,I can see a service running now.
Thank you very.
Happy Mid-auturmn Day
|
|
|
|
|
|
Dont need to ask again you can complete your question.
|
|
|
|
|
thanks sir for ur response
i know ip address sir
but to connect with other system from my system
i need also port number and i read about port numbers but i dont understand
that which port number is user to connect two systems in the network
thanks
|
|
|
|
|
Hi
what is mean by unistallerFF?
|
|
|
|
|
yadahav wrote: unistallerFF?
Are you sure this has some meaning ?
|
|
|
|
|
|
Hamid. wrote: It was interesting here
What's interesting there ? It's pointing to the same question.
|
|
|
|
|
If you see result of search is two links that both are codeproject.
|
|
|
|
|
This is because only yadahav has asked or I should say coined the word unistallerff.
So the whole world does not know about this till now.
|
|
|
|
|
|
hi
i want to know how to change the font of property page because when i change font of property page from its property it does not show effect,but if i change the font of simple dialog form property change appear,can any body help me,
regard
rajnesh
malik
|
|
|
|
|
Change your font just before writing.
For that you can use CreatePointFont (...), and then select it in your CDC beore writing.
If you want to change the font of a control. You have to change it directly in the control (one of the best places is on the OnInitialUpdate ().
Anyways. You can set the font for the whole View in the CMainFrm or in the CChildFrm. When the window is create, by the PreCreateWindow (...)
Greetings.
--------
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
|
|
|
|
|
#include <string>
using std::string;
CString=ff;
string ftitle;
ftitle = string("fileName");
My question is how to convert ftitle to CString ff ?
How to assign the content of ftitle to ff ?
Thanks a lot for help
|
|
|
|
|
try this..
ff = ftitle.c_str();
hiren thakkar
|
|
|
|
|