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

Search:

Type: Posts; User: Technocrat

Page 1 of 6 1 2 3 4

Search: Search took 0.27 seconds.

  1. Replies
    14
    Views
    5,137

    Re: SQLFetch causes errors

    Ok I will look at it tomorrow. Thanks for your help. I will see if I can get this knocked out.
  2. Replies
    14
    Views
    5,137

    Re: SQLFetch causes errors

    Though I see that as being an issue now that I look at it, that function never gets called. :(
  3. Replies
    14
    Views
    5,137

    Re: SQLFetch causes errors

    Its an MFC SDI. That's created in the CntrItem.h


    // CntrItem.h : interface of the CHTEFuelConverterCntrItem class
    //

    #pragma once

    class CHTEFuelConverterDoc;
    class CHTEFuelConverterView;
  4. Replies
    14
    Views
    5,137

    Re: SQLFetch causes errors

    I was playing with it for another reason. I changed it back. Same result.
  5. Replies
    14
    Views
    5,137

    Re: SQLFetch causes errors

    I moved:

    SQL_CL CSQL;

    if(!CSQL.Prep()) {
    AfxMessageBox(_T("Could not connect to SQL"), MB_ICONERROR);
    return;
    }

    Into the sqlFM100() just to see. Same result.
  6. Replies
    14
    Views
    5,137

    Re: SQLFetch causes errors

    Wow Paul you are still here. You helped me out a ton a couple of years ago with some issues. :thumb:

    ODBC class:

    ODBC_CL::ODBC_CL()
    {
    g_sUserName = "";
    g_sPassword ...
  7. Replies
    14
    Views
    5,137

    SQLFetch causes errors

    I have a program that is fetching data using the odbc32.lib sql functions. However I am getting this error:
    Followed by it dropping out to:

    AFX_MAINTAIN_STATE2::~AFX_MAINTAIN_STATE2()
    {...
  8. Replies
    1
    Views
    6,133

    Re: Sequence not ordered

    Got it working by using std::sort first.
  9. Replies
    1
    Views
    6,133

    [RESOLVED] Sequence not ordered

    First I should state this program has been running for 3 years just fine and I am not sure what the reason is for it suddenly not working. I just got the new version of MSVC and installed the new...
  10. Replies
    2
    Views
    6,543

    Re: Ajax seems to kill IE

    Seems to not be the case as IE memory actually counts down over time, untouched.

    Updated code:

    var updateInterval = 1000;
    var users_content;
    var chat_text;
    var chat_content;
    var buttons;...
  11. Replies
    2
    Views
    6,543

    Ajax seems to kill IE

    I have a simple 2 way ajax chat system. Basically it's to allow someone to have 1 on 1 conversations with multiple people. It works fine in FF and Opera but for some reason in IE after a period of...
  12. Replies
    4
    Views
    950

    Re: Reading a CSV

    What I posted works 100% :thumb:
  13. Replies
    4
    Views
    950

    Re: Reading a CSV

    Found that boost has a solution. Here is the info incase anyone else runs into it. I am just giving the jist of it.


    #include <boost/tokenizer.hpp>
    ...
    while (getline(in,line,'\n')) { //Read...
  14. Replies
    4
    Views
    950

    Reading a CSV

    I have a CSV file that has a "data", "more data" format. I have found how to use getline to read it in. Which works fine, and I just remove the "s. The problem is that I have found that the lines...
  15. Thread: Where If

    by Technocrat
    Replies
    1
    Views
    828

    Where If

    I have 3 fields that I need to match in two tables in MSSQL. Here is the layout:

    Table 1:
    StreetNumber
    Street
    FullAddress
    Table 2:
    StreetNumber
    Street
    MailAddress (its...
  16. Replies
    1
    Views
    913

    Help with search

    I was wondering if there was an easy way to do this. I need to search a image tags in a bb post. The tags can be [ img] or < img> (since I dont want vB to try and do something with it I put a...
  17. Replies
    1
    Views
    461

    Re: SQL SELECT Question

    Got it by using a join left :thumb:
  18. Replies
    1
    Views
    461

    SQL SELECT Question

    I already have PHP do this but I am trying to trim the code down a bit. I am still pretty new to SQL.

    I have 2 tables one contains users ids and group ids, another contains group ids and group...
  19. Replies
    5
    Views
    959

    Ok I see what you are driving at. That isnt...

    Ok I see what you are driving at. That isnt going to work. I need to do this within my program, outside programs arent going to work. This has to do with a rather large amount of data that is a...
  20. Replies
    5
    Views
    959

    There are a lot more words to be replaced, that...

    There are a lot more words to be replaced, that was just a short example. The only thing that is dynamic is just the words to convert from and to. The string structure and length will change and...
  21. Replies
    5
    Views
    959

    std::map & std::string

    I have a string that I need to replace key text with other text inside the string.

    For example a I have a std::string with "There were 10 hours of work done over the past 18 weeks for the...
  22. Replies
    3
    Views
    655

    This is cornedbee's project, I just posted the...

    This is cornedbee's project, I just posted the question for him, if you cannot tell.
  23. Replies
    3
    Views
    655

    Custom iterators, creation

    The STL and Boost contain a few special standalone iterators. They don't iterator over containers, rather they perform a special function. Those containers are of input_iterator and output_iterator...
  24. Replies
    5
    Views
    1,480

    I was just think that it would be one less set to...

    I was just think that it would be one less set to do since I already have to check if their choice was in the map. But it appears that is not a vaild option.

    Thanks for the idea Yves but I...
  25. Replies
    5
    Views
    1,480

    Sorry I blew it, I am not thinking strait (long...

    Sorry I blew it, I am not thinking strait (long day) and this is the last problem on a long, LONG project. I think I am loosing my mind over this.

    Forget the example. Lets start over.

    I have...
Results 1 to 25 of 129
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured