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

Search:

Type: Posts; User: Arjay

Page 1 of 80 1 2 3 4

Search: Search took 0.20 seconds; generated 1 minute(s) ago.

  1. Re: parent process hangs when spawning child process

    The bottom line is you are breaking a fundamental rule of windows programming and that is not to block the UI thread. When you wait on the CreateProcess, you are blocking and the UI isn't pumping...
  2. Replies
    2
    Views
    72

    Re: Looking for a mentor

    I understand how you feel - about 20 years ago, I learned my 1st language C++ on my own. It was tough and that was pre-internet.

    The nice thing now is there are plenty of on-line resources. ...
  3. Re: [RESOLVED] Accessing console applications from a command window

    Great. It wasn't clear that you were trying to do this on your development machine.

    Yes, you can set the output directory under the build tab. Another way is to execute a copy in a post build...
  4. Re: Accessing console applications from a command window

    Not sure I follow. If you are replacing the current version of the console app with a new version, don't you have to copy it or install it anyway? If you are installing it (or copying it) to some...
  5. Re: Accessing console applications from a command window

    Another option is to add the utility folder to the environment path.
  6. Replies
    7
    Views
    394

    Re: An interesting multithreading question

    Yes, you misunderstand. The one lock for the dictionary is different than the 'value' locks. The dictionary lock is to make the dictionary thread safe (and all access goes through this lock). ...
  7. Re: Get screenshot with mouse cursor and send for client application

    Great, care to share your solution?
  8. Replies
    7
    Views
    394

    Re: An interesting multithreading question

    One way is to create a thread safe dictionary of indexed lock objects. The key would be the integer value and the dictionary value would be the lock object.

    You would lock the dictionary and...
  9. Thread: .xml to .txt

    by Arjay
    Replies
    49
    Views
    1,008

    Re: .xml to .txt

    Yes, that is exactly my point. Thank you.
  10. Thread: .xml to .txt

    by Arjay
    Replies
    49
    Views
    1,008

    Re: .xml to .txt

    A relevant "Most Interesting Man in the World" quote:

    "I don't often write an xml parser, but when I do, I like to start from scratch!"
  11. Thread: .xml to .txt

    by Arjay
    Replies
    49
    Views
    1,008

    Re: .xml to .txt

    Hopefully this is all just a school assignment because writing an xml parser for a work assignment would be a waste of time.

    Sure, I guess there could be some edge case scenarios working on some...
  12. Re: Thread Performance Improvement (A little Advice Please)

    One way to solve this problem is with the UI thread, a worker thread and a threadsafe std::queue. The thread safe queue will get locked while pushing or popping items (and unlocked immediately...
  13. Re: Thread Performance Improvement (A little Advice Please)

    Or you can lose data.
  14. Re: Adding a framework like MFC to Visual C++ express with resedit as the resource ed

    Have you checked whether Visual Studio Community Edition 2013 includes MFC?
  15. Re: Get screenshot with mouse cursor and send for client application

    Screen shots don't include the cursor.

    For example, if you press the PRNT-SCRN button on the keyboard and open PAINT and paste in the results, you'll notice that the screen is captured without the...
  16. Re: Problem : Unable to connect to specified host From C# application

    What error are you getting?
  17. Replies
    1
    Views
    258

    Re: Getting the hardware ID within the network

    Look into using WMI (Windows Management Instrumentation).
  18. Re: How to repeated insert into history by textchanged event problem

    Again, please use code tags. Also, when someone takes the time to respond to your posts, please at least acknowledge that you've seen the reply.
  19. Re: The handle is invalid error exception when screenshoot from screen why and how to

    Ahmedsa, use [] code tags instead of <> tags. Also, please format your code and use some whitespace, indents, etc.

    Code that is jammed all together is extremely hard to read and debug.

    For...
  20. Re: The handle is invalid error exception when screenshoot from screen why and how to

    Please reformat your code using code tags.
  21. Re: The orders after 12 am to 7 am not show timer problem

    The following will give you a date time that is tomorrow's date at 7am.

    SELECT CAST((CAST(CAST(GETDATE() + 1 AS DATE) AS NVARCHAR(10)) + ' 07:00:00') AS DATETIME)

    As I mentioned, do this in SQL...
  22. Re: Auto-close MSG box - Without Button and Title

    Just create a test program with a regular dialog box and mess with the styles until you get it right. Then make the changes to your program.

    To find which styles, do a search in bing or google...
  23. Re: The orders after 12 am to 7 am not show timer problem

    Instead of DATEDIFF use something else like calculating the start and end date times and use between.

    Debug this using a sql query before trying this in your C# code.
  24. Re: Auto-close MSG box - Without Button and Title

    Sure, modify the code to remove the title style and hide the buttons.
  25. Re: The orders after 12 am to 7 am not show timer problem

    Are there any orders between 12am and 7am in the database?

    Does the following where clause properly span the two days? WHERE DATEDIFF(d,dbo.[Jeddah-Live$Sales Line].[Shipment Date],GETDATE()) = 0
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center