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

Search:

Type: Posts; User: Doctor Luz

Page 1 of 80 1 2 3 4

Search: Search took 2.70 seconds.

  1. Replies
    3
    Views
    2,843

    Re: PIDL from path

    Thank you both for your help.

    Although ILCreateFromPath() is the simplest method I have the same problem, it is not supported.

    The link provided by VictorN has sample code, I tried it and is...
  2. Replies
    3
    Views
    2,843

    [RESOLVED] PIDL from path

    I am mantaining a legacy VC++ 6 project.

    When I use SHBrowseForFolder I can retrieve a PIDL of the selected folder and with this PIDL I can get the path with SHGetPathFromIDList.

    Now, given a...
  3. Replies
    4
    Views
    1,468

    Re: Text on screen and print preview

    Thank you for your answers.

    This is what I did. If I am printing I do nothing. If I am not printing I retrieve a (default) printer DC and then I attach its attrib DC to the attrib DC of the...
  4. Replies
    4
    Views
    1,468

    Text on screen and print preview

    Hi all, after so many years.

    I must take an old MFC project in VC++ 6.0 and make changes.

    The problem is text size in screen is different from size in print preview.

    for example with this...
  5. Re: Running a function *after* OnInitDialog() has completed

    The problem with that is the dialog won't be visible at that time.

    The standard method is that proposed by Cilu.

    You can also try a dirty trick doing it in OnPaint() with the aid of a flag. ...
  6. Replies
    1
    Views
    772

    About Excel automation

    Hi

    does excel automation deppends on the Excel version?

    In other words, If I create an application with excel automation and Access 2007. Will it work on a computer with Access 2003 installed?...
  7. Re: congratulations to Peejavery for 7000+ posts

    Enhorabuena.

    :wave:
  8. Replies
    2
    Views
    885

    Re: String to number conversion

    Thank you.
  9. Replies
    2
    Views
    885

    [RESOLVED] String to number conversion

    Hello

    Which is the conversion function to convert TCHAR based strings into floating point numbers? In other words, which is equivalent for atof?

    For atoi is _ttoi (or _wtoi)
    for atof is?
    ...
  10. Replies
    20
    Views
    4,306

    Re: MySQL Collation issue

    with LIKE?

    Yes but it is giving me results like "espantapájaros" I would like to obtain only full words...

    I would like to work with REGEXP brecuse the work is done, although maybe processing...
  11. Replies
    20
    Views
    4,306

    Re: MySQL Collation issue

    Queries for matching exact values are working now.

    Now I find another problem, REGEXP is not working as I expected.

    I have something like this:

    $sql="select * from aves where nombre REGEXP...
  12. Replies
    20
    Views
    4,306

    Re: MySQL Collation issue

    Regular expresions don't work.

    I've checked everything, collations, caracter sets...

    I've seen pájaro is stored in the DB as: 70 C3 A1 6A 61 72 6F which is 7 bytes long. This is the utf8 code....
  13. Replies
    20
    Views
    4,306

    Re: MySQL Collation issue

    Yes, still having problems.

    The problem must be on the data itself.
  14. Replies
    20
    Views
    4,306

    Re: MySQL Collation issue

    For me too, (saving them as utf-8 in my case)

    The problem is doing the same with 'pajaro' instead of 'pájaro' I don't obtain any result.
  15. Replies
    20
    Views
    4,306

    Re: MySQL Collation issue

    Tried you suggestion.

    The á character is seen on the form.

    The query for 'pájaro' is successful and gives the same result with both $_POST and hardcoded text.

    The query for 'pajaro'...
  16. Replies
    20
    Views
    4,306

    Re: MySQL Collation issue

    I have 5.0.54

    I attacha an image of the simplest query I've done: SELECT 'pajaro'='pájaro'

    Doing the query using phpMyAdmin 2.9.0.2 returns TRUE. (collation working)

    But when doing with...
  17. Replies
    20
    Views
    4,306

    Re: MySQL Collation issue

    do you mean that collation is only useful for sorting and not works for comparisons?

    If that's true the only solution I see is to duplicate the entries in DB since I must have the correct...
  18. Replies
    20
    Views
    4,306

    Re: MySQL Collation issue

    Thank you.

    I can not do that. I have to keep the words in database with its special characters.

    The problem is in spanish collation 'á' is equivalente to 'a' but MySQL is ignoring it. Why?
  19. Replies
    20
    Views
    4,306

    MySQL Collation issue

    I have a mysql database with one table 'data' and one field in that table 'news'. This field 'news' contains a record 'pájaro'

    The database collation is utf8_spanish_ci
    The field collation is...
  20. Replies
    12
    Views
    2,016

    Re: Naruto Addict

    you mean low-life words? can you share those words with me? :D
  21. Replies
    5
    Views
    4,048

    Re: CRecordSet Timeout

    The only way I have found to solve the problem is to dynamically create and destroy the CRecordSet object. Then If I found it is timeout I destroy and create it again before calling Open().

    This...
  22. Replies
    5
    Views
    4,048

    Re: CRecordSet Timeout

    I will try that way.



    I am sure the timeout happens because I have the recordset open without doing anything more time than the connection timeout of the server.

    I wonder why after closing...
  23. Replies
    5
    Views
    4,048

    Re: CRecordSet Timeout

    Thanky you.

    I think is a connection timeout matter since I already was connected and there is no query involved.
  24. Replies
    5
    Views
    4,048

    CRecordSet Timeout

    I connect to a remote database with CRecordSet derived class and ODBC. (MyODBC)

    The timeout of the remote DB is 5 minutes and I can not change it.

    Supposing the timeout time has passed.

    -...
  25. Replies
    1,213
    Views
    95,999

    Re: The Word Game....

    sorry then let's change it to:

    laud
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured