At the top of the article click on download control binaries. This will pop up a dialog and ask for a path for where to save the .ocx file.
Now go to Start > Run type the path of the ocx and press ok. Now follow as my previous post
Somethings seem HARD to do, until we know how to do them. _AnShUmAn_
thanks very much. I could add it.
Will try working on it.
But a quick question....
i need to plot large number of points say,250,000 points in one attempt.
Will this control handle it? Or will it be slow after say 50,000 point or so...?
I'm working on adding the hot-switching of languages to my app, though I have ran into a few problems. I have created sattelite dlls for each of the translated resources. I create a language selection menu at run time with the help of this[^]article. I am able to update the menu and progress bar but unable to update the main dialog. The dialog is contained within the language dlls and contains many controls (with text). So, after calling LoadLibrary how do you update the main window? BTW this is a non-MFC app.
I have created my own Excel reader which opens and reads the compound files using the ISorage and IStream classes. Everything works perfectly, but I would like to make it a little more user friendly. Here is the code used to open the file:
MultiByteToWideChar(CP_ACP, 0, filename, strlen(filename)+1, wcFilename, 1024);
IStorage *pStorage = NULL;
IStream *pStream = NULL;
// Open the document as an OLE compound document.
hr = ::StgOpenStorage(wcFilename, NULL, STGM_READ|STGM_SHARE_EXCLUSIVE , NULL, 0, &pStorage);
When you try to open an excel file with MS Excel, and the file is already in use, it opens it as read only. I want to add the same functionality to my code, but so far I have been unable to. StgOpenStorage always returns with the 'File unavailable' (locked) error. Does anybody know of a method of doing this?
When you try to open an excel file with MS Excel, and the file is already in use, it opens it as re
Ehm, remove the STGM_SHARE_EXCLUSIVE flag. You're telling StgOpenStorage to open the file as read only, but you don't want to share it with anyone. Since the file is already open, you obviously can't be granted exclusive access to it.
I have tried a variation of just about all the flags, none of which work. The STG_E_SHAREVIOLATION is returned for each. After spending quite some time searching the web for an answer I have concluded that there isn't one. However, I am going to try copying the file to the temp directory and opening it from there. This app is a simple reader, the file would not be modified in any way at all.