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

Search:

Type: Posts; User: jibe

Page 1 of 11 1 2 3 4

Search: Search took 0.17 seconds.

  1. Thread: DragAcceptFiles??

    by jibe
    Replies
    1
    Views
    1,247

    DragAcceptFiles??

    Hi does anybody know why this gives me an invalid CWnd pointer when I call DragAcceptFiles() ??

    CWnd* pWnd;
    pWnd = new CWnd;
    pWnd = theApp.GetMainWnd();

    pWnd->DragAcceptFiles(TRUE);
  2. Replies
    9
    Views
    877

    Re: DB Newbie Question

    thanks....i got it.....
    regards,
    jibe

    "Help comes in the form of a ray of light"
  3. Replies
    9
    Views
    877

    Re: DB Newbie Question

    try testing it with minimum 6 records as it seems to be when it reaches my 6th record on reading it throws an error!
    Very Bizzarre....
    Any comments would be appreciated,
    Jibe.

    "Help comes in...
  4. Thread: COleVariant

    by jibe
    Replies
    0
    Views
    492

    COleVariant

    Hi,
    Does anybody know if there are any restrictions on COleVariant?
    I am using it to retrieve values from a database. And when I reach the 6th record it crashes!
    reagrds,
    Jibe

    "Help comes in...
  5. Replies
    9
    Views
    877

    Re: DB Newbie Question

    okey dokey...


    #include "stdafx.h"
    #include "ListProject.h"
    #include "UserDAO.h"
    #include "User.h"


    CUserDAO::CUserDAO()
  6. Thread: DAO bug>>?

    by jibe
    Replies
    0
    Views
    444

    DAO bug>>?

    Hi,
    Just searching Guru for help...I have a DAO SDI App and when I add a new record to my ACCESS 2000 database everything is fine until I try and run the app again! I am displaying the data with a...
  7. Replies
    9
    Views
    877

    Re: DB Newbie Question

    Hi VGirish,
    Just searching Guru for help...I have a DAO SDI App and when I add a new record to my ACCESS 2000 database everything is fine until I try and run the app again! I am displaying the data...
  8. Thread: CString

    by jibe
    Replies
    3
    Views
    688

    Re: CString

    Thanks James...but is all this really necessary?
    regards,
    Jibe

    "Help comes in the form of a ray of light"
  9. Thread: CString

    by jibe
    Replies
    3
    Views
    688

    CString

    Hi,
    Any body know why when I am reading my database with CDaoRecordset and I reach the last record I am reading a string entry and it throws an error?

    void CString::AllocBeforeWrite(int...
  10. Thread: OnInitialUpdate()

    by jibe
    Replies
    1
    Views
    1,073

    OnInitialUpdate()

    Hi,
    Anybody know how I can force OnInitialUpdate(); from a dialog class?
    as I can't get a pointer to my View class and call it directly.
    Any suggestions would be appreciated.
    regards,
    Jibe
    ...
  11. Replies
    2
    Views
    754

    int - >ColeVariant?

    Hi,
    Anybody know how I can convert an integer type to a ColeVariant type so i can add the member value to a database?
    for eg:

    MyDaoRecordset.SetFieldValue("ID",m_nUserID);//need to convert!

    ...
  12. Thread: program?

    by jibe
    Replies
    0
    Views
    450

    program?

    Anybody know how I can programatically create a mailbox account?
    Any suggestions would be appreciated.
    regards,
    Jibe

    "Help comes in the form of a ray of light"
  13. Replies
    6
    Views
    782

    Re: Cdaodatabase newbie

    What version of ACCESS you using?
    And what version of DAO do you have on your computer?
    As there are bugs in DevStudio as regards DAO and versioning.
    Jibe

    "Help comes in the form of a ray of...
  14. Thread: CString

    by jibe
    Replies
    4
    Views
    657

    Re: CString

    got it sorted..thanks EMI
    it was due to initilisation of my CString...a simple solution.
    thanks alot for trying.
    regards,
    Jibe

    "Help comes in the form of a ray of light"
  15. Thread: CString

    by jibe
    Replies
    4
    Views
    657

    Re: CString

    Hi EMI,

    CString CUserDAO::ConvertVar(COleVariant Var)
    {

    COleDateTime VarDate;
    CString str;

    VarDate = Var;
    str = VarDate.Format("%A, %B %d, %Y");
  16. Thread: CString

    by jibe
    Replies
    4
    Views
    657

    CString

    Hi,
    Anybody know why this error happens?



    const CString& CString::operator=(const CString& stringSrc)//CString content = "Saturday, October 28, 2000"
    {
    if (m_pchData != stringSrc.m_pchData)...
  17. Thread: ???

    by jibe
    Replies
    5
    Views
    841

    Re: ???

    excellent!
    very good answer..
    Have a nice day!
    :)

    "Help comes in the form of a ray of light"
  18. Thread: ???

    by jibe
    Replies
    5
    Views
    841

    Re: ???

    hi EMI,
    thanks ..but how can i can get it into a format which I can display it?
    for eg in a message box?
    thanks for you help.
    Regards,
    Jibe

    "Help comes in the form of a ray of light"
  19. Thread: ColeVariant date?

    by jibe
    Replies
    6
    Views
    1,777

    Re: ColeVariant date?

    hi,

    ColeVariant var;
    var.date = //????
    AfxMessageBox(??);



    How can I display this value in the correct format?
  20. Thread: ???

    by jibe
    Replies
    5
    Views
    841

    ???

    COleVariant var;
    CDaoRecordset rs;
    long m_lLogTime;

    rs.GetFieldValue(5,Var);//date field in database
    m_lLogTime = Var.date;//doesn't work...any suggestions?



    thanks,
  21. Thread: ColeVariant date?

    by jibe
    Replies
    6
    Views
    1,777

    Re: ColeVariant date?

    hi, the thing is I have to use the COleVariant...
    thanks...

    "Help comes in the form of a ray of light"
  22. Thread: ColeVariant date?

    by jibe
    Replies
    6
    Views
    1,777

    ColeVariant date?

    Hi,
    Can Anybody how I can use the COleVariant.date member?
    for eg:


    COleVariant var;
    CString str;

    str = var.date;//???? any suggestions?
    TextOut(0,0,str);
  23. Replies
    15
    Views
    1,412

    Re: VC++ 6.0 DOESN'T ACCEPT ACCECC 2000 FILES

    hi,
    I have tested this..it does not work. You are still left with the same problem.
    regards,
    Jibe

    For all you "searchers" :)

    "Help comes in the form of a ray of light"
  24. Replies
    3
    Views
    851

    Re: Unrecognised Database format

    Hi Jim,
    cheers for the info but how do I do this if I am selecting this option before I create my app?
    regards,
    Jibe

    "Help comes in the form of a ray of light"
  25. Replies
    3
    Views
    851

    Unrecognised Database format

    Hi,
    Has anybody come across this problem?
    I am using Access 2000 with visual C++ 6.0 and when I try and select a data source for a DAO database I get "Unrecognised database format". The database is...
Results 1 to 25 of 275
Page 1 of 11 1 2 3 4





Click Here to Expand Forum to Full Width

Featured