|
I think the problem is in ....
objRpt.SetDataSource(XmlDataSet1.Tables()) No index or tablename has been given here, but how to write multiple table index or multiple table name here ?
|
|
|
|
|
Try
objRpt.SetDataSource(XmlDataSet1)
instead of
objRpt.SetDataSource(XmlDataSet1.Tables())
FYI ReportDocument.SetDataSource Method[^]
thatrajaNobody remains a virgin, Life screws everyone
|
|
|
|
|
Thanks for your idea, I am going to try this.
By the way, I made this with SQL JOIN method and successful in my objective though JOIN method is a bit complex to me.
I will definitely try yours and let you know.
Thanks again.
Biplob
|
|
|
|
|
Sorry for asking this.. I have a key logger but I cannot try this cause
I don't know how to setup remote desktop
Is the key logger will work even the user is on remote desktop?
I program my key logger in VB.NET
What???
|
|
|
|
|
Is this also you[^]? The question posted is exactly the same; please do not do this.
Veni, vidi, abiit domum
|
|
|
|
|
sorry no.. i have only 1 account
What???
|
|
|
|
|
Strange that two people from Philippines ask exactly the same question on the same day.
Veni, vidi, abiit domum
|
|
|
|
|
What???
|
|
|
|
|
|
that is sure strange
What???
|
|
|
|
|
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
|
|
|
|