Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: CM2013

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    11
    Views
    6,210

    Re: Barcode scanner with C#

    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...
  2. Re: Windows Form Application C# - Confirmation Message on Add, Edit, Delete?

    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...
  3. Re: Datagridview reselect a previosly selected row after refresh()

    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...
  4. Re: Trying to parse text from a form to another forms label..

    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...
  5. Re: Read comamnd prompt output and displaying User Interface

    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...
  6. Re: Hide waitcursor when saving image to file

    Mod, mark it as Unresolved as it isn't.
  7. Re: [RESOLVED] Hide waitcursor when saving image to file

    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.
  8. Re: Hide waitcursor when saving image to file

    Completed it like this:

    Task t2 = Task.Factory.StartNew(() =>
    {
    pictureBox1.Image.Save(fn, ImageFormat.Jpeg);
    });

    t2.wait() //to block the...
  9. Re: Hide waitcursor when saving image to file

    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...
  10. Re: Hide waitcursor when saving image to file

    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...
  11. Re: Hide waitcursor when saving image to file

    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...
  12. Re: Hide waitcursor when saving image to file

    a FILESTREAM WRITE COPYING THE MEMORY STREAM TO A BUFFER produces the same result.

    Sorry about the caps.
  13. Re: Hide waitcursor when saving image to file

    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...
  14. Re: Hide waitcursor when saving image to file

    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...
  15. Re: Hide waitcursor when saving image to file

    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.
  16. Re: Hide waitcursor when saving image to file

    even timer in a new thread didnt help - I'll try BackgroundWorker thread.
  17. Re: Hide waitcursor when saving image to file

    maybe I'll put the timer in another thread then?
  18. Re: Hide waitcursor when saving image to file

    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...
  19. Re: Hide waitcursor when saving image to file

    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...
  20. Re: Hide waitcursor when saving image to file

    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...
  21. [RESOLVED] Hide waitcursor when saving image to file

    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...
  22. Creating an iFrame and posting data thro' 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...
  23. Replies
    33
    Views
    1,774

    Re: How to provide a return URL?

    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.
    ...
  24. Replies
    33
    Views
    1,774

    Re: How to provide a return URL?

    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.
  25. Replies
    33
    Views
    1,774

    Re: How to provide a return URL?

    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,...
Results 1 to 25 of 62
Page 1 of 3 1 2 3


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center