Search:
Type: Posts; User: CM2013
Search:
Search took 0.03 seconds.
-
keydown or the keypress event is the best way to deal with it and simple, easy. Its also in the TextChanged method - check for the format you need for it to be a barcode and then do processing. Thats...
-
if you are asking a really basic question, you can check with general samples as well.
MessageBox.Show("new row added!"); would work fine after the con.close() you have. You can also check the...
-
if there are too many rows to search using primary key value, you can store the row index and simply select it back, if it would not have changed immediately after Refresh (it would change in case of...
-
The question isn't clear and the code confusing. Points: Do not have code in FormClosed() event as at that point the form object may be null. FormClosing() is a good place to put in any code, if...
-
You can always have a winform and start the program as in a console for input - using the main(). Try calling a function within main() that'll take the input and then read the output and then start...
-
April 29th, 2014, 09:21 PM
Mod, mark it as Unresolved as it isn't.
-
April 29th, 2014, 09:21 PM
NO. It did NOT resolve the issue for longer times - like a timer of 1 minute. Not even ASYNC works as it runs on the CPU anyway at the syetm-level.async Task does NOT work really.
-
April 29th, 2014, 09:13 PM
Completed it like this:
Task t2 = Task.Factory.StartNew(() =>
{
pictureBox1.Image.Save(fn, ImageFormat.Jpeg);
});
t2.wait() //to block the...
-
April 29th, 2014, 09:03 PM
The .NET version is 4.5 - tried it in WPF and Form - didnt work - had errors. Iam thinking Action<Object> and creatign a new Task.factory.Startnew should work - but that didnt pan out as well. How...
-
April 29th, 2014, 07:58 PM
I can try AsyncCallback() for now. Another user on MSDN forum posted a solution for it in a WPF setting - he simply uses asynctask and awai - not sure how it cna be implemented in WindowsForm. This...
-
April 29th, 2014, 10:39 AM
32601
The attached project is simple - set a timer, start the timer button and watch it save in a folder. Try 10 seconds or more please. Also, you can edit the code for the 'dir' variable to set a...
-
April 28th, 2014, 10:21 PM
a FILESTREAM WRITE COPYING THE MEMORY STREAM TO A BUFFER produces the same result.
Sorry about the caps.
-
April 28th, 2014, 10:13 PM
saving the bmp to memory stream like bmp.save(memst) and then passing the memst object to another thread wherein the memst is copied to a FileStream object produces the same result - it flickers...
-
April 28th, 2014, 09:24 PM
yes, the save() is isolated. Commenting that out does not show the waitcursor. So, assigning a bitmap from CopyFromScreen() to a picturebox control does not cause any waitcursor, but saving the...
-
April 28th, 2014, 06:11 PM
a backgroundworker thread to do a non-async op does not work either. Timer is useless if its going to show waitcursor every few minutes even though the I\O op doesn't require that.
-
April 26th, 2014, 11:07 PM
even timer in a new thread didnt help - I'll try BackgroundWorker thread.
-
April 26th, 2014, 10:39 PM
maybe I'll put the timer in another thread then?
-
April 26th, 2014, 10:39 PM
you were right - the i\o copy didnt make the waitcursor - I had this lets say, Save2() functionin a timer tick. Even for a 10 sec tick, it shows the wait cursor. Do you know why or how it can be...
-
April 26th, 2014, 09:49 PM
It did not work - coz its not that the wait cursor appears on the UI screen - its across the system. The system's cursor turns briefly to a waitcursor and then comes back to default due to the I\O...
-
April 26th, 2014, 06:12 PM
was just about to try that - but the waitcursor appears across the system, not just in the application screen - when you hover over it. I believe the user would see it regardless of it in another...
-
April 26th, 2014, 04:07 PM
I have a form that has to be run hidden only - there is a save operation that is done for every n seconds and the user cannot see any flicker or wait cursor during this time.
For every n secs, it...
-
"So once you’ve captured the ID, create the iFrame and post the data (eg. &ID=ZXYARE as HTTP POST )through the iFrame to the URL above."
Its a CC processing app that Iam creating to basically...
-
You are right - Iam actually calling their URL which could be handled by a webservice on their end.
I would figure out writing a webservice as myself - please do not spend your time on it.
...
-
Just downloaded the path where the txt files are stored and parsing it for now. A webservice would be neat, you are right - will do that tomm.
-
The third-party website here is Servebase, a company that provides payment solutions.
They return data to our URL hosted at say, test.net\mypage.aspx
The form field simply has the ekey I want,...
|
Click Here to Expand Forum to Full Width
|