|
Hi .
I need to transfer keyboard event from a computer to another . Other computer hasn't keyboard.
If you know please share with me .
Thanks a'lot .
|
|
|
|
|
In my opinion, your application might relate some part of remote desktop. Whether your application does not a remote administration application but I suggest you to check Real VNC Source Code[^]. And you might want to know more about Real VNC[^].
|
|
|
|
|
Hi
Can i disable cut and copy option for a folder in Windows2000 and XP?
We Believe in Excellence
www.aqueelmirza.cjb.net
|
|
|
|
|
No, not in the way your question implies.
You can use NTFS permissions on that folder to do something similar though. The user would still get the options of Cut/Copy and stuff, they just would work. Check into Windows 2000 Security[^] for more information to see how it would apply to your situation.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
|
Only applied to Windows Server 2003, not 2000 or XP.
Read the orignal post...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
If you do not allow the other people to view your file and also prevent from copy or cut, try to encrypt your file or folder.
|
|
|
|
|
What is the benefit of using virtual PC?
|
|
|
|
|
Are you referring to the Microsoft product or to virtualization/emulation in general?
I do not know any advantages of Microsoft's product over other virtualization solutions (VMWare Server / Xen / etc.)
Virtualization has one major advantage: you can store the state of any virtual system and resume it later. Since the host-os is emulating the hardware, it is not a problem to even "suspend" a old win 3.11 system and resume execution later on.
For me, the main advantage is that I am able to install ANY OS I want into a virtual machine and do with it, whatever I want. I recently watched a virtual WinXP box crash and burn by exposing it to the world on the net. I went down so quickly, I now can back up my claim that no unpatched / unprotected box should ever be on the web.
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
Sebastian Schneider wrote: I do not know any advantages of Microsoft's product over other virtualization solutions (VMWare Server / Xen / etc.)
thanks for this, i felt alone thinking so... i even find VPC pretty crap and less configurable than VMWare.
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
Roath Kanel wrote: What is the benefit of using virtual PC?
Not much at all. Only thing I use it for is to make quick test boxes.
|
|
|
|
|
Is this possible? I am trying to install a .ocx file without admin privileges using Regsvr32.exe C:\MyFile.ocx and I get an error message DllRegisterServer in C:\MyFile.ocx failed. Return code was: 0x8002801c. The reason I would like to do this without admin right is so my C++ program can auto install the .ocx before the program that is using my .ocx starts up. My C++ program has all the right code and does so very well under an admin account but not under a user account.
What I can’t do....
- Run the program or process as another user (like an admin user).
What I would like to do...
Option 1 - Allow the program or user to have write access to the registry. (This is what I think the main issue lies.)
Option 2 - Change the user from a user to an admin and then change them back to a user after installation.
Is any option one that is possible? How? With C++? Are there any more options?
Chris
|
|
|
|
|
Microsoft recommended practice these days is to use Windows Installer and not to use self-registration. Your install program should be registering your OCX, your own program should not be doing this. If you absolutely insist on doing it in your own program you should load the DLL and call DllRegisterServer directly rather than using regsvr32 .
Since Windows 2000, the HKEY_CLASSES_ROOT key is a merged view of HKEY_CURRENT_USER\Classes and HKEY_LOCAL_MACHINE\Classes , with HKCU overriding HKLM. Ideally the OCX's self-registration code should try to write to HKLM\Classes then, if that fails, to HKCU\Classes (this makes it an admin install if that's possible, falling back to a per-user install).
Windows will not allow you to make a user into an administrator from that user's account. That's a local privilege escalation issue. Likewise you won't be able to change the security on the registry keys - and you shouldn't anyway.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
All good information.
It's a shame that MSI is such a pig to use from the point of view of your average 'use the wizard and join the dots' coder (rather than a developer who actually understands COM and the way it relates to the registry. I haven't looked at the registration code in VS8. Is it any different to the VC6 stuff?
Steve S
Developer for hire
|
|
|
|
|
Hi .
I need to know that DCOM is faster for Data Communication between 2 computer or Socket Programming.
Thanks
|
|
|
|
|
If you want to support the feature set of DCOM, I think you'll be hard pushed to do better in your own code.
DCOM provides authenticated remote procedure calls to objects with builtin transparent marshalling of parameters. So yes, it's slower than raw sockets programming because it has a certain amount of overhead required to support these features. Because it's a network service, it's also an attack vector, so it's been through a degree of security hardening. This makes it inconvenient to use on networks without a domain infrastructure.
If you don't need the convenience of a remote procedure call syntax, authentication, and the overhead involved in it, by all means use socket programming. DCOM is generally more convenient to program, though.
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hi
There is a problem in my pc. I am using WIndows XP When i try to open command prompt window by typing cmd in run dialog box or using any other way, my Windows restarts. This happens also when i try to run some console based programs. Can anyone please tell me what is the problem?
Thank you.
We Believe in Excellence
www.aqueelmirza.cjb.net
|
|
|
|
|
Your computer is infect by virus. What you should do is disconnect this computer from the network. Restart your computer and run it in safe mode. Then log on as administrator and try to scan your computer for a virus in safe mode.
What you should note is if you could found the virus, try to note the virus name and search on the internet for the method to clean the virus.
|
|
|
|
|
I'm trying to monitor the acecess to the windows registry so that i can tell when a video file is opened. i know that montoring the registry is possible seeing as the regmon program does it. If anyone knows how to go abou tit that would be great... I'm using J# but if you know how to do it in another language then plz reply i can figure it out for j#
also if anyone knows how to make windows notify a process that the registry has been acessed instead of having to receieve the thousands of other registry acesses i'd appreciate it.
Thanx
|
|
|
|
|
tazo wrote: so that i can tell when a video file is opened
What do you mean by video open? You want to control when the file (any type of file) is open, rename, delete...? If so try to check this article[^].
|
|
|
|
|
no i want to know when someone opens a video file... i need it to trigger the program i'm writing in order to analyze it and extract info... afterwich i'm going to need to get the pid of the media player that's playing it
thanx
|
|
|
|
|
tazo wrote: when someone opens a video file...
In my opinion, my previous respond might offer what you need. If you have enough time please try to read this article[^]. It might give you some idea relate to what you need to do in your application.
|
|
|
|
|
thanx a lot that helps
'preciate the info
|
|
|
|
|
Hi,
I need help in avoiding the window which pops up during the USB detection. I am using Windows XP professional and I actually does not want any window to be popped up during this USB Mass storage device or MP3 Player Detection.
Please help me in this issue.
|
|
|
|
|