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

Search:

Type: Posts; User: mps2

Page 1 of 5 1 2 3 4

Search: Search took 0.15 seconds.

  1. Replies
    1
    Views
    970

    datagridview combobox binding

    Hi,
    I have a datagridview that is databound to a BindingSource containing objects of type MyCustomClass.

    MyCustomClass contains two Properties (Name, Class) and 1 dictionary,...
  2. Replies
    1
    Views
    2,673

    Stack Trace, Performance

    We're using nHibernate to persist data in our application with SQL Server 2005 - the performance of our app is really bad. We ran a profiler on it and found that a great deal of time is spent in...
  3. Thread: xmlserializer

    by mps2
    Replies
    0
    Views
    720

    xmlserializer

    Hi,

    I wrote an xml file, used the MS.net tool to generate a schema, and then used the xsd.exe utility to make a C# class, myXmlClass. In my .NET application I instantiate an object of myXmlClass...
  4. Thread: target name

    by mps2
    Replies
    1
    Views
    571

    target name

    Hi,

    Does anyone know how to change the target name in .net?

    Thanks
  5. Replies
    4
    Views
    1,592

    Re: using the command prompt in c#

    It works! Thanks
  6. Replies
    4
    Views
    1,592

    Re: using the command prompt in c#

    I want to call an exe and pass it a string as command line args
  7. Replies
    4
    Views
    1,592

    using the command prompt in c#

    Hi,

    In C++ there is a function called System(...) that you can call to run a command from a dos prompt while running your application. Is there a similar function in C#?

    Thanks
  8. Thread: .ncb file

    by mps2
    Replies
    8
    Views
    2,060

    Re: .ncb file

    This is great info. Thanks!

    what about the .suo,.plg, .aps?
  9. Thread: .ncb file

    by mps2
    Replies
    8
    Views
    2,060

    Re: .ncb file

    what about .rc?
  10. Thread: .ncb file

    by mps2
    Replies
    8
    Views
    2,060

    .ncb file

    Is the .ncb file necessary? I'm wondering if I need to check it in to my version control.
  11. Replies
    5
    Views
    964

    Re: Wrapping ActiveX controls

    No, where does that one go?
  12. Replies
    5
    Views
    964

    Re: Wrapping ActiveX controls

    Yes, that's the first line in that function.
  13. Replies
    5
    Views
    964

    Wrapping ActiveX controls

    Hi,

    I used the Add class wizard to generate an MFC class that wraps an activeX control. The code compiles, but crashes when I try to call one of the activeX functions. In the .h file the...
  14. Thread: Dynamic Binding

    by mps2
    Replies
    7
    Views
    1,245

    Re: Dynamic Binding

    Hmmm...So how about this...an application that updates data in real-time?
  15. Thread: Dynamic Binding

    by mps2
    Replies
    7
    Views
    1,245

    Re: Dynamic Binding

    What would you call an application that updates data as new data is gathered?
  16. Thread: Dynamic Binding

    by mps2
    Replies
    7
    Views
    1,245

    Dynamic Binding

    How much overhead is involved with dynamic binding? If I'm developing a real-time application on a PC with a 3.2 GHz processor and 1GB of RAM, will the overhead be noticable?
  17. Thread: sizing controls

    by mps2
    Replies
    27
    Views
    3,388

    Re: sizing controls

    That's an interesting idea. So if these are activeX controls that you drop on the dialog in the resource manager, how do you create such a beast dynamically? Do you have to register the control at...
  18. Thread: sizing controls

    by mps2
    Replies
    27
    Views
    3,388

    Re: sizing controls

    Yeah, you clarified that for me in an earlier post. Which is why this confuses me even more -- it should work! although even unmanaged C++ has changed with the new compiler, as some of my message...
  19. Thread: sizing controls

    by mps2
    Replies
    27
    Views
    3,388

    Re: sizing controls

    okay...he it is.

    IDD_PROJECTION DIALOGEX 0, 0, 445, 318
    STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
    CAPTION "Distribution"
    FONT 8, "MS Sans Serif", 0, 0, 0x0
    BEGIN
    ...
  20. Thread: sizing controls

    by mps2
    Replies
    27
    Views
    3,388

    Re: sizing controls

    I deleted those files but it didn't help. If I don't try to size the controls in the OnInitDialog method then the dialog and controls load just fine...but my graph controls aren't square!
  21. Thread: sizing controls

    by mps2
    Replies
    27
    Views
    3,388

    Re: sizing controls

    First, thanks for taking the time to look at this, it's a very frustrating problem!

    Yes, it does exist in the resource file. It is a third party activeX component, but it's from a reputable...
  22. Thread: sizing controls

    by mps2
    Replies
    27
    Views
    3,388

    Re: sizing controls

    No, I do not get a valid pointer value when I make the GetDlgItem(IDC_PRJECTION_GRAPH), in fact, I get NULL. Do you think it has anything to do with it being an ActiveX control in .NET?

    I...
  23. Thread: sizing controls

    by mps2
    Replies
    27
    Views
    3,388

    Re: sizing controls

    That didn't seem to change anything. I inserted this line of code and it failed. Any other ideas?

    m_cGraphControl.GetWindowRect(&graphRect);
  24. Thread: sizing controls

    by mps2
    Replies
    27
    Views
    3,388

    Re: sizing controls

    Well, here is the code...let me know if anything looks incorrect. The line that it crashes on his in red. Like I said, it runs fine when compiled with VS 6.0

    BOOL CDistribution::OnInitDialog() ...
  25. Thread: sizing controls

    by mps2
    Replies
    27
    Views
    3,388

    Re: sizing controls

    Here is the error.

    Unhandled exception at 0x7c28e64a (mfc71d.dll) in Online Inspection.exe: 0xC0000005: Access violation reading location 0x00000020.

    These are activeX controls, if I don't try...
Results 1 to 25 of 116
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured