|
Hmmm...Key Logger is equivalent to Bank Robber in my jargon - probably better to describe what you are trying to do so that we can be sure you are not up to anything nefarious
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
I just want to detect foul words is any application, especially Entry Applications, What I think is the Key Logger is the solution. This is just a security in Remote Desktop
What???
modified 4-Oct-13 6:35am.
|
|
|
|
|
hansoctantan wrote: I just want to detect foul words is any application, especially Entry Applications, That's a pretty lame excuse.
Detect isn't the same as preventing, and I often use foul words in my passwords for webapps. Logging everything from a keyboard is simple, but not detecting "sh1t" where you only expect "sh*t" isn't going to be very helpfull.
..it'd be way easier to "ask" people not to curse, and to trust that their supervisors take some time to supervise. That means that you'd have to trust your supervisors.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Currently the manual process exists where users access SAP and select query FS10N to produce a report. This report is then exported from SAP to .XLS format and saved to user's hard drive.
I would like to automate this process with an Excel macro. So far I have implemented VBA code to connect to SAP. So now how do I implement extraction of FS10N report?
Thank you, David
|
|
|
|
|
Hi,
One of the users of my application is complaining that he can't open the application.
He gave me the debug output of the crashed application...unfortunately I'm not an expert and have difficulties to manage it...would you please give me some help and help me understand why the application is crashing on his system?
Thanks!!!
------------------------------
Callstack:
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() + 0xac bytes
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) + 0x38 bytes
mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0xa7 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) + 0x16 bytes
mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x41 bytes
WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() + 0x5b bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() + 0x16b bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x5a bytes
WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0x9b bytes
WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x6b bytes
WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) + 0x56 bytes
WindowsBase.dll!MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(object source, System.Delegate method, object args, int numArgs, System.Delegate catchHandler) + 0x3a bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) + 0x10e bytes
WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0xf1 bytes
[Native to Managed Transition]
[Managed to Native Transition]
WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame) + 0xae bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame frame) + 0x49 bytes
WindowsBase.dll!System.Windows.Threading.Dispatcher.Run() + 0x4b bytes
PresentationFramework.dll!System.Windows.Application.RunDispatcher(object ignore) + 0x17 bytes
PresentationFramework.dll!System.Windows.Application.RunInternal(System.Windows.Window window) + 0x6f bytes
PresentationFramework.dll!System.Windows.Application.Run(System.Windows.Window window) + 0x26 bytes
PresentationFramework.dll!System.Windows.Application.Run() + 0x1b bytes
myapplication.exe!myapplication.Application.Main() + 0x54 bytes
Debug Output:
'myapplication.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'myapplication.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'myapplication.exe' (Managed (v4.0.30319)): Loaded 'C:\Program Files (x86)\myapplication\Interop.WMPLib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'myapplication.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\11.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll'
C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll: Cannot find or open the PDB file.
C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll: Cannot find or open the PDB file.
|
|
|
|
|
Jayme65 wrote: Cannot find or open the PDB file.
The most important part - as far as I am concerned.
Always deploy the PDB file with the application - this way you will get a decent stacktrace where it should tell you the exact line number on which the exception occured.
If you can do it re-deploy the application with the PDB file and get the user to do whatever they were doing previously to crash the application then post the results here and we may be able to help direct you to where to look.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
You seem to be missing the most important part - the actual error message.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I have a Application In Vb.Net .I am Developing This Application on Microsoft Visual Studio 2008 , VB.NET, Sql Server 2005 , Crystal Report.
And That Application Have Registration Form . Now My Question Is
This Application is Installed On 5 different Computer In a Network . At the Mean time all 5 users
are Open Registration form Then They click on Save button on same time . I Have a table registration , and that has a column (code) that is primary key. whenever they want to save the record only one user can get save the record . all 4 users are rollback the transaction because of primary key violation error. Therefor i want to generate code on a queue basis .. where user can wait to get a Unique Code of that Record and i dont want to users request to rollback ...
|
|
|
|
|
Is the primary Key something generated by them?
does the primary key have a certain construction?
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Yes Primary Key Is Generated By Our Store Procedure
Yes
|
|
|
|
|
But does it use some sort of business logic to create it?
i.e. (made up example)
Username = simonwhale
date registered = 30/09/13
primarykey = SE300913
or is it a incremented key?
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
ya also used business logic
i.e 2010090001
WHERE 2010 IS YEAR 09 IS MONTH 0001 IS INCREMENTED KEY
But in case of multiple user are click on save button that time generate primary key duplicate error
i want to response that request one by one by queue manner
|
|
|
|
|
There's your problem. Your key generation is not unique enough.
I would have a read of this and see if it helps you
Create A Custom Identity Column (Revision Based Database)[^]
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
modified 30-Sep-13 9:02am.
|
|
|
|
|
Simon_Whale wrote: Your key generation is not unique enough. That was a good hunt, but sounds like you shot the wrong one; sounds more like a concurrency problem than "not being unique enough". The sequence would be unique "enough", but concurrency-problems (a non-atomic operation) might cause the same number to be presented again.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Good point Eddy
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
I would like to know if anyone can give me an example of how to copy text underneath an external program's context menu.
I am playing around with code for basic mouse gestures. When I perform, for example an upwards movement with the right mouse button held in, my program send Ctrl+C to copy whatever is selected when I release the right mouse button. However, lets say I am trying to copy text selected in notepad, If I release the right mouse button over the notepad window, notepad pops up its context menu before my copy command can execute.
You can simulate this by selecting text in notepad, right click and while the contect menu is showing, try pressing ctrl+c.
I am looking for a way to copy what is selected in the foreground window without having to close the context menu. The reason I don't want to close the context menu is that at times you might actually need it, like when you right-click and drag a file in explorer. If my program would esc the context menu then explorer won't pop up a context menu to move or copy the file to where you dragged it.
I hope this makes sense.
Anyone?
|
|
|
|
|
Craig Haywood wrote: selecting text in notepad, right click and while the contect menu is showing,
try pressing ctrl+c
With the context menu open, moving the pointer to "copy" does the same thing ... what is on clipboard ... arghh (brain frozen)
What are you trying to do? Better question, what VB.NET tools do you have available to you to use as a programming platform?
Are you refering to some sort of macro recorder by any chance. Recording mouse movement and behavioral clicks based upon what's on the screen for playback as a mouse behavior repeat in an overlay scenario?
There's this:
Writing a Macro Recorder/Player using Win32 Journal Hooks[^]
|
|
|
|
|
RedDk wrote: With the context menu open, moving the pointer to "copy" does the same thing
I can't programatically move the pointer as not all programs context menus will have the copy command at the same place.
What do you mean what VB.net tools do I have? I use visual studio 2012
|
|
|
|
|
"Underneath"?
What is underneath? Some sort of new technical term for "directly south"? I'm sorry, that was too facetious. Can't help you.
|
|
|
|
|
sorry, english is not my first language. I meant whatever is selected under the context menu
|
|
|
|
|
You cannot capture text just by moving the mouse over a window that belongs to a different application. As soon as you do that all mouse messages will be sent to the owner of that window, which in this case, is Notepad.
Veni, vidi, abiit domum
|
|
|
|
|
thanks to everybody who replied. I found a solution to the problem
|
|
|
|
|
would you share it with us?
|
|
|
|
|
I ended using a global mouse hook to perform (and draw) mouse gestures. That way I can call my own procedures when the right mouse button down/up event is fired
|
|
|
|
|
please help 
|
|
|
|