Oh well whatever the problem is I don't think we'll ever get to the bottom of it! Just put it down to 'one of those things!'!!!
**EDIT : can you point me towards one of those virtual drivers (I need a Vista version though). If I can get one of them to misbehave on my machine then I may be able to shed some light on it.
I may look like a mule, but I'm not a complete ass.
srod wrote:Oh well whatever the problem is I don't think we'll ever get to the bottom of it! Just put it down to 'one of those things!'!!!
Yes, I also think that this will be the best. Spending too much time with this probably isn't worth the effort.
srod wrote:**EDIT : can you point me towards one of those virtual drivers (I need a Vista version though). If I can get one of them to misbehave on my machine then I may be able to shed some light on it.
I've sent you a PM with the regarding information, so you can play with it ... erm ... I mean do some research.
ADO demo added. 8th Nov. 2008.
I have translated (and added to the COMate package) Kiffi's PureDispHelper example for creating and adding/retrieving records from/to an OLE DB source using ADO. Also included is Kiffi's 'ado constants' file which will be required.
This is the first time I have used ADO with PB and I have to say it is nice. I likes it!
I am going to create a simple wrapper around ADO to allow for easy access to the basic commands etc. Shouldn't take too long. The wrapper will of course use COMate.
See the nxSoftware site for the download.
I may look like a mule, but I'm not a complete ass.
Well you are at the mercy of Excel there. You can either use some method/property or other to set the format of the cell or use an apostrophe!!! Any cell entry beginning with an apostrophe is formatted as text by Excel.
Thanks, srod.
I've tried it and it runs.
With an apostrophe, Excel treats numbers like text. But it marks all cells with a little green triangle. (Excel 2003).
If you want to color the container then you'll have to subclass it because the ATL library will already have done that, meaning that PB's coloring commands are being bypassed. I am unsure what will happen if you subclass an ATL control?
I may look like a mule, but I'm not a complete ass.