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

Search:

Type: Posts; User: Mike Pliam

Page 1 of 72 1 2 3 4

Search: Search took 0.16 seconds.

  1. Re: How to convert xml deserialized object to array

    Thanks Arjay.

    Is this better?


    using (TextWriter WriteFileStream = new StreamWriter(@"patients12.xml"))
    {
    XmlSerializer listObj = new...
  2. How to convert xml deserialized object to array

    Using .NET 4.6 on Win7(64bit). I have a relatively simple xml data set:



    <?xml version="1.0" encoding="utf-8"?>
    <Profile ID="1">
    <ClinicDr>Christian</ClinicDr>
    ...
  3. Re: How to prevent resolution changes from destroying graphics on winform

    Further searching reveals a simpler method that doesn't involve importing user.dll stuff.

    Thanks to 'IMMORTAL' at http://stackoverflow.com/questions/14976612/




    // From the form Load event...
  4. Re: How to prevent resolution changes from destroying graphics on winform

    Thank you, Hannes. But it seems liking "bringing the mountain to Mohammed" instead of the other way around. I was hoping for a solution that automatically manipulated the form controls and graphics...
  5. How to prevent resolution changes from destroying graphics on winform

    If I develop a C# winform app on a high resolution screen, then try to run it on a lower resolution screen, the graphics can be quite distorted, essentially destroying the interface, or at least...
  6. What are the options for saving user specific data ?

    On April 18, 2016 Arjay wrote:


    So what are the best options to save user specific data in a C# app?
  7. Thread: Picturebox

    by Mike Pliam
    Replies
    4
    Views
    392

    Re: Picturebox

    Check out:

    Drawing on picture box images D*****hka Madushan lk, 24 Jan 2012
    http://www.codeproject.com/Tips/318900/Drawing-on-picture-box-images
  8. How to draw precisely on a picturebox image

    Loading a bitmap image onto a picturebox on a WinForm is straightforward. Drawing on that bitmap is a bit trickier, but code is available to do that. The real difficulty is to draw precisely on the...
  9. Re: Object reference not set to an instance of an object

    Thanks for the great information. I'm still learning, but I've become fascinated with C#.
  10. Re: Object reference not set to an instance of an object

    Yes. That works. I've much to learn about organizing classes and using attributes in C#.
  11. Re: Object reference not set to an instance of an object

    Very nice, Arjay. Thanks. I will need some time to work with it. The demo app is 'not compatible' with Visual Studio version 2010, despite the latter having .NET 4.601.. SP1Rel, but runs just fine...
  12. Object reference not set to an instance of an object

    Newbie Alert! .NET4.0 / VS 2010

    I have an xml database that I wish to read:



    <?xml version="1.0"?>
    -<patients>
    -<profile>
    <ID>1</ID>
  13. Re: Object reference not set to an instance of an object.

    I found this little gem:
    // https://social.msdn.microsoft.com/Forums/vstudio/en-US/77b87843-ae0b-463d-b50e-b6b8e9175e50/write-to-appconfig-at-runtime-very-urgent?forum=csharpgeneral

    Seems to...
  14. Re: Object reference not set to an instance of an object.

    Thanks Arjay.

    [key] ="Key3"
    value = "Victoria Lynne Kirchner"
    These appear to be correct.

    There are lots of subfolders to look at. I found only these NULL under CurrentConfiguration:
    ...
  15. Object reference not set to an instance of an object.

    One would expect that the skey variable was null when this error is encountered, but as the debug trace shows, both skey and svalue have strings associated as they should in the WriteToAppConfig...
  16. Re: Saving files with identical file names problem

    Good idea. I'll give it a try. Thanks.
  17. Saving files with identical file names problem

    Some of the more sophisticated application like MS Word, Google Chrome, will save files to a folder directory with the same file names. They accomplish this by appending an parenthesized number to...
  18. Re: Compiler can't find 'openssl/e_os2.h'

    Please forgive me if I've wasted anyone's time. I found the problem, and it was me. I had set up a LEGACY folder and dragged a number of earlier iterations of the program into this folder should I...
  19. [RESOLVED] Compiler can't find 'openssl/e_os2.h'

    I've been compiling a dialog based program for a number of years using Win 7 (64-bit) Visual Studio 2010 Ultimate. Just this afternoon, for the very first time ever, the compiler complains:

    ...
  20. Replies
    15
    Views
    1,321

    Re: Passing a struct to and from a DLL

    I too have been 'charmed', but I certainly respect your opinion and will reconsider how I choose to model my applications.
  21. Replies
    15
    Views
    1,321

    Re: Passing a struct to and from a DLL

    [QUOTE]A feeling how cool you are?[/QU0TE]

    There's nothing wrong with being cool. You should try it. :D Seriously, Igor, I find that building code using a wrapper in a DLL forces me to organize...
  22. Replies
    15
    Views
    1,321

    Re: Passing a struct to and from a DLL

    Actually, I have planned to have both available since once the DLL is constructed, it is relatively easy to link just to the library. Just take away the TAIP_API stuff and include the taip.h header. ...
  23. Replies
    15
    Views
    1,321

    Re: Passing a struct to and from a DLL

    Thank you for your comments. Most helpful. I remain confused on this point. A pointer to a struct is a POD. From that standpoint, it should be OK to use a struct pointer as a parameter to a DLL...
  24. Replies
    15
    Views
    1,321

    Passing a struct to and from a DLL

    I have a DLL that uses a struct that is defined in a separate file, misc.h.


    // misc.h
    typedef struct
    {
    wstring wsvarstr;
    wstring wsvarnam;
    TNT::Matrix<double> Mf;
    vector<int> vndim;
  25. Re: How can I free up Codeguru server space to delete old uploads?

    Thanks, Brad
Results 1 to 25 of 1787
Page 1 of 72 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This a Codeguru.com survey!


HTML5 Development Center