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.95 seconds; generated 30 minute(s) ago.

  1. Re: Cancel function does not work with backgroundWorker?

    Move backgroundWorker1.WorkerSupportsCancellation = true; to before where you start the thread, not inside the cancel handler.

    Also, the docs state not to reference the background worker object...
  2. Thread: New style

    by Arjay
    Replies
    4
    Views
    938

    Re: New style

    Did you try changing the theme in the dropdown at the bottom left of the forum?
  3. Replies
    2
    Views
    901

    Re: Find And Change Attribute Value

    Set a breakpoint in your code and debug it. You be able to see variable values which will help you figure out what is going wrong.
  4. Re: Where do a project's filters get saved ?

    When you load the original solution back into vs, does it load correctly?

    As far as filters, I've used vs since 1995 and have never heard of them. I create solution and project folders and...
  5. Replies
    1
    Views
    738

    Re: Exceptional Handler - Buffer cannot be null

    Set a breakpoint and debug your code. You'll be able to see the exact line where the variable is null. From there you can fingure out what to do to fix it.
  6. Replies
    5
    Views
    1,371

    Re: How to get worksheet name?

    The code you post is different from the code you are showing woth the error. Not sure what you are doing.
  7. JavaScript Re: Cannot read property 'length' of null at getSum

    Have you tried stepping through the code in the browser's debugger? You should then be able to see the exact variable that is null and figure out why it is null.
  8. Re: User Control LIST - Setup & Handling of events - NOOB

    The requirements are a bit vague but consider:
    1. Add events to your control. Users of your control would connect event handlers to the control.
    2. Not sure what this means. If you have created an...
  9. Replies
    8
    Views
    1,593

    Re: How to kill Excel process?

    Try calling Quit.
  10. Replies
    8
    Views
    1,593

    Re: How to kill Excel process?

    How do you create the Excel instance? Do you use CreateProcess? Are you loading it as a COM server using COM?
  11. Replies
    12
    Views
    1,687

    Re: Unable to compile

    Using VC2013 is abuse.
  12. Replies
    6
    Views
    1,608

    Re: IllegalAccessError, cannot acces class

    Does the Creature class need to be instantiated through a derived class?
  13. Re: How do I update the Keys in the app.config file at runtime ?

    I've answered this in post #5.
  14. Re: Regex Class library class declaration error ?

    Did you catch the part about not giving us links to external sites? We've requested this multiple times now. Not sure why you seem to be unwilling to honor our requests.
  15. Re: How do I update the Keys in the app.config file at runtime ?

    Are you sure the file doesn't update? Keep in mind the app.config file is located in the project folder but gets copied (and maybe renamed) to the project output folder during the build. So you need...
  16. Replies
    4
    Views
    1,931

    Re: Help in understanding the legacy code

    Limit the populate method to populate only one small representitive data set and then step through the code to inspect what you have. It might be that the folks that wrote this code expected a lot...
  17. Thread: I'm back!

    by Arjay
    Replies
    6
    Views
    3,765

    Re: I'm back!

    Where were you?
  18. Re: Error updating an ADO MODEL from a remote server

    Try connecting to the database from your local machine using SQL Server Management Studio. Once you can connect with SSMS then try again with the database wizard using the same credentials as SSMS....
  19. Replies
    6
    Views
    2,159

    Re: Display python script output into MFC window

    In my opinion you are on the wrong path here.

    If your app is MFC, you need to graph into a window that mfc has control over. Given this, having python run in a separate process and outputting a...
  20. Replies
    6
    Views
    2,159

    Re: Display python script output into MFC window

    The source is python getting output to a console, not a window.
  21. Re: Changing the coordinates where I want to draw my bitmaps onto?

    Search bing or google for "Win32 SetDIBitsToDevice example".
  22. Replies
    1
    Views
    1,487

    Re: Problem with try catch to show error message.

    You need to catch an Exception.



    catch(Exception ex)
    {
    MessageBox.Show($"Error! Message: {ex.Message}.");
    }
  23. Replies
    19
    Views
    5,469

    Re: Calling python from c++ in visual studio

    Good to hear you got it figured out. Btw, iirc you can still debug your code even when using release library dlls - you just can't step into the library code.
  24. Replies
    19
    Views
    5,469

    Re: Calling python from c++ in visual studio

    To debug, you need to separate the functioning of the python script from invoking the python script from C++. In other words, get the python script running properly by starting it from the command...
  25. Replies
    19
    Views
    5,469

    Re: Calling python from c++ in visual studio

    According to the docs, PyUnicode_FromString expects the contents of the sample.py file, not just the "sample" string.

    So it seems you will need to open the sample.py file, read its contents as...
Results 1 to 25 of 1988
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured