Type: Posts; User: Doctor Luz
Search took 0.07 seconds.
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...
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...
February 4th, 2013, 02:48 AM
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...
February 1st, 2013, 04:30 AM
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...
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. ...
June 16th, 2008, 05:11 AM
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?...
June 16th, 2008, 05:04 AM
April 10th, 2008, 03:55 AM
April 9th, 2008, 05:39 AM
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?
March 17th, 2008, 01:22 PM
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...
March 17th, 2008, 12:40 PM
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...
March 14th, 2008, 04:20 PM
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....
March 14th, 2008, 10:49 AM
Yes, still having problems.
The problem must be on the data itself.
March 14th, 2008, 08:03 AM
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.
March 14th, 2008, 04:41 AM
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' doesn't...
March 13th, 2008, 05:23 PM
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 126.96.36.199 returns TRUE. (collation working)
But when doing with...
March 13th, 2008, 05:01 PM
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...
March 13th, 2008, 04:04 PM
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?
March 13th, 2008, 02:28 PM
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...
December 17th, 2007, 05:15 AM
you mean low-life words? can you share those words with me? :D
December 13th, 2007, 04:35 AM
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().
December 12th, 2007, 02:41 AM
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...
December 12th, 2007, 02:32 AM
I think is a connection timeout matter since I already was connected and there is no query involved.
December 11th, 2007, 07:08 AM
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.
November 28th, 2007, 01:44 PM
sorry then let's change it to:
Click Here to Expand Forum to Full Width