Type: Posts; User: berkov
Search took 0.01 seconds.
December 17th, 2013, 12:21 AM
thanks a lot. I was just hoping that there's some trick for this but i guess SetWindowLongPtr is not so bad idea at the end.
December 15th, 2013, 11:10 AM
That is good idea, the only one prob here is that the moment i'd change that child's parent hwnd to some other visible hwnd is exactly the moment i would need the access to my "original" parent the...
December 15th, 2013, 04:09 AM
Does anyone know how to show a child dialog with a hidden parent (SW_HIDE)?
I've got window HWND parent .. and now:
HWND child= CreateDialog( GetModuleHandle( 0 ),...
June 21st, 2013, 01:26 PM
Hey ho.. got a bit closer...
I'm using JET (not ACE) and it seems that the highest version in JET is 4 (not 12), so my string should look like this:
June 20th, 2013, 06:58 AM
i am using IE8 - and i don't really think it might be anyhow connected.
June 20th, 2013, 05:38 AM
your link does not really seem to be my case.
yep, i've searched the internet and have not really found anything useful.
in most of the threats it says something like:
"Jet OLEDB is depricated...
June 20th, 2013, 12:51 AM
OK.. seems i have found it.
for win7 64 i need to also use msado60.tlb, so i commented my previous msado26.tlb and used msado60.tlb with msjro.dll instead, like this:
June 19th, 2013, 03:59 PM
I'm using ADO in my WINAPI project with Microsoft.ACE.OLEDB.12 (msado26.tlb) with no problem, but now I need to be able to compact the database from my application and i've learnt that to...
hi.. the whole thing with encoding is so messy! :-)
and i need to admit i don't really get it.
so first question, where do i take the chars from?
3 different sources:
- 1st part of the xml...
@Codeplug, ok but then apparently EXCEL wants that "BOM" at the beginning in order to interpret diacritics in the file correctly.
If i create a file using my program and there are some diacritics...
Nope, it's "Use Multi-Byte Character Set"
if i change it to UNICODE then all string (and i've got hundreds of them) are red underlined by compiler and the compiler won't let me build.
i am not...
I wanna create an XML file which will be in UNICODE format, otherwise EXCEL won't read the local diacritic chars (e.g "ń", "ś", "ć" etc). The chars are in the file after generation but due...
ok.. so everything works.
the Excel gets open and the cells get filled in .. and all by using OLE Auto.
btw you won't believe how slow this is!!!! and it seems OLE Auto does not have formatting...
@Victor, thanks a lot for your suggestion. it works!!!
@Igor, why didn't you come here earlier! :-)
xx = "a1";
Me too, i've only used _variant_t and _bstr_t with ADO, never the raw ones. guess i will have to come back to the documentation and read it once again with understanding this time :-)
ok .. so i tried this:
xx.vt=VT_BYREF | VT_I1;
xx.pcVal = "a1";
and no luck.
i tried then:
Ok. Let me come back home and check it out.
hmm.. the code is very long, it has a lot of pages as i've been writing it for 4 months now.
but i will try to copy the most important parts:
The project is "Use Multi-Byte Character Set".
i tried it with _T("a1") and still the same error.
Ah, you are right, didn't see it.
i tried it and now it seems the BSTR does not take the UNICODE:
IntelliSense: a value of type "const wchar_t *" cannot be assigned to an entity of type "CHAR *" ...
tried that but then the OLEMethod function breaks at Invoking:
hr = pDisp->Invoke(dispID, IID_NULL, LOCALE_SYSTEM_DEFAULT, nType, &dp, pvResult, NULL, NULL);
The code of OLEMethod:...
Ok.. I tried to run it with ATL and MFC libs, i installed 30days version of VC Prof 2012, and although COleVariant worked, there is a lot of dependencies when i started adding ATL libs. i cannot even...
it doesnt really help coz i simply donno how to do this.
i would like to use ATL and MFC libs in my VC Express 2012 version. i tried few links with using SDK but all refer to old version of SDK and...
guess i need some help of experts again.. wanna export listview to MS excel. i found a really nice article on this:...
I also tried this:
switch( LOWORD( wParam ) )
case IDC_inv_comment: if(HIWORD( wParam )==WM_LBUTTONDBLCLK) writetextfromdb(hwnd, IDC_inv_comment,...
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!