|
I think most of the beginner developers need a sample to know how to use "bands" of Microsft Hierarhical Flex Grid.
Can someone post some code with this?
thank you in advance
|
|
|
|
|
I'd like to see one or more articles about testing. Say you have written a class, perhaps a wrapper for a common control, or for some complicated COM interface. How do you test it -- thoroughly? and automatically?
XP is apparently very hot these days, and there you are pretty much supposed to test all the time. So how do you do it in practice?
M.H.
|
|
|
|
|
If you want to suppress automatic creation of a child window, you use :
cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;
But how do you then create and display a child window eg. view
|
|
|
|
|
I have seen the articles on replacing a view with a new view. What I would like to know is how does one replace a view with a splitter window but with one of the panes being the view that was replaced i.e how to incoporate an existing view into a splitter window and have in the other pane a new view.
|
|
|
|
|
Hi,
I try to modify the CColorDialog apparence, but all samples or articles I found are for the filedialog. if I adapt the instructions for the color dialog, it does'nt work.
Any ideas, link, article, source ?
Thanks in advance and excuse me for my bad english
Thierry
|
|
|
|
|
Does anyone know how to determine if an application is running on Windows NT Terminal Server. GetVersionEx() will give you this information under Windows 2000 but not under Windows NT 4.
|
|
|
|
|
I just searched Microsoft using "detect" and "terminal server" and found this article...
"Detecting If Terminal Services is Installed"
at
http://msdn.microsoft.com/library/psdk/termserv/termserv_7mp0.htm
There is a code sample to be used on Windows NT and Windows 9X
Also perhaps these others of interest:
Q198060 - Application Runs Slowly on Terminal Server
"Optimizing Applications for Microsoft Windows 2000 Terminal Services and Windows NT Server 4.0, Terminal Server Edition"
Q186572 - Terminal Server Walkthrough: Startup, Connection, and Application
|
|
|
|
|
I need to find the default installation directory for internet explorer, i know this information is written in registry, but i need this to be consistent across Windows Platform.
I need this information for a program or (script) which can download a file from the web site and place it in a specific location(Plugins directory of IE to be specific) on a client's machine.
I would be grateful if any guidance or solutions are provided.
|
|
|
|
|
Hello Kannan,
On most computers "C:\Program Files\Internet Explorer\" is where iexplore.exe is, thus the defualt directory. C:\Program Files\Internet Explorer\PLUGINS\ is for plugins but you should check out MSDN or someting for more info on writing plugins, and yes the dir's are in the registry, you should configure your install program to read thoose specific keys.
-Jeff
I can help you in other ways, if you need more keep posting on this board; maby I or the others can give you more help.
|
|
|
|
|
http://www.autodidact.co.il/
|
|
|
|
|
I'm apologize for being a stupid American, but I don't understand Hebrew...
Thanks for the recommendation though!
Yours,
Brian
|
|
|
|
|
Great work even if i didn't catch a word (except C++, Java and stuff)
|
|
|
|
|
Hello:
Does anyone have the CD from the book: INSIDE COM+ BASE SERVICES?
|
|
|
|
|
Hello,
I wanted some help regarding Netscape..
Does Netscape support child windows and if yes can u pls send the code if u
have and i also wanted to know if an ActiveX control can be loaded into it...
If an ActiveX control cannot be loaded what can be a suitable alternative to
it.
|
|
|
|
|
Hi ,
Whlie we have hot technology (the COM's, D-COM's etc etc) I am often need to simply take a MS-Excel spreadsheet and 'import' data to my application.
There are a few articles on this, but in each it seems either Very 'complicated' eg setup odbc, or has limitations like having to hard-code the number of columns or having to name a range.
What I really need is a class that .OpenXLS file and then you can .GetAt(Sheet,row,col) .SetAt(Sheet,row,col)
Regards
|
|
|
|
|
There's an article on working with excel com objects in the April 2000 edition of C/C++ Users Journal - looks like there are workbook and worksheet interfaces that would do what you need and more.
|
|
|
|
|
Hi -
How can I enumerate the internet explorer history items?
Windows explorer seems to manage...?
I enumerated all the objects in the shell namespace, but where the history should be, I get :
e0000077:[5] History
e0000077:[6] History.IE5
40400177:[7] index.dat
40400177:[7] desktop.ini
70400177:[7] MSHist012000052220000529
40400177:[8] index.dat
70400177:[7] MSHist012000052920000605
40400177:[8] index.dat
70400177:[7] MSHist012000060520000606
40400177:[8] index.dat
70400177:[7] MSHist012000060620000607
40400177:[8] index.dat
70400177:[7] MSHist012000060720000608
40400177:[8] index.dat
70400177:[7] MSHist012000060820000609
40400177:[8] index.dat
70400177:[7] MSHist012000060920000610
40400177:[8] index.dat
70400177:[7] MSHist012000061020000611
40400177:[8] index.dat
70400177:[7] MSHist012000061120000612
40400177:[8] index.dat
40400177:[6] desktop.ini
Cheers,
Charlie.
|
|
|
|
|
Look up FindFirstUrlCacheEntry() and the related functions. Here's some code for a console app that prints all history item to stdout. The history view you see in Explorer is generated by a namespace extension.
#define WIN32_LEAN_AND_MEAN
#include <afxwin.h>
#include <tchar.h>
#include <wininet.h>
#include <iostream>
using namespace std;
int main(int argc, char* argv[])
{
HANDLE hFind;
BYTE byBuffer[16384];
INTERNET_CACHE_ENTRY_INFO* pInfo = (INTERNET_CACHE_ENTRY_INFO*) &byBuffer[0];
DWORD dwSize = sizeof(byBuffer);
pInfo->dwStructSize = sizeof(INTERNET_CACHE_ENTRY_INFO);
hFind = FindFirstUrlCacheEntry ( _T("visited:"), pInfo, &dwSize );
if ( NULL != hFind )
{
do
{
cout << "lpstrSourceUrlName = " << pInfo->lpszSourceUrlName << endl
<< "Times visited = " << pInfo->dwHitRate << endl
<< "Last time visited = ";
CTime t ( pInfo->LastAccessTime );
cout << (LPCTSTR) t.Format( "%b %d, %Y at %H:%M:%S" ) << endl << endl;
dwSize = sizeof(byBuffer);
} while ( FindNextUrlCacheEntry ( hFind, pInfo, &dwSize ));
FindCloseUrlCache ( hFind );
}
return 0;
}
|
|
|
|
|
There is an artical on this site (OCX Snapshot) that shows you how to make an ActiceX
control capture it's image to a JPEG file, so it can be displayed in a Website.
This method could be improved by making the control write to a metafile and then convert
the metafile to SVG. SVG is an improvement over JPEG as it's smaller and scalable and an
internationally recognised format. I think there is already source code available on the Web
which converts a metafile to SVG.
|
|
|
|
|
Does anyone has a successfuly implemented MFC application using a design pattern uder then the doc-view model they can share?
I'm looking for design pattern implementations like MVC (model-view-controler) that have been used in real applications.
I known I can used Stingray's toolkit for that but I don't really like their solution much... and I don't want to depend on a 3rd party developer toolkit...
Thanks to anyone who can help!
|
|
|
|
|
It is well known that the common functions clrscr() and gotoxy() are not supported in Visual C++. But I presume that calling directly to DOS interruptions using in-line assembler would provide a convenient way of making this functions. Since I don't know Assembler programming, does anybody have these two function already made?
|
|
|
|
|
I think you'll bugcheck on 98 with an _asm int 21;
Here's some code that might help:
The clrscr can be had with
system("cls");
The more powerful way us to get a handle to the
console and use the console api calls.
The MS Knowledge base has a good article on
clearing the screen - Q99261 - first, you
need a handle though...
HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
CONSOLE_SCREEN_BUFFER_INFO csbi;
GetConsoleScreenBufferInfo(hConsole, &csbi);
COORD coord;
coord.X = 0;
coord.Y = 0;
SetConsoleCursorPosition(hConsole, coord);
That should move the cursor to the top of the screen without clearing it. See Q99261 for the clear screen.
|
|
|
|
|
I would like to find a tutorial that teaches how to convert those many CWnd-derived Control Classes found in this website into ActiveX controls.
|
|
|
|
|
Does anyone here have an idea of how to do access database synchronization using only code (CDaoDatabase?)
|
|
|
|
|
Is there a way to define a makro like this:
#define NEW_VAR CString str__Line__
The compiler should make
out of:
void CMyClass::Test()
{
NEW_VAR
NEW_VAR
}
something like :
void CMyClass::Test()
{
CString str123
CString str124
}
out of it.
I dont care about the Lines.
I just want to define a marko witch declares a Variable. And I want to use it more then 1 time in a function.
Thank you...
|
|
|
|