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

Search:

Type: Posts; User: macgowan

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Sorting data using std::map or std::multimap

    Hi ...

    Happy New Year. Hope everyone is ok. I have not been here for a while.

    I have some contact lens data I'm trying to sort. I have some sort rules are static (hard-coded) followed by...
  2. Serialization of the CRuntimeClass struct ...

    Hi CodeGuru,

    I need to serialize the MFC CRuntimeClass Object between an MFC application and a ATL COM object.

    Any comments or suggestions are welcome.
    Thanks,
    Chris

    Sorry for the long...
  3. Replies
    4
    Views
    1,820

    Re: ADO and UpdateBatch with SQL Server

    Boy oh Boy -
    It's been some time since we talked about ADO Disconnected Recordset. I have returned to this issue and still have some problems.

    In the code below only the last value is updated...
  4. Re: Using a resource from an ATL COM MFC Component

    Hi ...

    Thanks kirants ... No I did not comment out delete the
    IMPLEMENT_DYNCREATE(CAddin1View0,CView) line ...

    I have fixed the problem by adding the __declspec (dllexport) to the...
  5. Using a resource from an ATL COM MFC Component

    Hi ...

    I am expanding on a ATL Addin Framework from thomas_tom99.
    http://www.codeproject.com/com/AddinProjectFramework.asp

    To summarize the Addin Framework includes ATL COM (with MFC) Addin...
  6. Re: Accessing ActiveX Methods from MMC Snap-in

    He again ...

    I have tryed this and it does not seem to all the method ???
    I will try to look further.





    HRESULT hresult;
  7. Accessing ActiveX Methods from MMC Snap-in

    Hi ...

    I have a ActiveX Control and I'm using it in a MMC Snap-in. This is my first time. I have some sample code that shows how to access the properties from the snap-in. I have shown this...
  8. Replies
    4
    Views
    1,820

    Re: ADO and UpdateBatch with SQL Server

    Hi ...

    Yes I was surprized to see a reply this this OLD article. I never did get this to work. I have read that ADO.NET supports the disconnected recordset better than ADO 2.8 ...

    Good...
  9. Replies
    21
    Views
    3,352

    Re: Command Line Arguments

    Hi ...

    Just a follow-up. I have implemented this code and it is working good with a couple small modifications. Below is the full implementatio into a CWinApp derived application. I will...
  10. Replies
    4
    Views
    889

    Re: Access to COM Methods in ATL Service

    Thanks Arjay ....

    I put the code before the message loop and it works great :--)
    Thanks again

    Below is the working code if anyone is interested


    void CServiceModule::Run()
    {
  11. Replies
    4
    Views
    889

    Access to COM Methods in ATL Service

    Hi ...

    I have written a Windows Service using ATL COM (ATL3 / Visual Studio 6.0). The service works fine, I am able to start and stop the service.

    I have created a COM Class called CTest...
  12. Re: Trouble using sql:relation/sql:relationship in xsd file ...

    Hi ...

    I have added the self-join relationship (MacgowanTest_Surface_Surface) and the data is now being bulk loaded into both tables. Below is the schema file.

    Thanks,
    Chris


    ...
  13. Replies
    1
    Views
    1,035

    Re: Selecting specific row using ListView

    Hi ...

    Use the ListView.ListViewItemCollection property ... which will contain the count of the items in the ListView. Then use the EnsureVisible() method.

    The code is below:
    010010111001...
  14. Replies
    1
    Views
    1,035

    Selecting specific row using ListView

    Hi ...

    I am using C# and System.Windows.Forms.ListView. I do not see the method that will allow me to select a specific row by index.

    My objective is to always keep the last row in the...
  15. Trouble using sql:relation/sql:relationship in xsd file ...

    Trouble using sql:relation/sql:relationship in xsd file ...


    Hi ...

    I am attempting to use the sql:relation annotation and am having some troubles. I have used it successfull with the MS...
  16. Using SQLXML, Bulk Insert XML with IDENTITY Column ...

    Using SQLXML, Bulk Insert XML with IDENTITY Column ...


    I have a program that will insert xml data into a table using the SQLXML Bulk Load COM Object. The bulk load is successful when I supply...
  17. Using SQLXML, Bulk Insert XML with IDENTITY Column ...

    Using SQLXML, Bulk Insert XML with IDENTITY Column ...


    I have a program that will insert xml data into a table using the SQLXML Bulk Load COM Object. The bulk load is successful when I supply...
  18. Replies
    0
    Views
    542

    Implement SQLXML Bulk Load using C++

    Implement SQLXML Bulk Load using C++

    01 Dec 2005
    Saint Paul, Minnesota
    macgowan@pobox.com

    Hi ...

    I am trying to bulk load xml into sql server. This seems to be a relativly easy thing to...
  19. Replies
    0
    Views
    485

    Handling messages in threaded MFC Dlls

    Hi ...

    I have been trying to implement some message handling in MFC dlls for a couple days. I have read some good info on CodeGuru site. Many times there is the lack a full conclusion. My...
  20. Change environment variable in console process ...

    Hi ...

    I have read many articles that describe the process to update environment variables in another process. As I understand I should be able to change the either of the regsitry values below...
  21. Re: C# / .NET Equivalent to CWinApp / CFormView Application using Forms

    The following is the solution to the ListBox Issue
    Thanks Andy Tacker (CodeGuru)

    Note that we added a reference to the form in the Video Class (m_ParentForm1). Then when we create the Video...
  22. Writting to a ListBox control from another class

    Hi ...

    I have created a ListBox on a Form. I would like to write to the ListBox from other classes using a wrapper method in the Form Class.

    I have a public method in the Form1 Class called...
  23. Re: C# / .NET Equivalent to CWinApp / CFormView Application using Forms

    Hi ...

    Thanks for the feed back on the Configurations stuff. With regards to the ListBox in the Form1 Class. I have a public method in the Form1 Class called WriteStatusMessage(). This method...
  24. C# / .NET Equivalent to CWinApp / CFormView Application using Forms

    Hi ...

    Working on a new C# .NET Application ...

    I have written many applications using Visual C++ 6.0 MFC using CWinApp derived classes and CFormView. Typicalled I would load configuration...
  25. Replies
    2
    Views
    613

    ADO: Getting Milliseconds

    Hi ...

    I am trying to get Milliseconds from a SQL Database using ADO. The code below will return 0 for the wMilliseconds.

    Any comments / solutions.
    Thanks,
    Chris
Results 1 to 25 of 91
Page 1 of 4 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