My web project allows a user to navigate to a word document. My task is, not to allow the user to modifify the document. I can have the word document read only. But, user is still allowed to type-in the keys from keyboard, though he can not save it. I do not want the user to press any key that modifies the text on the word document while it is being displayed in IE. Is it possible? :)
Srini Kella
Posts
-
disable keys in word document -
Regions in GDI+Thank you verymuch for your detailed response.
-
Regions in GDI+What is the diff. between GDI and GDI+?
-
Mem Usage???Guys: How will the NT-TaskManager gets the "Mem Usage" bytes? Is there any API(s) for that? thanks
-
memory leaks...Tim: I just want to make sure. Thats all. Thanks for your reply.
-
memory leaks...Guys: I know my program leaks memory. Win32 documentation says, the leaked memory will be acquired by win32 OS once the leaking process terminates. Is it true? If it is so, how do I make sure that the OS 'really' acquired the leaked bytes? Is there any tool which shows the memory size before and after? Is the "Mem Usage" in Performance tab of NT-Task Manager indicates this?
-
'asynchronous' version of _access()Guys: I need to test the existence of a file on Novell server. I could use _access() function. But, under some conditions (example: when the Novell Server is in the process of shut-down), the _access() function takes very long time to return to the caller. So, what I need is a scheme which will enable me testing the existence of a file asynchronously. The Async version of access() should check the file existence and notify the caller once it is done with the file check. Thanks in advance. :)
-
ShellExecuteEx doen't wait...I am not waiting for the process to finsih. I am waiting for the process to begin 'fully' instead! Thanks anyway.
-
ShellExecuteEx doen't wait...The Wait* functions are not going to work because, once the ShellExecute returns, the corresponding new process will already be in non-signalled state. I got a work around: My new process has a got window. So, I delayed the calling thread using EnumWindows() in a loop. EnumWindows() checks for the new window!! ;P Anybody has got a better solution for this, Please!!
-
ShellExecuteEx doen't wait...I have a thread which launcher another application using ShellExecuteEx(). The problem is, the calling thread is NOT wating till the new Process gets launched. Is there any way to delay the calling thread until ShellExecuteEx() finishes its job? Or is there any other solution for this??? Thanx in advance.
-
Testing File ExistenceAlvaro, Thanks for your response. I have the following situation: Testing existence for \\Serv1\Vol1\Dir1\File1 is finished in few milli seconds if the server 'Serv1' is up and running. But, if somebody is shutting down the Serv1 and my program tests for the existence of a file on Serv1 at the same time, it takes huge time for the 'check existence' code to return. Under such situations, I wonder, if there is a kind of 'Asynchronous file existence checking' code which would just return immediately and fire a 'kind' of 'done' event later!!
-
Testing File ExistenceJoe: Thanks for your response. But what I need is Asynchronous 'kind' of function to test a file existence. I have the following situation: Testing existence for \\Serv1\Vol1\Dir1\File1 is finished in few milli seconds if the server 'Serv1' is up and running. But, if somebody is shutting down the Serv1 and my program tests for the existence of a file on Serv1 at the same time, it takes huge time for the 'check existence' code to return. Under such situations, I wonder, if there is a kind of 'Asynchronous file existence checking' code which would just return immediately and fire a 'kind' of 'done' event later!!
-
Testing File ExistenceHow could I test the existence of a file on a network drive ASynchronously? I used _access() function. But, that is a synchronous one; won't return immediately for invalid file paths. :confused:
-
Unhandled exeption when using shell functionsJust a clue: There are some mistakes in your code. For example you have:
if(pBrowe)
{
...
...
}
pBrowse->Release();Where as it should be:
if(pBrowse)
{
...
pBrowse->Release();
} -
BIOS problem for upgrade to XP!!I want to upgrade my 98 machine to XP. I tested the system to see if its upgradable by running PCWorld's XPReady program. It says my PC meets all requirements for the upgrade except the BIOS. It seems my system's BIOS is created earlier than Jan 1, 2000 and XP has a problem with that. How far is it true? Will XP fails to run if the system BIOS date is earlier than Jan 1, 2000??:confused:
-
GetModuleHandle() or GetCurrentProcess()thanks!!
-
UDP broadcast!!I too tried the same thing some time back. I did not get help from anywhere. As my project deadline was nearing, I found a 'rude' way. I appended the IP address of the broadcaster to the broadcast message at the very end!:(
-
GetModuleHandle() or GetCurrentProcess()Are the handles returned from the following funcs going to be same?? GetModuleHandle(NULL) GetCurrentProcess(void)
-
Use Com in Multithread'Gpf with Atl and VB' is a good example. Thanks Vaz!!
-
What is the min OS I can install .Net on?Guys: I am very new to .Net. I have setup CDs of Visual Studio.Net Enterprise Architect. When I run the setup on Win 98, it says the OS should be at least Win NT4.0. Will ME or XP OK? :confused: