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

Search:

Type: Posts; User: JohnDavidHanna

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: [Microsoft][ODBC Excel Driver] External table is not in the expected format.

    Hello
    May I ask, at what part in the code do you receive this error?
    Is this in the operating sytem when you attach ODBC to your document?
    Is this in the code when achieving the OLE interface.
    Is...
  2. Replies
    1
    Views
    791

    Re: Last Used/Run Software

    Hello
    I imagine most of that information is kept in register data base.
    run Regedit.exe to view yours.
    Regards
  3. Replies
    6
    Views
    4,336

    Re: How to load Jpeg image in vc++?

    Hello
    Here is a clue; I did it once when I was trying to decipher a road on a camera picture.
    It is only a clue however because it was complicated and I don't have the code any longer.
    The Jpeg...
  4. Re: How to convert integer value to date/time format??

    Hello
    The left side of the date time floating point value is an integer that holds the date while the right side holds the time.
    So if you just set ( with a cast maybe ) the value to your integer...
  5. Replies
    4
    Views
    987

    Re: Floating point bias question

    Hello
    I think I know what you are asking.
    Floating point numbers are stored differently than integers.
    For instance, if you are using 32 bits the first bit is the sign
    2 thru 18 ( for instance...
  6. Replies
    5
    Views
    2,740

    Re: Why would CreateObject() fail

    Hello
    I know this is too old to help but for future reference:

    When I get a fail to create it is usually because I have deleted something
    from a dialog without deleting the associated variable ....
  7. Replies
    3
    Views
    2,148

    Re: Trigger to initiate a new application

    Hello
    If you are doing this in the program you can attach code to the Update that is used to Update the Db.
    If you are using a "DB Trigger" that would be in the Db specs as cilu said
    Regards
  8. Replies
    6
    Views
    1,000

    Re: Problem of Logging off

    Hello
    You can change the registry as the program developer with admin rights
    but a program user would not generally have those rights and along with
    program restart you are probably silently...
  9. Re: problem in displaying values in flexgrid control..

    Hello
    You might try a const * cast.
    Good Luck
    John
  10. Re: how to connect to Oracle databse through ODBC

    Hello
    I have found a lot of ODBC drivers offers free at various places under the name of WinSQL. I haven't used them but they appear professional.
    Any internet search will deliver them up, for...
  11. Replies
    3
    Views
    972

    Re: Help: about heap page

    Hello
    I dont get it, were you trying to run HeapCode.exe or generate an exception where the OS would use the program.?
    Regards
  12. Replies
    3
    Views
    1,154

    Re: EXTERN KEYWORD in C++

    Hello
    Try taking the int off the c file declaration and see if that works.
    Regards
  13. Replies
    3
    Views
    628

    Re: perl connect MySQL

    Hello

    Actually, I just ended up making a C++ console apps with afxdb.h and used my argv command line to import the arguments.
    They can be called easily with perl system and are already connected...
  14. Replies
    3
    Views
    628

    Re: perl connect MySQL

    Thanks
    Will try the ODBC although that seems to be an indirect but
    is certainly a helpful link!
    Regards
  15. Replies
    1
    Views
    2,200

    Re: HTTP Post with CInternetSession

    Hello
    Try this - go to Internet Explored and type www.codeguru.com
    Then File -> SaveAs and name your web page.
    Open the saved with NotePad and see what you have to deal with.
    Sometimes the data...
  16. Replies
    12
    Views
    1,742

    Re: How do you programmatically...

    Hello
    There is a WordPad sample? Wy not just adjust that?
    I would like to see it posted.
    WordPad does not have a com object to interface with that i know of but
    Word does.
    Once you master that...
  17. Replies
    2
    Views
    2,736

    Re: Convert DateTime into char array

    Hello
    This is easy too



    COleDateTime dt;
    dt = COleDateTime::GetCurrentTime ();
    CString s = dt.Format(VAR_DATEVALUEONLY);

    CString cMonth, cDay, cYear;
  18. Replies
    3
    Views
    628

    perl connect MySQL

    Hello
    I cant get my PHP to work on Apache MySQL on XP and have changed to perl CGI.
    Does anyone know the Db connect string since I dont have a book or DBI and DBI looks like a real pain.
    Regards
  19. Replies
    1
    Views
    560

    Re: FileMaker Pro problem

    Hello
    since CDML is no longer supported there are a lot of shareware and freeware programs for conversion to the format of your choice.
    That would seem to be a reasonable activity and shouldnt take...
  20. Replies
    2
    Views
    835

    Re: Archiving MS SQL DB

    Hello
    I dont know about standards
    but it is easy enough to assign a time stamp on each new entry
    and to write the where search clause to only include those current to the last year.
    You can use...
  21. Replies
    1
    Views
    817

    Re: MySQL and VB programming

    Hello
    Use the ClassWizard to assign variables thru ODBC to each Db.
    Then copy/paste the vars from the init, assign them to the other Db vars,
    and update. Loop thru the tables.
    Hope this helps...
  22. Replies
    7
    Views
    1,242

    Re: What type of database to use?

    Hello
    Although it takes a bit of work MySql is great, free, and worthy of donations.
    Regards
    www.mysql.org
  23. Replies
    5
    Views
    821

    Re: file output into file?

    Hello
    I dont get it, why dont you just open a file?
    search help for FILE * or the newer CFile class
    Regards
  24. Replies
    11
    Views
    1,647

    Re: MySQL Driver Connect

    Hello
    If you are using MySQL you might want to check that the tables are searchable
    To do this the MyISAM is acceptable
    Regards
  25. Replies
    20
    Views
    3,627

    Re: CDatabase problem

    Hello
    If you have the Db listed in the ODBC driver and can test it there successfully
    Then why dont you go thru the VC application and add a new class.
    Declare it as CRecordset and use Snapshot.
    ...
Results 1 to 25 of 233
Page 1 of 10 1 2 3 4





Click Here to Expand Forum to Full Width

Featured