|
Thank you for your reply, Mike!
My application doesn't require Administrator's rights, and i am using asInvoker in my manifest.
I am trying to manage all application files within C:\ProgramData\MySoftwareFiles. All users seem to have full acess to that folder, and i have no problem creating files there from my application.
However, files seem to be automatically duplicated into folder C:\Users\All Users\MySoftwareFiles. I don't understand why this happens. Can i not use c:\ProgramData folder for my software? Other software packages seem to be using it as well...
|
|
|
|
|
Mike,
To be more specific, i am having this problem with a JET database that when i'm making changes under Administrator user they get into one DB, when under normal user - into different DB, even though the full path to the file is always the same...
I don't know if this if JET - specific problem or not...
Free C++ libraries with source code on www.neatcpp.com: TWAIN, DirectShow, Interprocess Communications, etc...
|
|
|
|
|
Hi
I have been stuck on this for a while now and if somebody could point me in the right direction it would be appreciated. I am trying to add a tab to the property form that opens when you right-click a user in the active directory snap-in and select properties, this tab will show the manager, secretary and the assistant of the user. I have been looking at the MSDN articles but they are a mess and I don't fully understand them, it appears as if you can only do this in VC++. Does anybody know of a clear step by step tutorial or a working example out there that covers this topic?
Thanks
|
|
|
|
|
I think the book "Windows 2000 Programming Bible" by John Paul Mueller [ISBN: 0-7645-3312-6] goes into some of that stuff, and I think it exists in PDF format if you have trouble finding it in the shops.
//Johannes
|
|
|
|
|
Thanks
I will have a look at it.
|
|
|
|
|
Hi,
I'm implementing a firewall on windows 2003 OS with java.
First step i capture packets from network interface card with jpcap api.Acording to captured packets i change windows registry with com.ice.jni.registry to block packets.
My problem is about block pinging.How can i do this? Which registry's
should i change?
Thanks
Good works...
|
|
|
|
|
|
No, you are not implementing a firewall. You are implementing a third-party-frontend for the Windows Firewall. And to do that, well... how about creating a copy of your registry (export everything), then change a setting, export your registry to another file and compare those two?
Cheers,
Sebastian
--
"If it was two men, the non-driver would have challenged the driver to simply crash through the gates. The macho image thing, you know." - Marc Clifton
|
|
|
|
|
Hi, my computer inffect with the virus. When it come into my system, it general 15 character in word option and every document that I open and close, when I open again it display a password dialog box to enter. I didn't set any password and the file couldn't open. Does anyone know how to solve this problem?
Thank in advance
|
|
|
|
|
Roath Kanel wrote: Does anyone know how to solve this problem?
I don't know, how about removing the virus?? There are plenty of virus scanners out there in the world.
As for the documents that have been modified, you'll have to Google for "Word remove password". There may be some utilities out there that can do this, but don't hold your breath for a "one click" solution. Recovering the documents may take a lot of manual work.
There is something to be said for backups...
|
|
|
|
|
Hi
been trying to get this working...I need unix "ls" command - search all *.log files with timestamp older than a month?
ls -R -l *.log
My next problem would be to feed that to "rm" command to delete them...
Thanks!!
devy
|
|
|
|
|
|
In Vista OS the keys "DefaultUserName" & "DefaultDomainName" are not present under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\
Is there any other key in the registry which stores current logged on UserName & domain? Or
I need to manually add these keys to the registry and everytime different user logs on he has to update this value to his user name?
Please suggest if there is any other alternative?
Thanks
|
|
|
|
|
Why do you want to use the registry? The GetUserName function gives the currently-logged-on user, including the domain name (if any).
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
These keys aren't guaranteed to be on any version of Windows as they are part of the process to automate a windows login. This feature permits other users to start your computer and to use the account that you establish to automatically log on. However, if you turn on autologon, using Windows XP becomes more convenient. However, using this feature can pose a security risk.
You shouldn't rely on these keys, but should use the System.Environment.UserName property or the GetUserName[^] Win32 API call.
Scott.
—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[ Forum Guidelines] [ Articles] [ Blog]
|
|
|
|
|
When we insert a USB disk, a Windows message pops up to ask user what appl user wants to run.
How do I get rid of that popup message?
(the same "action" as getting rid of the CD/DVD auto-run in the registry)
thanks.
mnnca
mnnca
|
|
|
|
|
Im guessing you mean the "AutoPlay" dialog?
You could open up gpedit.msc (from start, run), then go through Administrative Templates - System and then Mark "Turn off Autoplay", enable it for all drives...
//Johannes
|
|
|
|
|
Thanks.
I tried gpedit.msc, there is no "autoplay" under Adm Temp-System or any other places under Adm Templ.
Under "Windows Media Player", there is an item "Do not show first use dialog boxes", I tried that, but it doesnt work.
mnnca
mnnca
|
|
|
|
|
Hmm give google a try, "disable autoplay" or something
//Johannes
|
|
|
|
|
Just curiosity: what does it have to do with google?
I know how to disable "auto play" for cd, dvd (in the registry).
This is not auto-play.
This is the Windows' popup dialog which asks user what app he wants to run for this disk/media (which is just inserted).
mnnca
|
|
|
|
|
As far as I remember, "auto run" is the name of which windows automaticaly runs files off a medium by looking at the autorun.inf file, and "auto play" is the dialog which come up for usb disks etc, asking about which program to use with that drive.
I suggest you use google to find another method of disabling auto play.
//Johannes
|
|
|
|
|
Thanks.
I will.
mnnca
mnnca
|
|
|
|
|
Another way is to install TweakUI from microsofts powertoys.
In the menu "My Computer -> Autoplay" you can enable or disable autoplay on different drives or types.
|
|
|
|
|
Thanks for the help.
I've never used TweakUI, but since there are so many problems with this "unsupported tool" (posted on msdn), I don't think I should try it (not now).
mnnca
mnnca
|
|
|
|
|
If you want to edit it directly in the registry for better control you should check out Technet[^]
This article has a table for how to set the autoplay for all different kind of drives.
|
|
|
|