I have a simple application that need to return value on exit to the his caller process. the calling process use Process p = Process.Start(startInfo); to call the second one. In regular .Net I can us the System.Environment.ExitCode to do it, but in the compact framework its doesn't supported.
alto
Posts
-
Set Exit code in win mobile C# -
How to emulate virusThanks, but at list Avira & avg don't have any problem with that application
-
How to emulate virusmaybe I can actually, but I'll have to add it to my program since I need it to log the user action (I make it with simple hook on the anti viruses applications) Can you point me to such 'nice' virus? thanks
-
How to emulate virusI thought maybe its possible to add some code or known recognition string that the anti virus program looks for, or other idea like this, but i don' know how to do it or if its possible
-
How to emulate virusStrange problem: in order to check some securities issues in the organization I need to deploy a sample program that need to be recognized as a known virus or Trojan. The idea is to deploy simple program to all user's machines :doh: and check who will recognized it as virus and to log what was done by the user after it. Its must be recognized as a well known virus so the standard anti virus applications we have will catch it, but of course wont make any damage to the host machine. Any ideas?
-
wrap the wininet dllI need to create a dll that will wrap Microsoft wininet.dll The idea is to install this Dll instead of the regular one in all the organization workstation and add some adjustments to few actions in the wininet.dll, especially logs Is it possible? I need to do it so the application that use the wininet.dll wont be noticed the different.
-
how shall i add a toolbar to IE using MFC but using WTL/WTL/otherscheck here: msdn
-
XP AutoPlay ErrorHello, I wrote applications that suppose to open automatically by the auto play mechanism of the WinXP, I entered the correct values to the registry and the application start ok. The problem I have is that I get a message box with error every time: 'E:\ The device is not ready' Any ideas what is the problem? The Registry settings: -------------------------------------------------------------------- [HKEY_CLASSES_ROOT\MyApplication] @="ImageDownload" [HKEY_CLASSES_ROOT\MyApplication\shell] [HKEY_CLASSES_ROOT\MyApplication\shell\open] [HKEY_CLASSES_ROOT\MyApplication\shell\open\command] @="C:\\Work\\Private\\MyApplication\\Debug\\MyApplication.exe \"%1\"" [HKEY_CLASSES_ROOT\MyApplication\shell\open\ddeexec] @="[open(\"%1\")]" -------------------------------------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\MyApplication] "Action"="MyApplication" "DefaultIcon"="C:\\Work\\Private\\MyApplication\\Debug\\MyApplication.exe,0" "InvokeProgID"="MyApplication" "InvokeVerb"="open" "Provider"="MyApplication" -------------------------------------------------------------------- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\ShowPicturesOnArrival] "MyApplication"="" --------------------------------------------------------------------
-
IE right clickFor instance, I want to send the URL of an image to my application. I found that I can enter a key with my application path to the registry: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt and there to add DWORD value 'Contexts' with the context I need( to image I think is 22), I successed to send it to a htm file but not to win32 app.
-
IE right clickHow can I add to the right click menu of the IE my application? I successed to do it with an htm file but not to an exe app. like the option with the Excel.