Hello! Tell me please is it possible to break the process of parsing? I.e. exit this loop not reaching the end of document and corresponding event "endDocument" ?
I am processing large amounts of data in iterations, each and iteration processes around 10-50 000 records. Because of such large number of records, I am inserting them into a global temporary table first, and then process it. Usually, each iteration takes 5-10 seconds.
Would it be wise to truncate the global temporary table after each iteration so that each iteration can start off with an empty table? There are around 5000 iterations.
How is the scope of a variable/identifier maintained in the symbol table of a c/c++ compiler.
Please suggest some good links and books to know the how compiling process of c/c++
program is implemented for better understanding.
I have two wxListCtrl and want to process the Ctrl+Enter keyboard event without letting wx change the focus to the other ListCtrl.
I have event handlers for wx.EVT_KEY_DOWN, wx.EVT_KEY_UP, wx.EVT_CHAR and KillFocus, but KillFocus is always called first, then the focus changes and the the keyboard handlers are called for the wrong ListCtrl.
Is there a way to prevent wx from changing the focus, when Ctrl+Enter is pressed ?
I need to show a process of commiting my files to the svn. I use vs2008 C#.I take a progress bar, but when I am starting commiting, I don't know how to show my progress(also I want to look what file is uploading now in a label for example)
Hi,
Is there a shell command to know about how much memory is being used at a particular moment and details of how much each process is using, how much virtual memory is left etc?
I have a scheduled task that is very IO intensive (deleting hundreds of thousands of files). For disk space reasons, this job has to be performed reasonably quickly. On win2k8, scheduled tasks always have a low IO priority. Raising the priority of the process did not change the IO priority. Is there any way to get a scheduled task to have a normal IO priority?
Hello,
I run a c# process and in the middle of the night this happens:
ERROR [HY000][DataDirect][ODBC Sybase Wire Protocol driver] Timeout exceeded
I know for sure that the database is allways active! But this keeps happening! Do you how can I fix this error?
Thanks in advance!
I have embedded Lua in an Objective-C application using LuaObjCBridge. I need to know how to stop the Lua process if it taking too much time (infinite loop?).
Would running it in a separate thread help?
Hi All,
I have a file that is in structured storage format.
I was wondering if this format be accessed concurrently by threads.
Meaning have multiple threads read the different streams process it at once. The objective is to load the file faster.
When i refer to a file i refer one that represents CAD information.
Thank you.
I'm assuming it's possibly to do so as programs like google chrome have gone one better and put each tab on a separate process.
So how can i put a GUI control such as a datagridview on a separate thread?
im having a combo box in which i have to display dates from database...user have to select a date from the combo box to proceed further...but im not able to make the user aware of selecting the item from the combo box first to proceed further...what is the process so that a user can get a message if he has not selected the date from the combo..
I have a one-time process (hashing all our user passwords) written using datasets. The performance needs improvement so we've profiled the application and found that increasing the 'batch size' of the update will improve performance. I also know that if I load the entire data set into memory the application will start hitting swap and slow down.
The question is: how big is a System.Data.DataRow derived class? I'd like to calculate a batch size which I know won't force the application into swap.
I want to catch an exception when user enter no value in a Textbox and try to process further by press a button, I know I can use "If else" statement to make it. but in terms of "Try and Catch" block, I dont know how. Here is the code sample.
Dim NameString As String
Try
NameString = OperatorNameTextBox.Text
Catch ex As ArgumentException
MessageBox.Show("Enter a String Value")
End Try
Hello!
I am currently on a project which has been buggy for a long while, now I suspect, among other things, that there is pointer errors in the code.
The program is written in native C++ using COM and uses out-of-process COM servers.
Can anybody give me some tips as how one would go about finding these errors?
Is there specific things to keep in mind, ways to do it, etc...
Hi there!
I've been messing around with VS2010 beta 2 (ultimate) on windows7 and already I have a nasty problem - when I try to run devenv it's only shows me very-nice-beta2 splash screen and cpu usage of devenv process run to sky.
If thats can help - on machine i have already vs2008 installed.
I've been searching examples for the Win32 API C++ function TerminateProcess() but couldn't find any.
I'm not that familiar with the Win32 API in general and so I wanted to ask if someone here who is better in it than me could show me an example for,
Retrieving a process handle by its PID required to terminate it and then call TerminateProcess with it.
If you aren't familiar with C++ a C# equivalent would help too.
In the process of changing some code, I have spilt some functions into multiple files. I have the files controls.cpp and display.cpp and I would like to be able to have access to the same set of variables in both files. I don't mind where they are initialized or declared, as long as the functions in both files can use them.
This was not an issue when the functions were in the same file, but now it seems almost impossible after an hour of googling and trying various things.
I have to process JSON files that looks like this:
\u0432\u043b\u0430\u0434\u043e\u043c <b>\u043f\u0443\u0442\u0438\u043c<\/b> \u043d\u0430\u0447
Unfortunately, I'm not sure how this encoding is called.
I would like to convert it to .NET Unicode strings. What's the easies way to do it?
Thanks in advance!
The idea is that I want to build a small app that detects if the webcam is being used and by what.
I have thought about seeing who has use of the Twain.dll somehow (like the way process explorer knows)
It's for a security style app that picks out weird webcam behaviour.
Ideally I would use C# as it's my strong point, but I'm guessing it won't be that nice.
Imagine a repository with many kind of files.
Then, I want to get from this repository just some kind of files in a "filter process".
I mean ALL FILES are versioned. But to my local work, I just wanna i.e get *.php files, ignoring download *.jpg instead.
I think about client-site hook script (pre-update).
Anyone know if is it possible?
Thanks!
Is it possible to skip a statement in Eclipse while debugging? Suppose the process stopped at breakpoint and I want to skip the breakpoint line ( or maybe a few lines below), can I do it? On the debug tab, it only has "Step into", "Step over" and "Step return" buttons.
I did google around but couldn't find anything, hopefully I can find an answer here.
Ok this situation is a bit difficult. But I am trying to embed a Java Jar into a C# form. Not as a new window or new process.
The Jar will be a game that uses the LWJGL library.
The C# Form will be a "wrapper" for it with tools and more.
Anyone have any ideas? Is this even possible?
could anybody knows any alternatives to progressbar?
Inmy project im using progressbar..I would like to change it to something like a rotating gif image which indicates the processing or someother labels which prevents the user from interacting to the program.I tried to implement the gif image by using background worker but its hanging may be coz of huge file transfer process..
So im searching for someother alternative like a label which will disable the content and prevent the user to interact with the program.
Could anybody help me on this?