|
> My problem is that for ".dsw" files (Visual C++ project files)
> this function fails (with "no association" error).
This is a shot in the dark, but do you get the same results when you use ShellExecute(...) instead? I have noticed differences in the behavior of these functions for certain operations.
Peace!
-=- James.
|
|
|
|
|
Hi,
does anyone know how one would go about to programatically save the contents of a Packager object (a 'package'), embedded in a RichEdit control (or any OLE client)? That is, the original file that is encapsulated in the Packager object (such as a ZIP file), not the compound document storage.
Should it not be possible, is there a replacement available, one that exposes an interface making this possible?
Cheers,
Carl Berg
|
|
|
|
|
to follow up i have discovered the following on win2k:
_stprintf(szValue,_T("%.2f"),fNumber);
doesn't do decimals in release mode but does in debug mode
if i change it to:
_stprintf(szValue,_T("%2.2f"),fNumber);
it works.
is this a newly introduced bug in the untime libs or is there some subtlety of sprintf i'm missing?
---
"every year we invent better idiot proof systems and every year they invent better idiots ... and the linux zealots still aren't being sterilized"
|
|
|
|
|
I'm working on a simple dialog-based app that include Windows Media Player ActiveX control. I have my own set of cursors and they are working fine everywhere except area where MP is. in this area I can't set my cursor. Could you please help me to solve this problem?
|
|
|
|
|
If they have set their own cursor then you cant do much about that, but they might have some property to change the cursor.
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
Hi,
My question might be a little bit stupid, but How do I manage to get the pointer to a window if I only have the window's handle ??
Thanks
|
|
|
|
|
|
Thank you!! (I've been more than 3 hours on it!)
Marc
|
|
|
|
|
Remember that the pointer returned might be temporary
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
Hi,
I am developing an AciveXControl for connecting differnt databses.
Pls tell me the possible ways to create such a Control.
SSN
|
|
|
|
|
What for?
Can't you use ADO?
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
Actually I want to create a control like ADO
|
|
|
|
|
If you mean you want to write a generic control that will allow users to connect to any database, then you'd need to get the native libraries for each of those DBs. I know that MySQL and Postgres have C APIs. I dont know about SQL server and Access. Oracle has a C/C++ library too. Then people can generically use your control and your control can use the library specific to the target DB.
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
Can u please tell me the Common API's ?
|
|
|
|
|
If I get the file path of the database(Access), is there any way to check whether any table is existing in that or not?
If yes then how is it possible to get the table name??
|
|
|
|
|
Yes, you can do all that using ADO. There are tutorials on this site and in MSDN. However, you seem to be contradicting yourself a bit, you should take a step back, consider what you're trying to achieve, and consider if you provide more specific information, we might be able to help you a bit more.
Christian
I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
What I understood was that he wanted to write his own version of ADO.
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
Me too, until he started asking how to open an Access file and check if it contains any tables.
And Lord *knows* between ODBC, DAO and ADO, we need something else.
Christian
I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
LOL
yeah, that's all we need now
Nish
Sonork ID 100.9786 voidmain
www.busterboy.org
If you don't find me on CP, I'll be at Bob's HungOut
|
|
|
|
|
Hi,
My Aim is to create an ActiveX Component which should work as MSRDC Component.Actually I don't know how to create it.So I am seeking the methods for developing such Component.Pls do help
SSN
|
|
|
|
|
1/ Please don't post under different names, and please don't post the same questions over and over. It just annoys people.
2/ So you want to *use* a M$ database accessing technology to create a control that accesses databases, you don't want to write your own version of ADO/DAO/OBDC ?
I did however mean exactly what do you want thins thing to do ? Do you have any prior experience using ATL ? Creating ActiveX controls ? Using ADO/DAO/OBDC ? I'm just trying to get an idea of what you're actually trying to achieve *specifically* and how much you already know about the process you're proposing.
Christian
I have come to clean zee pooollll. - Michael Martin Dec 30, 2001
Sonork ID 100.10002:MeanManOzI live in Bob's HungOut now
|
|
|
|
|
Hi,
My Aim is to create an ActiveX Component which should work as MSRDC Component.Actually I don't know how to create it.So I am seeking the methods for developing such Component.Pls do help
SSN
|
|
|
|
|
Hi,
If I know the database path is there any way to serche any table is there or not?
SSN
|
|
|
|
|
Assuming that u are using DAO, since u refer to flat files(path to Database!)
Use CDaoDatabase::GetTableDefCount and CDaoDatabase::GetTableDefInfo
And Compare the Table Name in the CDaoTableDef::m_strName returned.
|
|
|
|
|
Given the handle to a app instance or a window, how to obtain the path of the executable file? e.g "c:\winnt\notepad.exe".
Thank you,
Wally Wang
|
|
|
|