newntui/activex/queriescombo/src/queriescomboctl.cpp
//------------------------------------------------------------------------------------------
// This method will return the access command from the category name. Will return empty
// string if no access command associated with the given name.
//------------------------------------------------------------------------------------------
This method will return the access command from the category name. Will return empty
string if no access command associated with the given name.
This method will return the access command from the category name . Will return empty string if no access command associated with the given name .
BSTR CQueriesComboCtrl::AccessFromName(LPCTSTR name)  {
CString serverCall;
CString serverResults;
    serverCall.Format("get_query_command \"%s\"",name);
	EvaluateSync(serverCall,&serverResults);
	return serverResults.AllocSysString();
}
BSTR CQueriesComboCtrl :: AccessFromName ( LPCTSTR name ) { CString serverCall ; CString serverResults ; serverCall . Format ( " \" \" " , name ) ; EvaluateSync ( serverCall , & serverResults ) ; return serverResults . AllocSysString ( ) ; }
This method will return the access command from the category name.
This method will return the access command from the category name .
// Queries the server for available categories for the spesified selection.